Skip to content

Commit 0d57f42

Browse files
committed
Move colors to _variables.scss; Fix SCSS syntax
1 parent 73a9a6c commit 0d57f42

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/css/pills.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/_variables.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ $color-light-400: #ECECF1;
2121

2222
$color-dark: #131C26;
2323
$color-dark-400: #71767C;
24+
25+
$color-headless: #C4234A;
26+
$color-experience: #D3822B;
27+
$color-commerce: #A32768;
28+
$color-lts-update: #5DA7C0;
29+
$color-new-feature: #2C9445;
30+
$color-first-release: #2C9445;
31+
32+
$color-new-doc: #3562A0;

scss/pills.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
@use 'variables';
22
@use 'sass:list';
33

4-
$color-headless: #C4234A;
5-
$color-experience: #D3822B;
6-
$color-commerce: #A32768;
7-
$color-lts-update: #5DA7C0;
8-
$color-new-feature: #2C9445;
9-
$color-first-release: #2C9445;
10-
11-
$color-new-doc: #3562A0
12-
134
.pill {
145
font-size: 12px;
156
font-weight: initial;
@@ -51,7 +42,7 @@ $color-new-doc: #3562A0
5142
&--new {
5243
margin-right: 15px;
5344
align-self: center;
54-
color: $color-new-doc;
45+
color: variables.$color-new-doc;
5546
text-transform: lowercase;
5647
}
5748
}

0 commit comments

Comments
 (0)