Can I register my own color? #8949
-
|
I would like to color tags with random colors. To this, I have a To do this, I have a function called when a new tag is used: The comments show the progression (generate the color name, generate a random color, assign the color to the code, update the map So it looks like my mapping ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You can only set the |
Beta Was this translation helpful? Give feedback.
You can only set the
brandcolors which are associated with css vars. These are the ones and must be used as first parameter tosetBrandfunction: One of primary, secondary, accent, dark, positive, negative, info, and warninghttps://quasar.dev/style/color-palette#helper-setbrand