style(web): 样式优先级调整

pull/13/head
moonrailgun 4 years ago
parent 63ebbd0f52
commit 391078ac90

@ -1,10 +1,17 @@
.dark {
// 表单
.ant-form-item-label > label {
color: white;
}
// 分割线
.ant-divider-horizontal.ant-divider-with-text {
border-top-color: rgba(255,255,255,0.12);
color: rgba(255,255,255,0.85);
}
// 排版
.ant-typography {
color: rgba(255,255,255,0.65);
}
}

@ -3,7 +3,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { App } from './App';
import 'tailwindcss/tailwind.css';
import 'antd/dist/antd.css';
import 'tailwindcss/tailwind.css';
ReactDOM.render(<App />, document.querySelector('#app'));

@ -7,6 +7,7 @@ module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
},
darkMode: 'class', // or 'media'
important: '#app',
theme: {
screens: {
lg: { min: '1024px' },

Loading…
Cancel
Save