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
I'm trying to change the default text color, which I can see is set in the $material color map at text.primary (e.g., map-deep-get($material, 'text', 'primary'). Is there a good way to override values within that map? I'm on Vuetify v2.
Some of my challenge will likely come from the slightly non-standard way my particular code base was set up for Vuetify, but I can't tell if there's even a good way to do this in a standard setup. Maybe Material is too much of a cornerstone for Vuetify. I'm also open to other ways to reset the default text color for a theme across components.
I did see solutions like this one, though they still involve adding CSS rules for each use case of the text color rather than overriding the root variable. That's always a backup strategy if there's another way.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to change the default text color, which I can see is set in the
$material
color map attext.primary
(e.g.,map-deep-get($material, 'text', 'primary')
. Is there a good way to override values within that map? I'm on Vuetify v2.Some of my challenge will likely come from the slightly non-standard way my particular code base was set up for Vuetify, but I can't tell if there's even a good way to do this in a standard setup. Maybe Material is too much of a cornerstone for Vuetify. I'm also open to other ways to reset the default text color for a theme across components.
I did see solutions like this one, though they still involve adding CSS rules for each use case of the text color rather than overriding the root variable. That's always a backup strategy if there's another way.
Beta Was this translation helpful? Give feedback.
All reactions