We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You can have any custom element support luccaUI color scheme by using the .lui_supports_coloring mixin.
.lui_supports_coloring
The mixin takes a ruleset as parameter. Inside the given ruleset, you can use 3 variables:
@coloring-color
@coloring-text
@coloring-lightOnDark
Example:
.my-element { .lui_supports_coloring({ background-color: @coloring-color; color: @coloring-text; & when (@coloring-lightOnDark = true) { text-shadow: 0 1px 1px darken(@coloring-color, 10); } }); }
<div class="lui red my-element"></div>
Home
Get started with Lucca UI 2.0
Fundamentals
Elements
Utilities
Contribute