/** * I think element-ui's default theme color is too light for long-term use. * So I modified the default color and you can modify it to your liking. **/ /* theme color */ $--color-primary: #00d4ff; $--color-success: #00ff9d; $--color-warning: #ffaa00; $--color-danger: #ff4d4d; $--color-info: #6b7280; $--button-font-weight: 400; $--color-text-primary: #ffffff; $--color-text-regular: #e2e8f0; $--color-text-secondary: #cbd5e1; $--color-text-placeholder: #94a3b8; $--border-color-base: #334155; $--border-color-light: #475569; $--border-color-lighter: #64748b; $--background-color-base: #1a1a2e; $--color-white: #1e1e2d; $--table-border: 1px solid #334155; /* icon font path, required */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; @import "~element-ui/packages/theme-chalk/src/index"; // the :export directive is the magic sauce for webpack // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass :export { theme: $--color-primary; }