MSP-3103 add app.scss and styleConstants
This commit is contained in:
1 parent
f62de3e7c6
commit
ea38ca1d4c
4 files changed
+30
-8
No files matched your search
+12
-3
@@ -1,4 +1,13 @@
|
|||||||
#root {
|
@import "src/constants/styleConstants";
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
*, html {
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app{
|
||||||
|
padding: 0 $basic-padding;
|
||||||
|
min-height: 0;
|
||||||
|
min-width: 500px;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
$background-color: #F0F2F5;
|
||||||
|
$text-color-gray: var(--ant-primary-color);
|
||||||
|
$text-color-blue: #1890FF;
|
||||||
|
|
||||||
|
$basic-margin: 8px;
|
||||||
|
$basic-padding: 8px;
|
||||||
|
|
||||||
|
$text-size: 14px;
|
||||||
|
|
||||||
|
$border-color: #F0F0F0;
|
||||||
|
|
||||||
|
$blue-color: #40A9FF;
|
||||||
|
$blue-light: #E6F7FF;
|
||||||
|
|
||||||
|
$grey:#606060;
|
||||||
|
$red: #FF4D4F;
|
||||||
|
$green: #52C41A;
|
||||||
|
$yellow: #FAAD14;
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
@@ -5,7 +5,6 @@ import { BrowserRouter } from 'react-router-dom'
|
|||||||
|
|
||||||
import App from './components/App.tsx'
|
import App from './components/App.tsx'
|
||||||
|
|
||||||
import './index.css'
|
|
||||||
import { setupStore } from './stores'
|
import { setupStore } from './stores'
|
||||||
|
|
||||||
const store = setupStore()
|
const store = setupStore()
|
||||||
|
|||||||
Reference in new issue
Block a user