Skip to content

Commit b2fd583

Browse files
fix: import components styles in App scss (#2737)
1 parent 62cc324 commit b2fd583

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/containers/App/App.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@use '../../styles/mixins.scss';
22

3+
@forward '../../styles/drawer.scss';
4+
@forward '../../styles/versions.scss';
5+
@forward '../../styles/unipika.scss';
6+
37
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
48

59
* {

src/styles/drawer.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.g-root {
2+
--ydb-drawer-veil-z-index: 2;
3+
--gn-drawer-item-z-index: calc(var(--ydb-drawer-veil-z-index) + 1);
4+
5+
--gn-drawer-veil-z-index: var(--ydb-drawer-veil-z-index);
6+
}

src/styles/index.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
@forward '@gravity-ui/uikit/styles/styles.scss';
22
@forward './themes.scss';
3-
@forward './unipika.scss';
43
@forward './illustrations.scss';
5-
@forward './versions.scss';
64

75
body {
8-
--ydb-drawer-veil-z-index: 2;
9-
--gn-drawer-item-z-index: calc(var(--ydb-drawer-veil-z-index) + 1);
10-
11-
--gn-drawer-veil-z-index: var(--ydb-drawer-veil-z-index);
126
margin: 0;
137

148
font-family:

0 commit comments

Comments
 (0)