Replies: 2 comments 1 reply
-
|
As per the documentation:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I have read the docs. Material uses SCSS, Tailwnd uses CSS. I just wanted a way not to repeat each color inside @theme. Otherwise, thet work together. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
palettes.scss:
tailwind.css:
Sharing color palletes between
Material 3andTailwind 4is only possible like this: exporting colors as:rootvariables, then include each of the colors, one by one, inside@theme.Tailwind 4doesn't allow@eachinside@theme. How to perform some kind of loop, to define@themecolors?Beta Was this translation helpful? Give feedback.
All reactions