diff --git a/docs/pages/colors.vue b/docs/pages/colors.vue index 312829331..5844c89c2 100644 --- a/docs/pages/colors.vue +++ b/docs/pages/colors.vue @@ -92,7 +92,32 @@
palette
refers to $themePalette
You can apply darken utilities $darken1
, $darken2
, and $darken3
to palette colors and tokens to achieve their darker shades. They are available on every Vue component.
base
+ $darken1
+ $darken2
+ $darken3
+ These utilities shouldn't be overused. Always check if there is a shade in the palette available that can be used instead.
@@ -323,4 +348,17 @@ width: 350px; } + .darken-block { + display: inline-flex; + align-items: center; + justify-content: center; + width: 140px; + height: 140px; + + code { + padding: 4px; + background-color: rgba(255, 255, 255, 0.8); + } + } +