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 3
andTailwind 4
is only possible like this: exporting colors as:root
variables, then include each of the colors, one by one, inside@theme
.Tailwind 4
doesn't allow@each
inside@theme
. How to perform some kind of loop, to define@theme
colors?Beta Was this translation helpful? Give feedback.
All reactions