Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee68f8b

Browse files
committed
Move colors to shared variables
1 parent d74d50d commit ee68f8b

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

packages/runner-ct/src/SpecList/spec-file.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "../runner-ct-variables.scss";
2+
13
.spec-list__file {
24
list-style: none;
35
margin: 4px 0;
@@ -17,24 +19,22 @@
1719
height: 0;
1820
}
1921

20-
$radio-color: #4299e1;
21-
2222
.spec-list__radio-control {
2323
box-sizing: border-box;
2424
display: inline-block;
2525
margin-right: 8px;
2626
width: 10px;
2727
height: 10px;
2828
border-radius: 50%;
29-
border: 1px solid $radio-color;
29+
border: 1px solid $ct-accent-blue;
3030
}
3131

3232
.spec-list__radio-control--unselected {
33-
border: 1px solid $radio-color;
33+
border: 1px solid $ct-accent-blue;
3434
}
3535

3636
.spec-list__radio-control--selected {
37-
background: $radio-color;
37+
background: $ct-accent-blue;
3838
}
3939
}
4040

packages/runner-ct/src/app/app.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$cypress-blue: #3380FF;
2-
$cypress-gray: #f6f6f6;
1+
@import "../runner-ct-variables.scss";
2+
33
$specs-list-offset: 40px; // hoisted to sync with the app-container
44
$specs-list-padding: 20px;
55

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$cypress-blue: #3380FF;
2+
$cypress-gray: #f6f6f6;
3+
4+
$ct-accent-blue: #4299e1;

0 commit comments

Comments
 (0)