Skip to content

Commit 2b1eba3

Browse files
refactor: all general styles files in styles/index.scss (#1965)
1 parent ff018a1 commit 2b1eba3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
/* eslint-disable no-restricted-imports */
2-
/* eslint-disable import/order */
32
import ReactDOM from 'react-dom/client';
43

5-
import '@gravity-ui/uikit/styles/styles.scss';
6-
74
import {ErrorBoundary} from './lib';
85
import reportWebVitals from './reportWebVitals';
96
import {history, store} from './store/defaultStore';
107

11-
import './styles/themes.scss';
12-
import './styles/unipika.scss';
13-
import './index.css';
8+
import './styles/index.scss';
149

1510
async function render() {
1611
let App;

src/index.css renamed to src/styles/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
@forward '@gravity-ui/uikit/styles/styles.scss';
2+
@forward './themes.scss';
3+
@forward './unipika.scss';
4+
15
body {
26
margin: 0;
37

0 commit comments

Comments
 (0)