Commit 21dba8bc authored by afc163's avatar afc163

Move theme to a saperate file

parent e5cd8253
...@@ -17,13 +17,5 @@ ...@@ -17,13 +17,5 @@
] ]
} }
}, },
"theme": { "theme": "./src/theme.js"
"font-size-base": "14px",
"badge-font-size": "12px",
"btn-font-size-lg": "@font-size-base",
"@menu-dark-bg": "#00182E",
"@menu-dark-submenu-bg": "#000B14",
"@layout-sider-background": "#00182E",
"layout-body-background": "#f0f2f5"
}
} }
// https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
module.exports = {
'font-size-base': '14px',
'badge-font-size': '12px',
'btn-font-size-lg': '@font-size-base',
'menu-dark-bg': '#00182E',
'menu-dark-submenu-bg': '#000B14',
'layout-sider-background': '#00182E',
'layout-body-background': '#f0f2f5',
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment