Skip to content

Commit 90a4d9e

Browse files
chore: update colors vars (#734)
1 parent dc0df8a commit 90a4d9e

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

src/components/EntityStatus/EntityStatus.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
margin-left: 8px;
1616

17-
color: var(--yc-color-text-secondary);
17+
color: var(--g-color-text-secondary);
1818

1919
&_visible {
2020
visibility: visible;

src/components/LagImages/LagImages.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ArrowLine = ({width}: ArrowLineProps) => (
3232
);
3333

3434
const WriteLag = () => (
35-
<g fill="var(--yc-color-text-primary)" fontSize="12">
35+
<g fill="var(--g-color-text-primary)" fontSize="12">
3636
<g transform={`translate(0, ${HEIGHT / 2})`} stroke={WRITE_FILL}>
3737
<ArrowLine width={STICK_SPACE * 2.9} />
3838
</g>
@@ -85,7 +85,7 @@ const WriteLag = () => (
8585
);
8686

8787
const ReadLag = () => (
88-
<g fill="var(--yc-color-text-primary)" fontSize="12">
88+
<g fill="var(--g-color-text-primary)" fontSize="12">
8989
<g transform={`translate(0, ${HEIGHT / 2})`} stroke={READ_FILL}>
9090
<ArrowLine width={WIDTH} />
9191
</g>

src/components/TabletsOverall/TabletsOverall.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ import './TabletsOverall.scss';
1212
const minOverallPercentValue = 3;
1313

1414
const colors = {
15-
grey: 'var(--yc-color-base-misc-heavy)',
16-
green: 'var(--yc-color-base-positive-heavy)',
17-
yellow: ' var(--yc-color-base-warning-heavy)',
18-
orange: 'var( --yc-color-base-warning-orange)',
19-
red: 'var(--yc-color-base-danger-heavy)',
20-
blue: 'var(--yc-color-base-info-heavy)',
15+
grey: 'var(--ydb-color-status-grey)',
16+
green: 'var(--ydb-color-status-green)',
17+
yellow: ' var(--ydb-color-status-yellow)',
18+
orange: 'var(--ydb-color-status-orange)',
19+
red: 'var(--ydb-color-status-red)',
20+
blue: 'var(--ydb-color-status-blue)',
2121
};
2222

2323
const b = cn('kv-tablets-overall');

src/containers/AppIcons/AppIcons.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/containers/Versions/NodesTreeTitle/NodesTreeTitle.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@
6565

6666
margin-left: 8px;
6767

68-
color: var(--yc-color-text-secondary);
68+
color: var(--g-color-text-secondary);
6969
}
7070
}

src/utils/versions/getVersionsColors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const COLORS = [
2525
'#b22222', // firebrick
2626
];
2727

28-
export const GRAY_COLOR = '#bfbfbf'; // --yc-color-base-neutral-hover
28+
export const GRAY_COLOR = '#bfbfbf';
2929

3030
export const getVersionsMap = (versions: string[], initialMap: VersionsMap = new Map()) => {
3131
versions.forEach((version) => {

0 commit comments

Comments
 (0)