You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am the creator of @carbon-extra/css. I have a question related to CSS optimization for @carbon-extra/css.
By default @carbon/styles will create 4 different classes for 4 different themes. Is it possible to include only 1 class/theme and get rid of the rest?
.cds--white for white
.cds--g10 for g10
.cds--g90 for g90
.cds--g100 for g100
I've tried this configuration but it still includes g10, g90, and g100 classes in the css output.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am the creator of @carbon-extra/css. I have a question related to CSS optimization for
@carbon-extra/css
.By default
@carbon/styles
will create 4 different classes for 4 different themes. Is it possible to include only 1 class/theme and get rid of the rest?.cds--white
for white.cds--g10
for g10.cds--g90
for g90.cds--g100
for g100I've tried this configuration but it still includes g10, g90, and g100 classes in the css output.
Beta Was this translation helpful? Give feedback.
All reactions