mirror of
https://github.com/danog/sass-site.git
synced 2024-12-14 02:17:36 +01:00
23 lines
447 B
Plaintext
23 lines
447 B
Plaintext
|
---
|
||
|
title: Color & Theming
|
||
|
---
|
||
|
|
||
|
%h2 Brand Colors
|
||
|
%ul.swatches
|
||
|
- for swatch in data.color.colors
|
||
|
%li{class: "swatch-" + swatch.name}
|
||
|
%pre
|
||
|
%code
|
||
|
= "$" + swatch.name
|
||
|
%br/
|
||
|
= "#" + swatch.hex
|
||
|
|
||
|
%h2 Usage
|
||
|
- for swatch in data.color.semantic_colors
|
||
|
%dl.guide-description-list.swatches
|
||
|
%dt
|
||
|
%code= "$color-" + swatch.name
|
||
|
|
||
|
%dd{class: "swatch-color-" + swatch.name}
|
||
|
%code= swatch.value
|