How to Link my color palette #16090
Unanswered
tahaListens
asked this question in
Help
Replies: 1 comment
-
You could change your variables to have the ---text-1: var(--color-fire-900);
---text-2: var(--color-fire-800);
---link: var(--color-blue-500);
---surface-1: var(--color-fire-200);
---surface-2: var(--color-fire-300);
---surface-3: var(--color-fire-400);
---surface-btn-link: var(--color-fire-400);
+--color-text-1: var(--color-fire-900);
+--color-text-2: var(--color-fire-800);
+--color-link: var(--color-blue-500);
+--color-surface-1: var(--color-fire-200);
+--color-surface-2: var(--color-fire-300);
+--color-surface-3: var(--color-fire-400);
+--color-surface-btn-link: var(--color-fire-400);
}
:root{
- background-color: var(--surface-1);
+ background-color: var(--color-surface-1); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#I'm learning, thanks for your patience,
I am beginning to design a format for themes that I can easily just copy and paste and just change certain values (colors, box model values).
So here is my color palette.
I want to be able to use something like
bg-surface-btn-link
in a class name later on.in
className
would it have to bevar(--surface-button-link)
?Beta Was this translation helpful? Give feedback.
All reactions