Design System implementation for WordPress Gutenberg.
- fondamentaux: Typography, colors, etc. https://www.figma.com/community/file/1042832497184172837
- composants: blocks https://www.figma.com/community/file/1042832984468443942/dsfr-composants-v1-11-0
- Modèles: patterns https://www.figma.com/community/file/1167739163854568066
- add spacing var in theme.json
- add font-size to theme.json
- concatene js and css generic files
- try loading css to sync patterns, see https://github.com/KevinBatdorf/pattern-css
- functions name -> improve consistency
define( ‘FORCE_SSL_ADMIN’, true );
define( 'DISALLOW_FILE_EDIT', true );
——————————
define( 'WP_ENVIRONMENT_TYPE', 'local|development|staging|production' );
——————————
define( 'UPLOADS', 'media' );
define( 'WP_CONTENT_DIR', '/path/to/wordpress/dir/content' );
define( 'WP_CONTENT_URL', 'http://example.com/content' );
define( 'WP_PLUGIN_DIR', '/path/to/wordpress/dir/content/mod' );
define( 'WP_PLUGIN_URL', 'http://example.com/content/mod' );
——————————
define( 'USER_COOKIE', 'my_user_cookie' );
define( 'PASS_COOKIE', 'my_pass_cookie' );
define( 'AUTH_COOKIE', 'my_auth_cookie' );
define( 'SECURE_AUTH_COOKIE', 'my_sec_cookie' );
define( 'LOGGED_IN_COOKIE', 'my_logged_cookie' );
define( 'TEST_COOKIE', 'my_test_cookie' );