mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Added new color-expand-collapse-toggle CSS var
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
align-items: center;
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
|
||||
--color-expand-collapse-toggle: var(--color-dim);
|
||||
}
|
||||
.Element:hover {
|
||||
background-color: var(--color-hover-background);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
.Item {
|
||||
display: flex;
|
||||
--color-expand-collapse-toggle: var(--color-dim);
|
||||
}
|
||||
|
||||
.Name {
|
||||
|
||||
@@ -222,6 +222,7 @@ function updateThemeVariables(
|
||||
updateStyleHelper(theme, 'color-dim', documentElements);
|
||||
updateStyleHelper(theme, 'color-dimmer', documentElements);
|
||||
updateStyleHelper(theme, 'color-dimmest', documentElements);
|
||||
updateStyleHelper(theme, 'color-expand-collapse-toggle', documentElements);
|
||||
updateStyleHelper(theme, 'color-hover-background', documentElements);
|
||||
updateStyleHelper(theme, 'color-inactive-background', documentElements);
|
||||
updateStyleHelper(theme, 'color-jsx-arrow-brackets', documentElements);
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
--light-color-dim: #777d88;
|
||||
--light-color-dimmer: #cfd1d5;
|
||||
--light-color-dimmest: #eff0f1;
|
||||
--light-color-expand-collapse-toggle: #777d88;
|
||||
--light-color-hover-background: #ebf1fb;
|
||||
--light-color-inactive-background: #f1f1f1;
|
||||
--light-color-jsx-arrow-brackets: #333333;
|
||||
@@ -78,6 +79,7 @@
|
||||
--dark-color-dim: #8f949d;
|
||||
--dark-color-dimmer: #777d88;
|
||||
--dark-color-dimmest: #4f5766;
|
||||
--dark-color-expand-collapse-toggle: #8f949d;
|
||||
--dark-color-hover-background: #3d424a;
|
||||
--dark-color-inactive-background: #3d424a;
|
||||
--dark-color-jsx-arrow-brackets: #777d88;
|
||||
|
||||
Reference in New Issue
Block a user