diff --git a/.roadhogrc b/.roadhogrc index f4e2e958aa3ca7a04a32bfe5110d1859570b977d..21d69816cb2129e3b6db03db6b1a867cad7bcae9 100755 --- a/.roadhogrc +++ b/.roadhogrc @@ -17,13 +17,5 @@ ] } }, - "theme": { - "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" - } + "theme": "./src/theme.js" } diff --git a/src/theme.js b/src/theme.js new file mode 100644 index 0000000000000000000000000000000000000000..2193f6b648bd85ade6a66e48c05ebee0a8337c91 --- /dev/null +++ b/src/theme.js @@ -0,0 +1,10 @@ +// 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', +};