Hello all,
How can I get the name of the fill color used in the selected bootstrap theme?
Thanks,
Tim
Hello all,
How can I get the name of the fill color used in the selected bootstrap theme?
Thanks,
Tim
This is a major part of why I recommend using <raw><svg ... /></raw> ![]()
When it’s used in a WebLabel, a WebButton caption, or similar component, it automatically adopts the native text color – including dark mode support.
ColorGroup.NamedColor can return the Bootstrap values since 2024r3
(and it supports custom Bootstrap themes)
Var c As ColorGroup = ColorGroup.NamedColor("primary")
The companion blog post:
But where do I find the list of named colors? That is what is really missing I think.
Hi Tim,
Couldn’t get that to work. I’ll send a PM.
Tim
They’re from Bootstrap: Color and background · Bootstrap v5.3