How to render the filled version of material symbols? #17136
Replies: 4 comments 1 reply
-
|
I too am facing this issue, there seems to be no way to fill icons using q-icon or button. I have to revert to material-icon instead of material-symbol-icon. |
Beta Was this translation helpful? Give feedback.
-
|
https://quasar.dev/vue-components/icon#webfont-usage do not use the outlined version, should be pretty straightforward. |
Beta Was this translation helpful? Give feedback.
-
|
Found out the icons now support fill via css feature settings; |
Beta Was this translation helpful? Give feedback.
-
.q-icon {
font-variation-settings:
'FILL' 1, // 0 = off; 1 = on
'wght' 400,
'GRAD' 0,
'opsz' 20;
}Suggestion: use css custom props or sass variables for a clean control ✨ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for the best (quasar) way of rendering the filled version of a material symbol for a QIcon component.
instead of
Seemingly, the quasar.config file doesn't support it, nor do any props/styles I give QIcon achieve it.
Any ideas are appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions