ClericPy
2020-05-16 23:58:31 +08:00
刚在 stylus 试了下, 只能重新覆盖一次, 想语法上继承得用 less 之类的...
.theme-light {
--primary-100: #526984;
--primary-200: #3f5064;
--primary-300: #334152;
--primary-400: #232d38;
--primary-500: #a0aec0;
--primary-600: #8795a6;
--primary-700: #788391;
--primary-800: #a6afb9;
--primary-900: #f7fafc;
--secondary-500: #667eea;
--secondary-600: #7f9cf5;
--secondary-700: #a3bffa;
--secondary-800: #c3dafe;
--tertiary-99: #1a2028;
--tertiary-100: #1f262e;
--tertiary-200: #232b34;
--tertiary-300: #606a76;
--tertiary-400: #707c89;
--tertiary-500: #adb5bd;
--tertiary-600: #ced4da;
--tertiary-700: #dee2e6;
--tertiary-800: #e9ecef;
--tertiary-900: #171c21;
--tertiary-999: #fff;
}
这样就覆盖了