Skip to content
Snippets Groups Projects
Commit bad31a49 authored by Alexander Varwijk's avatar Alexander Varwijk
Browse files

Issue #3192988 by Kingdutch: Expose primary platform color as CSS variable token

parent b14382fc
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,10 @@
* EXPERIMENTAL: The tokens in this file are experimental and subject to change
* they should not be relied upon by third-party code.
*/
.react-scope {
--color-primary: #29abe2;
}
.button-background-primary {
background-color: #29abe2;
}
......
......@@ -10,6 +10,10 @@
*/
@import 'settings';
.react-scope {
--color-primary: #{$brand-primary};
}
.button-background-primary {
background-color: $brand-primary;
}
......
# Token based styles for our modern UI.
tokens:
css:
theme:
assets/css/tokens.css: {}
# The SMACSS category "base" is loaded first.
base:
css:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment