mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Renamed CSS var color-text-color to color-text
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-family-sans);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
.EditableName:after,
|
||||
.Name:after {
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
content: ': ';
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
}
|
||||
.Name:after {
|
||||
content: ': ';
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
.EditableName:after,
|
||||
.Name:after {
|
||||
content: ': ';
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
outline: none;
|
||||
border: none;
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
padding-left: 1.5rem;
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.TabBar {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
font-family: var(--font-family-sans);
|
||||
font-size: var(--font-size-sans-normal);
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.LeftColumn {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
font-family: var(--font-family-sans);
|
||||
font-size: var(--font-size-sans-normal);
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.Section {
|
||||
|
||||
@@ -246,7 +246,7 @@ function updateThemeVariables(
|
||||
updateStyleHelper(theme, 'color-selected-foreground', documentElements);
|
||||
updateStyleHelper(theme, 'color-search-match', documentElements);
|
||||
updateStyleHelper(theme, 'color-search-match-current', documentElements);
|
||||
updateStyleHelper(theme, 'color-text-color', documentElements);
|
||||
updateStyleHelper(theme, 'color-text', documentElements);
|
||||
updateStyleHelper(theme, 'color-tooltip-background', documentElements);
|
||||
updateStyleHelper(theme, 'color-tooltip-text', documentElements);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
border-bottom: 3px solid transparent;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
color: var(--color-text-color);
|
||||
color: var(--color-text);
|
||||
}
|
||||
.Tab:hover,
|
||||
.TabCurrent:hover {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
--light-color-selected-background: #0088fa;
|
||||
--light-color-selected-border: #0088fa;
|
||||
--light-color-selected-foreground: #ffffff;
|
||||
--light-color-text-color: #000000;
|
||||
--light-color-text: #000000;
|
||||
--light-color-tooltip-background: rgba(0, 0, 0, 0.9);
|
||||
--light-color-tooltip-text: #ffffff;
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
--dark-color-selected-background: #178fb9;
|
||||
--dark-color-selected-border: #178fb9;
|
||||
--dark-color-selected-foreground: #ffffff;
|
||||
--dark-color-text-color: #ffffff;
|
||||
--dark-color-text: #ffffff;
|
||||
--dark-color-tooltip-background: rgba(255, 255, 255, 0.9);
|
||||
--dark-color-tooltip-text: #000000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user