Skip to content

Commit 1f2f84e

Browse files
authored
Merge pull request #56 from GetStream/remove-duplicate-variables
refactor: Remove duplicate css variables
2 parents bd10548 + de9a34b commit 1f2f84e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/styles/_variables.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $border-color: #00000014;
1818

1919
$black: #000000;
2020
$white: #ffffff;
21-
$grey: #f0f0f0;
21+
$grey: #7a7a7a;
2222
$darken-grey: #343434;
2323
$lighten-black: #808080;
2424
$lighten-grey: #858585;
@@ -64,7 +64,7 @@ $border-radius: 16px;
6464
--lighten-grey: #{$lighten-grey};
6565

6666
--light-grey: #ebebeb;
67-
--grey: #{$lighten-black};
67+
--grey: #{$grey};
6868
--dark-grey: #{$darken-grey};
6969

7070
--green: #28ca42;
@@ -136,12 +136,10 @@ $border-radius: 16px;
136136

137137
--bg-gradient-end: #f7f7f7;
138138
--bg-gradient-start: #fcfcfc;
139-
--black: #000000;
140139
--blue-alice: #e9f2ff;
141140
--border: #00000014; // 14 = 8% opacity; top: x=0, y=-1; bottom: x=0, y=1
142141
--button-background: #ffffff;
143142
--button-text: #005fff;
144-
--grey: #7a7a7a;
145143
--grey-gainsboro: #dbdbdb;
146144
--grey-whisper: #ecebeb;
147145
--highlight: #fbf4dd;
@@ -151,7 +149,6 @@ $border-radius: 16px;
151149
--shadow-icon: #00000040; // 40 = 25% opacity; x=0, y=0, radius=4
152150
--targetedMessageBackground: #fbf4dd; // dark mode = #302D22
153151
--transparent: transparent;
154-
--white: #ffffff;
155152
--white-smoke: #f2f2f2;
156153
--white-snow: #fcfcfc;
157154

0 commit comments

Comments
 (0)