mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: Add header colors to styleguide (#11421)
This commit is contained in:
parent
dd9ec827e5
commit
28feb7c2ff
@ -68,3 +68,19 @@
|
||||
{{color-example color="love"}}
|
||||
</section>
|
||||
{{/styleguide-example}}
|
||||
|
||||
{{#styleguide-example title="$header"}}
|
||||
<section class="color-row">
|
||||
{{color-example color="header_background"}}
|
||||
</section>
|
||||
<section class="color-row">
|
||||
{{color-example color="header_primary"}}
|
||||
{{color-example color="header_primary-very-high"}}
|
||||
{{color-example color="header_primary-high"}}
|
||||
</section>
|
||||
<section class="color-row">
|
||||
{{color-example color="header_primary-medium"}}
|
||||
{{color-example color="header_primary-low-mid"}}
|
||||
{{color-example color="header_primary-low"}}
|
||||
</section>
|
||||
{{/styleguide-example}}
|
||||
|
@ -86,4 +86,35 @@
|
||||
.love {
|
||||
background-color: var(--love, $love);
|
||||
}
|
||||
|
||||
.header_primary {
|
||||
background-color: var(--header_primary, $header_primary);
|
||||
}
|
||||
|
||||
.header_background {
|
||||
background-color: var(--header_background, $header_background);
|
||||
}
|
||||
|
||||
.header_primary-low {
|
||||
background-color: var(--header_primary-low, $header_primary-low);
|
||||
}
|
||||
|
||||
.header_primary-low-mid {
|
||||
background-color: var(--header_primary-low-mid, $header_primary-low-mid);
|
||||
}
|
||||
|
||||
.header_primary-medium {
|
||||
background-color: var(--header_primary-medium, $header_primary-medium);
|
||||
}
|
||||
|
||||
.header_primary-high {
|
||||
background-color: var(--header_primary-high, $header_primary-high);
|
||||
}
|
||||
|
||||
.header_primary-very-high {
|
||||
background-color: var(
|
||||
--header_primary-very-high,
|
||||
$header_primary-very-high
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user