Adds themed table-row-stripe colour to be used globally
This commit is contained in:
parent
f54f41e604
commit
e210d8ce06
4 changed files with 8 additions and 3 deletions
|
@ -62,6 +62,7 @@ $themes: (
|
|||
keyboard-shortcut-color: #757575,
|
||||
nav-hover-color: $p5js-pink,
|
||||
error-color: $p5js-pink,
|
||||
table-row-stripe-color: #d6d6d6,
|
||||
codefold-icon-open: url(../images/down-arrow.svg),
|
||||
codefold-icon-closed: url(../images/right-arrow.svg)
|
||||
),
|
||||
|
@ -111,6 +112,7 @@ $themes: (
|
|||
keyboard-shortcut-color: #B5B5B5,
|
||||
nav-hover-color: $p5js-pink,
|
||||
error-color: $p5js-pink,
|
||||
table-row-stripe-color: #3f3f3f,
|
||||
codefold-icon-open: url(../images/down-arrow-white.svg),
|
||||
codefold-icon-closed: url(../images/right-arrow-white.svg)
|
||||
),
|
||||
|
@ -159,6 +161,7 @@ $themes: (
|
|||
keyboard-shortcut-color: #e1e1e1,
|
||||
nav-hover-color: $yellow,
|
||||
error-color: $p5-contrast-pink,
|
||||
table-row-stripe-color: #3f3f3f,
|
||||
codefold-icon-open: url(../images/down-arrow-white.svg),
|
||||
codefold-icon-closed: url(../images/right-arrow-white.svg)
|
||||
)
|
||||
|
|
|
@ -50,7 +50,9 @@
|
|||
}
|
||||
|
||||
tbody tr:nth-child(odd) {
|
||||
background-color: #f2f2f2;
|
||||
@include themify() {
|
||||
background: getThemifyVariable('table-row-stripe-color');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
&:nth-child(odd) {
|
||||
@include themify() {
|
||||
background: getThemifyVariable('console-header-background-color');
|
||||
background: getThemifyVariable('table-row-stripe-color');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
.sketches-table__row:nth-child(odd) {
|
||||
@include themify() {
|
||||
background: getThemifyVariable('console-header-background-color');
|
||||
background: getThemifyVariable('table-row-stripe-color');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue