Skip to content

Commit e03a416

Browse files
committed
refactor: create variable name for colours
1 parent 9009523 commit e03a416

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/Tabs/Tabs.module.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
$theme-grey: #d4d4d5;
2+
$theme-dark-grey: #a1a5b7;
3+
$theme-pink: #e30062;
24

35
.tabButton {
46
background: white;
@@ -17,7 +19,7 @@ $theme-grey: #d4d4d5;
1719
font-size: 0.8em;
1820
border: none;
1921
cursor: pointer;
20-
color: #a1a5b7;
22+
color: $theme-dark-grey;
2123
}
2224

2325
.active {
@@ -31,6 +33,6 @@ $theme-grey: #d4d4d5;
3133
font-weight: bold;
3234
background: white;
3335
border: none;
34-
border-bottom: 3px solid #e30062;
36+
border-bottom: 3px solid $theme-pink;
3537
color: black;
3638
}

0 commit comments

Comments
 (0)