Skip to content

Commit 1e74156

Browse files
NikGurevrmnturov
andauthored
feat(visual): cleanup old tokens (#DS-3071) (koobiq#428)
Co-authored-by: Roman Turov <[email protected]>
1 parent ac8e753 commit 1e74156

File tree

91 files changed

+4572
-1821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4572
-1821
lines changed

apps/docs/src/app/components/anchors/_anchors-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@use '../dist/components/core/styles/common';
44

55
@mixin kbq-docs-anchors-theme() {
6-
$shadow: var(--kbq-foreground-text-less-contrast);
6+
$shadow: var(--kbq-foreground-contrast-secondary);
77

88
.docs-anchors {
99
background-color: var(--kbq-background-bg);

apps/docs/src/app/components/docs-example-source/_docs-example-source-theme.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
@mixin kbq-docs-example-source-theme() {
55
.docs-example-source__code {
6-
background: var(--kbq-background-background-less-contrast);
6+
background: var(--kbq-background-bg-secondary);
77
}
88

99
.docs-example-source__numbers {
10-
background: var(--kbq-background-background-less-contrast);
11-
color: var(--kbq-foreground-text-disabled);
10+
background: var(--kbq-background-bg-secondary);
11+
color: var(--kbq-states-foreground-disabled);
1212
}
1313
}
1414

1515
@mixin kbq-docs-example-source-typography() {
1616
.docs-example-source__code,
1717
.docs-example-source__numbers {
18-
@include tokens.kbq-typography-level-to-styles_css-variables(typography, body-mono);
18+
@include tokens.kbq-typography-level-to-styles_css-variables(typography, mono-big);
1919

2020
font-size: 14px;
2121
}

apps/docs/src/app/components/page-not-found/page-not-found.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<i kbq-icon="kbq-cloud-404_256"></i>
22

3-
<div class="kbq-display-3">Страница не найдена</div>
3+
<div class="kbq-display-compact">Страница не найдена</div>
44

55
<a
66
kbq-link

apps/docs/src/app/components/welcome/_welcome-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.docs-welcome__category-item:focus {
19-
border-color: var(--kbq-states-focused-color);
19+
border-color: var(--kbq-states-line-focus-theme);
2020
}
2121
}
2222

apps/docs/src/app/containers/icons-viewer/icons-viewer-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
border-color: var(--kbq-divider-color, var(--kbq-line-contrast-less));
1616

1717
> .docs-icons-viewer__table-cell-name {
18-
color: var(--kbq-foreground-text-less-contrast);
18+
color: var(--kbq-foreground-contrast-secondary);
1919
}
2020

2121
&:focus {
@@ -32,7 +32,7 @@
3232
}
3333

3434
.icon-preview-modal__preview-area {
35-
background: var(--kbq-background-background-under);
35+
background: var(--kbq-background-bg-secondary);
3636
}
3737
}
3838

@@ -52,6 +52,6 @@
5252
}
5353

5454
.docs-icons-viewer__table-empty-results {
55-
@include tokens.kbq-typography-level-to-styles_css-variables(typography, display-3);
55+
@include tokens.kbq-typography-level-to-styles_css-variables(typography, display-compact);
5656
}
5757
}

apps/docs/src/assets/stackblitz/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@koobiq/moment-date-adapter": "^3.1.3",
2828
"@koobiq/luxon-date-adapter": "^3.1.3",
2929
"@koobiq/date-formatter": "^3.1.3",
30-
"@koobiq/design-tokens": "3.7.3",
30+
"@koobiq/design-tokens": "3.8.1",
3131
"marked": "^9.0.0",
3232
"overlayscrollbars": "2.7.3",
3333
"@messageformat/core": "^3.0.0",

apps/docs/src/styles/_hot-keys.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@mixin hot-key-button-theme() {
22
.hot-key-button {
33
color: var(--kbq-foreground-contrast);
4-
border-color: var(--kbq-foreground-border);
4+
border-color: var(--kbq-line-contrast-fade);
55
box-shadow: var(--kbq-shadow-card);
66
}
77
}

apps/docs/src/styles/_theme.kbq.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@use '../dist/components';
22

33
@use '../dist/components/core/styles/visual';
4-
@use '../dist/components/core/styles/typography';
54
@use '../dist/components/core/styles/common/tokens';
65

76
@use '../dist/components/core/styles/koobiq-theme' as *;

0 commit comments

Comments
 (0)