Open tyxla opened 6 years ago
Noting that we don't have these variables in Calypso currently available since we're importing built CSS from Gutenberg:
and Calypso is moving to CSS variables: https://github.com/Automattic/wp-calypso/issues/28748
Where does Gutenberg define the variables? I see lots of usage across the imported styles, but no definition.
In the Markdown block (~and probably in other blocks already~ and many more), we hardcode colors, fonts and other styles that could originally are defined in Gutenberg.
Let's find a good way to manage them - also see some suggestions in https://github.com/Automattic/wp-calypso/pull/27450#discussion_r220529958
Example:
https://github.com/Automattic/wp-calypso/blob/8ad80271e0e97f627d1fafb99c74dc28ef823143/client/gutenberg/extensions/markdown/editor.scss#L1-L8