base6-ui 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/build/plugins.ts +31 -0
- package/build/unPlugin.ts +37 -0
- package/dist/components/AppProvider/index.d.ts +1 -0
- package/dist/components/AppProvider/index.vue.d.ts +17 -0
- package/dist/components/BaseButton/index.d.ts +1 -0
- package/dist/components/BaseButton/index.vue.d.ts +24 -0
- package/dist/components/BaseDataTable/index.d.ts +1 -0
- package/dist/components/BaseDataTable/index.vue.d.ts +22 -0
- package/dist/components/BaseDialog/index.d.ts +2 -0
- package/dist/components/BaseDialog/index.vue.d.ts +56 -0
- package/dist/components/BaseDialog/options.d.ts +2 -0
- package/dist/components/BaseDialog/type.d.ts +29 -0
- package/dist/components/BaseInputNumber/index.d.ts +1 -0
- package/dist/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/dist/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/dist/components/BaseLayout/ASide/type.d.ts +7 -0
- package/dist/components/BaseLayout/index.d.ts +1 -0
- package/dist/components/BaseProgress/index.d.ts +264 -0
- package/dist/components/BaseRadio/index.d.ts +1 -0
- package/dist/components/BaseRadio/index.vue.d.ts +23 -0
- package/dist/components/BaseSelect/index.d.ts +1 -0
- package/dist/components/BaseSelect/index.vue.d.ts +20 -0
- package/dist/components/BaseSlider/index.d.ts +1 -0
- package/dist/components/BaseSlider/index.vue.d.ts +27 -0
- package/dist/components/BaseSwitch/index.d.ts +1 -0
- package/dist/components/BaseSwitch/index.vue.d.ts +23 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/types/themes/extendThemes.d.ts +44 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/themes/color/dark.d.ts +54 -0
- package/dist/config/themes/color/index.d.ts +2 -0
- package/dist/config/themes/color/light.d.ts +53 -0
- package/dist/config/themes/common.d.ts +41 -0
- package/dist/config/themes/components/alert/common.d.ts +2 -0
- package/dist/config/themes/components/alert/dark.d.ts +2 -0
- package/dist/config/themes/components/alert/light.d.ts +2 -0
- package/dist/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/dist/config/themes/components/baseComponent/light.d.ts +8 -0
- package/dist/config/themes/components/button/common.d.ts +2 -0
- package/dist/config/themes/components/button/dark.d.ts +2 -0
- package/dist/config/themes/components/button/light.d.ts +2 -0
- package/dist/config/themes/components/card/dark.d.ts +2 -0
- package/dist/config/themes/components/card/light.d.ts +2 -0
- package/dist/config/themes/components/charts/dark.d.ts +398 -0
- package/dist/config/themes/components/charts/light.d.ts +396 -0
- package/dist/config/themes/components/checkbox/common.d.ts +2 -0
- package/dist/config/themes/components/checkbox/dark.d.ts +2 -0
- package/dist/config/themes/components/checkbox/light.d.ts +2 -0
- package/dist/config/themes/components/dataTable/dark.d.ts +2 -0
- package/dist/config/themes/components/dataTable/light.d.ts +2 -0
- package/dist/config/themes/components/datePicker/dark.d.ts +2 -0
- package/dist/config/themes/components/datePicker/light.d.ts +2 -0
- package/dist/config/themes/components/dialog/common.d.ts +8 -0
- package/dist/config/themes/components/dialog/dark.d.ts +15 -0
- package/dist/config/themes/components/dialog/light.d.ts +15 -0
- package/dist/config/themes/components/dropdown/dark.d.ts +2 -0
- package/dist/config/themes/components/dropdown/light.d.ts +2 -0
- package/dist/config/themes/components/form/dark.d.ts +2 -0
- package/dist/config/themes/components/form/light.d.ts +2 -0
- package/dist/config/themes/components/input/common.d.ts +2 -0
- package/dist/config/themes/components/input/dark.d.ts +2 -0
- package/dist/config/themes/components/input/light.d.ts +2 -0
- package/dist/config/themes/components/inputNumber/common.d.ts +3 -0
- package/dist/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/dist/config/themes/components/inputNumber/light.d.ts +3 -0
- package/dist/config/themes/components/layout/dark.d.ts +5 -0
- package/dist/config/themes/components/layout/light.d.ts +5 -0
- package/dist/config/themes/components/menu/dark.d.ts +2 -0
- package/dist/config/themes/components/menu/light.d.ts +2 -0
- package/dist/config/themes/components/progress/dark.d.ts +3 -0
- package/dist/config/themes/components/progress/light.d.ts +3 -0
- package/dist/config/themes/components/radio/dark.d.ts +3 -0
- package/dist/config/themes/components/radio/light.d.ts +3 -0
- package/dist/config/themes/components/select/dark.d.ts +2 -0
- package/dist/config/themes/components/select/light.d.ts +2 -0
- package/dist/config/themes/components/slider/dark.d.ts +3 -0
- package/dist/config/themes/components/slider/light.d.ts +3 -0
- package/dist/config/themes/components/switch/common.d.ts +3 -0
- package/dist/config/themes/components/switch/dark.d.ts +3 -0
- package/dist/config/themes/components/switch/light.d.ts +3 -0
- package/dist/config/themes/components/tag/dark.d.ts +2 -0
- package/dist/config/themes/components/tag/light.d.ts +2 -0
- package/dist/config/themes/components/transfer/dark.d.ts +2 -0
- package/dist/config/themes/components/transfer/light.d.ts +2 -0
- package/dist/config/themes/dark.d.ts +2 -0
- package/dist/config/themes/index.d.ts +7 -0
- package/dist/config/themes/light.d.ts +2 -0
- package/dist/config/themes/token/dark.d.ts +28 -0
- package/dist/config/themes/token/index.d.ts +2 -0
- package/dist/config/themes/token/light.d.ts +9 -0
- package/dist/globalMethods/index.d.ts +2 -0
- package/dist/globalMethods/modules/confirmTip.d.ts +2 -0
- package/dist/globalMethods/modules/message.d.ts +4 -0
- package/dist/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/types/themes/extendThemes.d.ts +44 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +7 -0
- package/es/components/AppProvider/index.d.ts +1 -0
- package/es/components/AppProvider/index.vue.d.ts +17 -0
- package/es/components/AppProvider/index.vue.mjs +45 -0
- package/es/components/AppProvider/index.vue2.mjs +4 -0
- package/es/components/BaseButton/index.d.ts +1 -0
- package/es/components/BaseButton/index.vue.d.ts +24 -0
- package/es/components/BaseButton/index.vue.mjs +36 -0
- package/es/components/BaseButton/index.vue2.mjs +4 -0
- package/es/components/BaseDataTable/index.d.ts +1 -0
- package/es/components/BaseDataTable/index.vue.d.ts +22 -0
- package/es/components/BaseDataTable/index.vue.mjs +7 -0
- package/es/components/BaseDataTable/index.vue2.mjs +70 -0
- package/es/components/BaseDialog/index.d.ts +2 -0
- package/es/components/BaseDialog/index.vue.d.ts +56 -0
- package/es/components/BaseDialog/index.vue.mjs +141 -0
- package/es/components/BaseDialog/index.vue2.mjs +4 -0
- package/es/components/BaseDialog/options.d.ts +2 -0
- package/es/components/BaseDialog/options.mjs +27 -0
- package/es/components/BaseDialog/type.d.ts +29 -0
- package/es/components/BaseInputNumber/index.d.ts +1 -0
- package/es/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/es/components/BaseInputNumber/index.vue.mjs +7 -0
- package/es/components/BaseInputNumber/index.vue2.mjs +155 -0
- package/es/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/es/components/BaseLayout/ASide/index.vue.mjs +7 -0
- package/es/components/BaseLayout/ASide/index.vue2.mjs +56 -0
- package/es/components/BaseLayout/ASide/type.d.ts +7 -0
- package/es/components/BaseLayout/index.d.ts +1 -0
- package/es/components/BaseProgress/index.d.ts +264 -0
- package/es/components/BaseProgress/index.mjs +81 -0
- package/es/components/BaseRadio/index.d.ts +1 -0
- package/es/components/BaseRadio/index.vue.d.ts +23 -0
- package/es/components/BaseRadio/index.vue.mjs +7 -0
- package/es/components/BaseRadio/index.vue2.mjs +42 -0
- package/es/components/BaseSelect/index.d.ts +1 -0
- package/es/components/BaseSelect/index.vue.d.ts +20 -0
- package/es/components/BaseSelect/index.vue.mjs +56 -0
- package/es/components/BaseSelect/index.vue2.mjs +4 -0
- package/es/components/BaseSlider/index.d.ts +1 -0
- package/es/components/BaseSlider/index.vue.d.ts +27 -0
- package/es/components/BaseSlider/index.vue.mjs +7 -0
- package/es/components/BaseSlider/index.vue2.mjs +107 -0
- package/es/components/BaseSwitch/index.d.ts +1 -0
- package/es/components/BaseSwitch/index.vue.d.ts +23 -0
- package/es/components/BaseSwitch/index.vue.mjs +7 -0
- package/es/components/BaseSwitch/index.vue2.mjs +44 -0
- package/es/components/index.d.ts +11 -0
- package/es/components/types/themes/extendThemes.d.ts +44 -0
- package/es/config/index.d.ts +1 -0
- package/es/config/themes/color/dark.d.ts +54 -0
- package/es/config/themes/color/dark.mjs +61 -0
- package/es/config/themes/color/index.d.ts +2 -0
- package/es/config/themes/color/light.d.ts +53 -0
- package/es/config/themes/color/light.mjs +60 -0
- package/es/config/themes/common.d.ts +41 -0
- package/es/config/themes/common.mjs +39 -0
- package/es/config/themes/components/alert/common.d.ts +2 -0
- package/es/config/themes/components/alert/common.mjs +10 -0
- package/es/config/themes/components/alert/dark.d.ts +2 -0
- package/es/config/themes/components/alert/dark.mjs +21 -0
- package/es/config/themes/components/alert/light.d.ts +2 -0
- package/es/config/themes/components/alert/light.mjs +17 -0
- package/es/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/es/config/themes/components/baseComponent/dark.mjs +249 -0
- package/es/config/themes/components/baseComponent/light.d.ts +8 -0
- package/es/config/themes/components/baseComponent/light.mjs +350 -0
- package/es/config/themes/components/button/common.d.ts +2 -0
- package/es/config/themes/components/button/common.mjs +17 -0
- package/es/config/themes/components/button/dark.d.ts +2 -0
- package/es/config/themes/components/button/dark.mjs +109 -0
- package/es/config/themes/components/button/light.d.ts +2 -0
- package/es/config/themes/components/button/light.mjs +88 -0
- package/es/config/themes/components/card/dark.d.ts +2 -0
- package/es/config/themes/components/card/dark.mjs +14 -0
- package/es/config/themes/components/card/light.d.ts +2 -0
- package/es/config/themes/components/card/light.mjs +14 -0
- package/es/config/themes/components/charts/dark.d.ts +398 -0
- package/es/config/themes/components/charts/dark.mjs +428 -0
- package/es/config/themes/components/charts/light.d.ts +396 -0
- package/es/config/themes/components/charts/light.mjs +426 -0
- package/es/config/themes/components/checkbox/common.d.ts +2 -0
- package/es/config/themes/components/checkbox/common.mjs +7 -0
- package/es/config/themes/components/checkbox/dark.d.ts +2 -0
- package/es/config/themes/components/checkbox/dark.mjs +21 -0
- package/es/config/themes/components/checkbox/light.d.ts +2 -0
- package/es/config/themes/components/checkbox/light.mjs +20 -0
- package/es/config/themes/components/dataTable/dark.d.ts +2 -0
- package/es/config/themes/components/dataTable/dark.mjs +14 -0
- package/es/config/themes/components/dataTable/light.d.ts +2 -0
- package/es/config/themes/components/dataTable/light.mjs +14 -0
- package/es/config/themes/components/datePicker/dark.d.ts +2 -0
- package/es/config/themes/components/datePicker/dark.mjs +11 -0
- package/es/config/themes/components/datePicker/light.d.ts +2 -0
- package/es/config/themes/components/datePicker/light.mjs +11 -0
- package/es/config/themes/components/dialog/common.d.ts +8 -0
- package/es/config/themes/components/dialog/common.mjs +11 -0
- package/es/config/themes/components/dialog/dark.d.ts +15 -0
- package/es/config/themes/components/dialog/dark.mjs +16 -0
- package/es/config/themes/components/dialog/light.d.ts +15 -0
- package/es/config/themes/components/dialog/light.mjs +15 -0
- package/es/config/themes/components/dropdown/dark.d.ts +2 -0
- package/es/config/themes/components/dropdown/dark.mjs +8 -0
- package/es/config/themes/components/dropdown/light.d.ts +2 -0
- package/es/config/themes/components/dropdown/light.mjs +8 -0
- package/es/config/themes/components/form/dark.d.ts +2 -0
- package/es/config/themes/components/form/dark.mjs +8 -0
- package/es/config/themes/components/form/light.d.ts +2 -0
- package/es/config/themes/components/form/light.mjs +8 -0
- package/es/config/themes/components/input/common.d.ts +2 -0
- package/es/config/themes/components/input/common.mjs +11 -0
- package/es/config/themes/components/input/dark.d.ts +2 -0
- package/es/config/themes/components/input/dark.mjs +22 -0
- package/es/config/themes/components/input/light.d.ts +2 -0
- package/es/config/themes/components/input/light.mjs +21 -0
- package/es/config/themes/components/inputNumber/common.d.ts +3 -0
- package/es/config/themes/components/inputNumber/common.mjs +14 -0
- package/es/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/es/config/themes/components/inputNumber/dark.mjs +21 -0
- package/es/config/themes/components/inputNumber/light.d.ts +3 -0
- package/es/config/themes/components/inputNumber/light.mjs +17 -0
- package/es/config/themes/components/layout/dark.d.ts +5 -0
- package/es/config/themes/components/layout/dark.mjs +10 -0
- package/es/config/themes/components/layout/light.d.ts +5 -0
- package/es/config/themes/components/layout/light.mjs +11 -0
- package/es/config/themes/components/menu/dark.d.ts +2 -0
- package/es/config/themes/components/menu/dark.mjs +17 -0
- package/es/config/themes/components/menu/light.d.ts +2 -0
- package/es/config/themes/components/menu/light.mjs +16 -0
- package/es/config/themes/components/progress/dark.d.ts +3 -0
- package/es/config/themes/components/progress/dark.mjs +21 -0
- package/es/config/themes/components/progress/light.d.ts +3 -0
- package/es/config/themes/components/progress/light.mjs +20 -0
- package/es/config/themes/components/radio/dark.d.ts +3 -0
- package/es/config/themes/components/radio/dark.mjs +20 -0
- package/es/config/themes/components/radio/light.d.ts +3 -0
- package/es/config/themes/components/radio/light.mjs +18 -0
- package/es/config/themes/components/select/dark.d.ts +2 -0
- package/es/config/themes/components/select/dark.mjs +40 -0
- package/es/config/themes/components/select/light.d.ts +2 -0
- package/es/config/themes/components/select/light.mjs +36 -0
- package/es/config/themes/components/slider/dark.d.ts +3 -0
- package/es/config/themes/components/slider/dark.mjs +15 -0
- package/es/config/themes/components/slider/light.d.ts +3 -0
- package/es/config/themes/components/slider/light.mjs +15 -0
- package/es/config/themes/components/switch/common.d.ts +3 -0
- package/es/config/themes/components/switch/common.mjs +14 -0
- package/es/config/themes/components/switch/dark.d.ts +3 -0
- package/es/config/themes/components/switch/dark.mjs +15 -0
- package/es/config/themes/components/switch/light.d.ts +3 -0
- package/es/config/themes/components/switch/light.mjs +15 -0
- package/es/config/themes/components/tag/dark.d.ts +2 -0
- package/es/config/themes/components/tag/dark.mjs +34 -0
- package/es/config/themes/components/tag/light.d.ts +2 -0
- package/es/config/themes/components/tag/light.mjs +33 -0
- package/es/config/themes/components/transfer/dark.d.ts +2 -0
- package/es/config/themes/components/transfer/dark.mjs +9 -0
- package/es/config/themes/components/transfer/light.d.ts +2 -0
- package/es/config/themes/components/transfer/light.mjs +9 -0
- package/es/config/themes/dark.d.ts +2 -0
- package/es/config/themes/dark.mjs +53 -0
- package/es/config/themes/index.d.ts +7 -0
- package/es/config/themes/index.mjs +50 -0
- package/es/config/themes/light.d.ts +2 -0
- package/es/config/themes/light.mjs +53 -0
- package/es/config/themes/token/dark.d.ts +28 -0
- package/es/config/themes/token/dark.mjs +31 -0
- package/es/config/themes/token/index.d.ts +2 -0
- package/es/config/themes/token/light.d.ts +9 -0
- package/es/config/themes/token/light.mjs +11 -0
- package/es/globalMethods/index.d.ts +2 -0
- package/es/globalMethods/index.mjs +8 -0
- package/es/globalMethods/modules/confirmTip.d.ts +2 -0
- package/es/globalMethods/modules/confirmTip.mjs +45 -0
- package/es/globalMethods/modules/message.d.ts +4 -0
- package/es/globalMethods/modules/message.mjs +15 -0
- package/es/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/es/hooks/useNaiveConfigProvideContext.mjs +8 -0
- package/es/index.css +1 -0
- package/es/index.d.ts +3 -0
- package/es/index.mjs +47 -0
- package/es/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs +750 -0
- package/es/types/themes/extendThemes.d.ts +44 -0
- package/eslint.config.js +114 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -0
- package/lib/components/AppProvider/index.d.ts +1 -0
- package/lib/components/AppProvider/index.vue.d.ts +17 -0
- package/lib/components/AppProvider/index.vue.js +1 -0
- package/lib/components/AppProvider/index.vue2.js +1 -0
- package/lib/components/BaseButton/index.d.ts +1 -0
- package/lib/components/BaseButton/index.vue.d.ts +24 -0
- package/lib/components/BaseButton/index.vue.js +1 -0
- package/lib/components/BaseButton/index.vue2.js +1 -0
- package/lib/components/BaseDataTable/index.d.ts +1 -0
- package/lib/components/BaseDataTable/index.vue.d.ts +22 -0
- package/lib/components/BaseDataTable/index.vue.js +1 -0
- package/lib/components/BaseDataTable/index.vue2.js +1 -0
- package/lib/components/BaseDialog/index.d.ts +2 -0
- package/lib/components/BaseDialog/index.vue.d.ts +56 -0
- package/lib/components/BaseDialog/index.vue.js +1 -0
- package/lib/components/BaseDialog/index.vue2.js +1 -0
- package/lib/components/BaseDialog/options.d.ts +2 -0
- package/lib/components/BaseDialog/options.js +1 -0
- package/lib/components/BaseDialog/type.d.ts +29 -0
- package/lib/components/BaseInputNumber/index.d.ts +1 -0
- package/lib/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/lib/components/BaseInputNumber/index.vue.js +1 -0
- package/lib/components/BaseInputNumber/index.vue2.js +1 -0
- package/lib/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/lib/components/BaseLayout/ASide/index.vue.js +1 -0
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -0
- package/lib/components/BaseLayout/ASide/type.d.ts +7 -0
- package/lib/components/BaseLayout/index.d.ts +1 -0
- package/lib/components/BaseProgress/index.d.ts +264 -0
- package/lib/components/BaseProgress/index.js +1 -0
- package/lib/components/BaseRadio/index.d.ts +1 -0
- package/lib/components/BaseRadio/index.vue.d.ts +23 -0
- package/lib/components/BaseRadio/index.vue.js +1 -0
- package/lib/components/BaseRadio/index.vue2.js +1 -0
- package/lib/components/BaseSelect/index.d.ts +1 -0
- package/lib/components/BaseSelect/index.vue.d.ts +20 -0
- package/lib/components/BaseSelect/index.vue.js +1 -0
- package/lib/components/BaseSelect/index.vue2.js +1 -0
- package/lib/components/BaseSlider/index.d.ts +1 -0
- package/lib/components/BaseSlider/index.vue.d.ts +27 -0
- package/lib/components/BaseSlider/index.vue.js +1 -0
- package/lib/components/BaseSlider/index.vue2.js +1 -0
- package/lib/components/BaseSwitch/index.d.ts +1 -0
- package/lib/components/BaseSwitch/index.vue.d.ts +23 -0
- package/lib/components/BaseSwitch/index.vue.js +1 -0
- package/lib/components/BaseSwitch/index.vue2.js +1 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/types/themes/extendThemes.d.ts +44 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/config/themes/color/dark.d.ts +54 -0
- package/lib/config/themes/color/dark.js +1 -0
- package/lib/config/themes/color/index.d.ts +2 -0
- package/lib/config/themes/color/light.d.ts +53 -0
- package/lib/config/themes/color/light.js +1 -0
- package/lib/config/themes/common.d.ts +41 -0
- package/lib/config/themes/common.js +1 -0
- package/lib/config/themes/components/alert/common.d.ts +2 -0
- package/lib/config/themes/components/alert/common.js +1 -0
- package/lib/config/themes/components/alert/dark.d.ts +2 -0
- package/lib/config/themes/components/alert/dark.js +1 -0
- package/lib/config/themes/components/alert/light.d.ts +2 -0
- package/lib/config/themes/components/alert/light.js +1 -0
- package/lib/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/lib/config/themes/components/baseComponent/dark.js +1 -0
- package/lib/config/themes/components/baseComponent/light.d.ts +8 -0
- package/lib/config/themes/components/baseComponent/light.js +1 -0
- package/lib/config/themes/components/button/common.d.ts +2 -0
- package/lib/config/themes/components/button/common.js +1 -0
- package/lib/config/themes/components/button/dark.d.ts +2 -0
- package/lib/config/themes/components/button/dark.js +1 -0
- package/lib/config/themes/components/button/light.d.ts +2 -0
- package/lib/config/themes/components/button/light.js +1 -0
- package/lib/config/themes/components/card/dark.d.ts +2 -0
- package/lib/config/themes/components/card/dark.js +1 -0
- package/lib/config/themes/components/card/light.d.ts +2 -0
- package/lib/config/themes/components/card/light.js +1 -0
- package/lib/config/themes/components/charts/dark.d.ts +398 -0
- package/lib/config/themes/components/charts/dark.js +1 -0
- package/lib/config/themes/components/charts/light.d.ts +396 -0
- package/lib/config/themes/components/charts/light.js +1 -0
- package/lib/config/themes/components/checkbox/common.d.ts +2 -0
- package/lib/config/themes/components/checkbox/common.js +1 -0
- package/lib/config/themes/components/checkbox/dark.d.ts +2 -0
- package/lib/config/themes/components/checkbox/dark.js +1 -0
- package/lib/config/themes/components/checkbox/light.d.ts +2 -0
- package/lib/config/themes/components/checkbox/light.js +1 -0
- package/lib/config/themes/components/dataTable/dark.d.ts +2 -0
- package/lib/config/themes/components/dataTable/dark.js +1 -0
- package/lib/config/themes/components/dataTable/light.d.ts +2 -0
- package/lib/config/themes/components/dataTable/light.js +1 -0
- package/lib/config/themes/components/datePicker/dark.d.ts +2 -0
- package/lib/config/themes/components/datePicker/dark.js +1 -0
- package/lib/config/themes/components/datePicker/light.d.ts +2 -0
- package/lib/config/themes/components/datePicker/light.js +1 -0
- package/lib/config/themes/components/dialog/common.d.ts +8 -0
- package/lib/config/themes/components/dialog/common.js +1 -0
- package/lib/config/themes/components/dialog/dark.d.ts +15 -0
- package/lib/config/themes/components/dialog/dark.js +1 -0
- package/lib/config/themes/components/dialog/light.d.ts +15 -0
- package/lib/config/themes/components/dialog/light.js +1 -0
- package/lib/config/themes/components/dropdown/dark.d.ts +2 -0
- package/lib/config/themes/components/dropdown/dark.js +1 -0
- package/lib/config/themes/components/dropdown/light.d.ts +2 -0
- package/lib/config/themes/components/dropdown/light.js +1 -0
- package/lib/config/themes/components/form/dark.d.ts +2 -0
- package/lib/config/themes/components/form/dark.js +1 -0
- package/lib/config/themes/components/form/light.d.ts +2 -0
- package/lib/config/themes/components/form/light.js +1 -0
- package/lib/config/themes/components/input/common.d.ts +2 -0
- package/lib/config/themes/components/input/common.js +1 -0
- package/lib/config/themes/components/input/dark.d.ts +2 -0
- package/lib/config/themes/components/input/dark.js +1 -0
- package/lib/config/themes/components/input/light.d.ts +2 -0
- package/lib/config/themes/components/input/light.js +1 -0
- package/lib/config/themes/components/inputNumber/common.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/common.js +1 -0
- package/lib/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/dark.js +1 -0
- package/lib/config/themes/components/inputNumber/light.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/light.js +1 -0
- package/lib/config/themes/components/layout/dark.d.ts +5 -0
- package/lib/config/themes/components/layout/dark.js +1 -0
- package/lib/config/themes/components/layout/light.d.ts +5 -0
- package/lib/config/themes/components/layout/light.js +1 -0
- package/lib/config/themes/components/menu/dark.d.ts +2 -0
- package/lib/config/themes/components/menu/dark.js +1 -0
- package/lib/config/themes/components/menu/light.d.ts +2 -0
- package/lib/config/themes/components/menu/light.js +1 -0
- package/lib/config/themes/components/progress/dark.d.ts +3 -0
- package/lib/config/themes/components/progress/dark.js +1 -0
- package/lib/config/themes/components/progress/light.d.ts +3 -0
- package/lib/config/themes/components/progress/light.js +1 -0
- package/lib/config/themes/components/radio/dark.d.ts +3 -0
- package/lib/config/themes/components/radio/dark.js +1 -0
- package/lib/config/themes/components/radio/light.d.ts +3 -0
- package/lib/config/themes/components/radio/light.js +1 -0
- package/lib/config/themes/components/select/dark.d.ts +2 -0
- package/lib/config/themes/components/select/dark.js +1 -0
- package/lib/config/themes/components/select/light.d.ts +2 -0
- package/lib/config/themes/components/select/light.js +1 -0
- package/lib/config/themes/components/slider/dark.d.ts +3 -0
- package/lib/config/themes/components/slider/dark.js +1 -0
- package/lib/config/themes/components/slider/light.d.ts +3 -0
- package/lib/config/themes/components/slider/light.js +1 -0
- package/lib/config/themes/components/switch/common.d.ts +3 -0
- package/lib/config/themes/components/switch/common.js +1 -0
- package/lib/config/themes/components/switch/dark.d.ts +3 -0
- package/lib/config/themes/components/switch/dark.js +1 -0
- package/lib/config/themes/components/switch/light.d.ts +3 -0
- package/lib/config/themes/components/switch/light.js +1 -0
- package/lib/config/themes/components/tag/dark.d.ts +2 -0
- package/lib/config/themes/components/tag/dark.js +1 -0
- package/lib/config/themes/components/tag/light.d.ts +2 -0
- package/lib/config/themes/components/tag/light.js +1 -0
- package/lib/config/themes/components/transfer/dark.d.ts +2 -0
- package/lib/config/themes/components/transfer/dark.js +1 -0
- package/lib/config/themes/components/transfer/light.d.ts +2 -0
- package/lib/config/themes/components/transfer/light.js +1 -0
- package/lib/config/themes/dark.d.ts +2 -0
- package/lib/config/themes/dark.js +1 -0
- package/lib/config/themes/index.d.ts +7 -0
- package/lib/config/themes/index.js +1 -0
- package/lib/config/themes/light.d.ts +2 -0
- package/lib/config/themes/light.js +1 -0
- package/lib/config/themes/token/dark.d.ts +28 -0
- package/lib/config/themes/token/dark.js +1 -0
- package/lib/config/themes/token/index.d.ts +2 -0
- package/lib/config/themes/token/light.d.ts +9 -0
- package/lib/config/themes/token/light.js +1 -0
- package/lib/globalMethods/index.d.ts +2 -0
- package/lib/globalMethods/index.js +1 -0
- package/lib/globalMethods/modules/confirmTip.d.ts +2 -0
- package/lib/globalMethods/modules/confirmTip.js +1 -0
- package/lib/globalMethods/modules/message.d.ts +4 -0
- package/lib/globalMethods/modules/message.js +1 -0
- package/lib/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/lib/hooks/useNaiveConfigProvideContext.js +1 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.js +1 -0
- package/lib/types/themes/extendThemes.d.ts +44 -0
- package/package.json +43 -0
- package/readme.md +83 -0
- package/src/components/AppProvider/index.ts +1 -0
- package/src/components/AppProvider/index.vue +38 -0
- package/src/components/BaseButton/index.ts +1 -0
- package/src/components/BaseButton/index.vue +21 -0
- package/src/components/BaseDataTable/index.ts +1 -0
- package/src/components/BaseDataTable/index.vue +120 -0
- package/src/components/BaseDialog/index.ts +2 -0
- package/src/components/BaseDialog/index.vue +104 -0
- package/src/components/BaseDialog/options.ts +25 -0
- package/src/components/BaseDialog/type.ts +30 -0
- package/src/components/BaseInputNumber/index.ts +1 -0
- package/src/components/BaseInputNumber/index.vue +188 -0
- package/src/components/BaseLayout/ASide/index.vue +104 -0
- package/src/components/BaseLayout/ASide/type.ts +11 -0
- package/src/components/BaseLayout/index.ts +1 -0
- package/src/components/BaseProgress/index.ts +99 -0
- package/src/components/BaseRadio/index.ts +1 -0
- package/src/components/BaseRadio/index.vue +45 -0
- package/src/components/BaseSelect/index.ts +1 -0
- package/src/components/BaseSelect/index.vue +59 -0
- package/src/components/BaseSlider/index.ts +1 -0
- package/src/components/BaseSlider/index.vue +114 -0
- package/src/components/BaseSwitch/index.ts +1 -0
- package/src/components/BaseSwitch/index.vue +69 -0
- package/src/components/index.ts +11 -0
- package/src/components/types/themes/extendThemes.ts +50 -0
- package/src/config/index.ts +1 -0
- package/src/config/themes/color/dark.ts +60 -0
- package/src/config/themes/color/index.ts +2 -0
- package/src/config/themes/color/light.ts +59 -0
- package/src/config/themes/common.ts +50 -0
- package/src/config/themes/components/alert/common.ts +13 -0
- package/src/config/themes/components/alert/dark.ts +23 -0
- package/src/config/themes/components/alert/light.ts +18 -0
- package/src/config/themes/components/baseComponent/dark.ts +189 -0
- package/src/config/themes/components/baseComponent/light.ts +297 -0
- package/src/config/themes/components/button/common.ts +20 -0
- package/src/config/themes/components/button/dark.ts +127 -0
- package/src/config/themes/components/button/light.ts +102 -0
- package/src/config/themes/components/card/dark.ts +13 -0
- package/src/config/themes/components/card/light.ts +13 -0
- package/src/config/themes/components/charts/dark.ts +425 -0
- package/src/config/themes/components/charts/light.ts +424 -0
- package/src/config/themes/components/checkbox/common.ts +7 -0
- package/src/config/themes/components/checkbox/dark.ts +23 -0
- package/src/config/themes/components/checkbox/light.ts +22 -0
- package/src/config/themes/components/dataTable/dark.ts +14 -0
- package/src/config/themes/components/dataTable/light.ts +14 -0
- package/src/config/themes/components/datePicker/dark.ts +10 -0
- package/src/config/themes/components/datePicker/light.ts +10 -0
- package/src/config/themes/components/dialog/common.ts +8 -0
- package/src/config/themes/components/dialog/dark.ts +14 -0
- package/src/config/themes/components/dialog/light.ts +13 -0
- package/src/config/themes/components/dropdown/dark.ts +7 -0
- package/src/config/themes/components/dropdown/light.ts +7 -0
- package/src/config/themes/components/form/dark.ts +7 -0
- package/src/config/themes/components/form/light.ts +7 -0
- package/src/config/themes/components/input/common.ts +13 -0
- package/src/config/themes/components/input/dark.ts +25 -0
- package/src/config/themes/components/input/light.ts +24 -0
- package/src/config/themes/components/inputNumber/common.ts +14 -0
- package/src/config/themes/components/inputNumber/dark.ts +24 -0
- package/src/config/themes/components/inputNumber/light.ts +20 -0
- package/src/config/themes/components/layout/dark.ts +8 -0
- package/src/config/themes/components/layout/light.ts +9 -0
- package/src/config/themes/components/menu/dark.ts +18 -0
- package/src/config/themes/components/menu/light.ts +17 -0
- package/src/config/themes/components/progress/dark.ts +25 -0
- package/src/config/themes/components/progress/light.ts +25 -0
- package/src/config/themes/components/radio/dark.ts +20 -0
- package/src/config/themes/components/radio/light.ts +21 -0
- package/src/config/themes/components/select/dark.ts +42 -0
- package/src/config/themes/components/select/light.ts +38 -0
- package/src/config/themes/components/slider/dark.ts +16 -0
- package/src/config/themes/components/slider/light.ts +16 -0
- package/src/config/themes/components/switch/common.ts +17 -0
- package/src/config/themes/components/switch/dark.ts +17 -0
- package/src/config/themes/components/switch/light.ts +17 -0
- package/src/config/themes/components/tag/dark.ts +40 -0
- package/src/config/themes/components/tag/light.ts +39 -0
- package/src/config/themes/components/transfer/dark.ts +8 -0
- package/src/config/themes/components/transfer/light.ts +8 -0
- package/src/config/themes/dark.ts +61 -0
- package/src/config/themes/index.ts +12 -0
- package/src/config/themes/light.ts +61 -0
- package/src/config/themes/token/dark.ts +32 -0
- package/src/config/themes/token/index.ts +2 -0
- package/src/config/themes/token/light.ts +11 -0
- package/src/globalMethods/index.ts +8 -0
- package/src/globalMethods/modules/confirmTip.ts +49 -0
- package/src/globalMethods/modules/message.ts +20 -0
- package/src/hooks/useNaiveConfigProvideContext.ts +10 -0
- package/src/index.ts +8 -0
- package/src/style/index.scss +63 -0
- package/src/svg-icons/add.svg +1 -0
- package/src/svg-icons/arrow/down.svg +1 -0
- package/src/svg-icons/arrow/top.svg +1 -0
- package/src/svg-icons/logo.svg +4 -0
- package/src/svg-icons/operate/add.svg +1 -0
- package/src/svg-icons/operate/close.svg +1 -0
- package/src/svg-icons/operate/minus.svg +1 -0
- package/src/svg-icons/progress-default.svg +3 -0
- package/src/types/themes/extendThemes.ts +50 -0
- package/tsconfig.json +38 -0
- package/typing/components.d.ts +38 -0
- package/typing/global.d.ts +19 -0
- package/vite.config.ts +61 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AlertProps } from 'naive-ui'
|
|
2
|
+
import { lightBase } from '../../color'
|
|
3
|
+
import { AlertThemeCommon } from './common'
|
|
4
|
+
|
|
5
|
+
export const AlertThemeLight: AlertProps['themeOverrides'] = {
|
|
6
|
+
...AlertThemeCommon,
|
|
7
|
+
colorInfo: lightBase['color-primary-1'],
|
|
8
|
+
colorSuccess: lightBase['color-green-1'],
|
|
9
|
+
colorError: lightBase['color-red-1'],
|
|
10
|
+
colorWarning: lightBase['color-origin-1'],
|
|
11
|
+
|
|
12
|
+
contentTextColorError: lightBase['color-gray-10'],
|
|
13
|
+
contentTextColorInfo: lightBase['color-gray-10'],
|
|
14
|
+
contentTextColorSuccess: lightBase['color-gray-10'],
|
|
15
|
+
contentTextColorWarning: lightBase['color-gray-10'],
|
|
16
|
+
|
|
17
|
+
titleTextColor: lightBase['color-gray-10']
|
|
18
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { TooltipProps, StepsProps, TabsProps, PopconfirmProps, TreeProps, PaginationProps, BreadcrumbProps } from 'naive-ui'
|
|
2
|
+
import { darkBase } from '../../color'
|
|
3
|
+
import { darkToken } from '../../token'
|
|
4
|
+
import { commonBase } from '../../common'
|
|
5
|
+
|
|
6
|
+
export const TooltipThemeDark: TooltipProps['themeOverrides'] = {
|
|
7
|
+
borderRadius: commonBase.borderRadiusMedium,
|
|
8
|
+
color: darkBase['color-gray-3'],
|
|
9
|
+
textColor: darkToken['color-text-6'],
|
|
10
|
+
padding: commonBase.paddingBase
|
|
11
|
+
}
|
|
12
|
+
export const PopconfirmThemeDark: PopconfirmProps['themeOverrides'] = {
|
|
13
|
+
fontSize: commonBase.fontSizeMedium,
|
|
14
|
+
iconColor: darkBase['color-primary-6'],
|
|
15
|
+
iconSize: commonBase.iconSizeBase
|
|
16
|
+
}
|
|
17
|
+
export const TreeThemeDark: TreeProps['themeOverrides'] = {
|
|
18
|
+
nodeTextColor: darkToken['color-text-6'],
|
|
19
|
+
arrowColor: darkToken['color-text-3'],
|
|
20
|
+
lineColor: darkBase['color-gray-11']
|
|
21
|
+
// nodeColorHover: 'red'
|
|
22
|
+
// nodeColorActive: 'transparent',
|
|
23
|
+
// nodeColorHover: 'transparent',
|
|
24
|
+
// nodeColorPressed: 'transparent'
|
|
25
|
+
|
|
26
|
+
// fontSize: string;
|
|
27
|
+
// lineHeight: string; // 行高(每个节点的高度)
|
|
28
|
+
// nodeHeight: string; // 节点高度(可能已废弃,用lineHeight)
|
|
29
|
+
// nodeWrapperPadding: string; // 节点内边距(文字与边框的间距)
|
|
30
|
+
// nodeBorderRadius: string; // 节点圆角
|
|
31
|
+
// // nodeColorHover: string; // 节点悬停时的背景色
|
|
32
|
+
// nodeColorPressed: string; // 节点按下时的背景色
|
|
33
|
+
// nodeColorActive: string; // 节点激活/选中时的背景色
|
|
34
|
+
// // nodeTextColor: string; // 节点文字颜色
|
|
35
|
+
// nodeTextColorDisabled: string; // 禁用节点文字颜色
|
|
36
|
+
// arrowColor: string; // 展开/收起箭头的颜色
|
|
37
|
+
// loadingColor: string; // 加载中图标的颜色
|
|
38
|
+
// // dropMarkColor: string; // 拖拽放置指示线的颜色
|
|
39
|
+
// lineColor: string; // 节点连接线的颜色(您刚才问的!)
|
|
40
|
+
}
|
|
41
|
+
export const PaginationThemeDark: PaginationProps['themeOverrides'] = {
|
|
42
|
+
buttonBorderHover: '0px solid transparent',
|
|
43
|
+
buttonBorderPressed: '0px solid transparent',
|
|
44
|
+
itemTextColorHover: darkToken['color-text-6'],
|
|
45
|
+
itemTextColorPressed: darkToken['color-text-6'],
|
|
46
|
+
itemColorActive: darkBase['color-primary-6'],
|
|
47
|
+
itemColorActiveHover: darkBase['color-primary-6'],
|
|
48
|
+
itemBorderDisabled: '0px solid transparent',
|
|
49
|
+
buttonBorder: darkBase['color-gray-3'],
|
|
50
|
+
// // 按钮相关样式(上一页/下一页按钮)
|
|
51
|
+
buttonIconColor: darkToken['color-text-6'], /* 按钮图标颜色 */
|
|
52
|
+
buttonIconColorPressed: darkToken['color-text-6'],
|
|
53
|
+
buttonIconColorHover: darkToken['color-text-6'],
|
|
54
|
+
itemTextColorDisabled: darkToken['color-text-6'], /* 禁用页码文字颜色 */
|
|
55
|
+
/* 文字颜色 */
|
|
56
|
+
itemTextColor: darkToken['color-text-6'],
|
|
57
|
+
// itemTextColorPressed: 'red', /* 按下页码文字颜色 */
|
|
58
|
+
itemColorDisabled: 'transparent', /* 禁用页码背景颜色 */
|
|
59
|
+
|
|
60
|
+
itemTextColorActive: darkToken['color-text-5'], /* 当前页码文字颜色 */
|
|
61
|
+
/* 背景颜色 */
|
|
62
|
+
itemBorderRadius: commonBase.borderRadiusMedium,
|
|
63
|
+
itemSizeMedium: commonBase.heightMedium, // 修改默认高度
|
|
64
|
+
itemFontSizeMedium: commonBase.fontSizeMedium, // 修改默认字体
|
|
65
|
+
itemPaddingMedium: commonBase.paddingMedium, // 修改默认内边距
|
|
66
|
+
|
|
67
|
+
/** 跳转文字*/
|
|
68
|
+
jumperTextColor: darkToken['color-text-6'] // 修改跳转文字颜色
|
|
69
|
+
}
|
|
70
|
+
export const BreadcrumbThemeDark: BreadcrumbProps['themeOverrides'] = {
|
|
71
|
+
// fontSize: string; /* 面包屑整体字体大小 */
|
|
72
|
+
// itemLineHeight: string; /* 面包屑项的行高 */
|
|
73
|
+
// fontWeightActive: string; /* 当前项的字重(如:bold)*/
|
|
74
|
+
itemTextColor: darkToken['color-text-2'], /* 普通面包屑项文字颜色 */
|
|
75
|
+
itemTextColorHover: darkToken['color-text-6'], /* 鼠标悬停时文字颜色 */
|
|
76
|
+
itemTextColorPressed: darkToken['color-text-6'], /* 鼠标按下时文字颜色 */
|
|
77
|
+
itemTextColorActive: darkToken['color-text-6'], /* 当前页面项文字颜色(不可点击)*/
|
|
78
|
+
// itemColorHover: string; /* 鼠标悬停时背景颜色 */
|
|
79
|
+
// itemColorPressed: string; /* 鼠标按下时背景颜色 */
|
|
80
|
+
// itemBorderRadius: string; /* 面包屑项的圆角大小 */
|
|
81
|
+
separatorColor: darkToken['color-text-4'] /* 分隔符颜色(如 > 或 / 的颜色)*/
|
|
82
|
+
}
|
|
83
|
+
export const TabsThemeDark: TabsProps['themeOverrides'] = {
|
|
84
|
+
/* Line 类型文字颜色 */
|
|
85
|
+
tabTextColorLine: darkToken['color-text-3'], /* 普通文字颜色 */
|
|
86
|
+
tabTextColorActiveLine: darkBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
87
|
+
tabTextColorHoverLine: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
88
|
+
tabTextColorDisabledLine: darkToken['color-text-6'], /* 禁用状态文字颜色 */
|
|
89
|
+
|
|
90
|
+
// /* Bar 类型文字颜色 */
|
|
91
|
+
tabTextColorBar: darkToken['color-text-3'], /* 普通文字颜色 */
|
|
92
|
+
tabTextColorActiveBar: darkBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
93
|
+
tabTextColorHoverBar: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
94
|
+
tabTextColorDisabledBar: darkToken['color-text-6'], /* 禁用状态文字颜色 */
|
|
95
|
+
|
|
96
|
+
// /* Card 类型文字颜色 */
|
|
97
|
+
tabTextColorCard: darkToken['color-text-3'], /* 普通文字颜色 */
|
|
98
|
+
tabTextColorActiveCard: darkBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
99
|
+
tabTextColorHoverCard: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
100
|
+
tabTextColorDisabledCard: darkToken['color-text-6'], /* 禁用状态文字颜色 */
|
|
101
|
+
|
|
102
|
+
// /* Segment 类型文字颜色 */
|
|
103
|
+
tabTextColorSegment: darkToken['color-text-3'], /* 普通文字颜色 */
|
|
104
|
+
tabTextColorActiveSegment: darkBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
105
|
+
tabTextColorHoverSegment: darkBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
106
|
+
tabTextColorDisabledSegment: darkToken['color-text-6'], /* 禁用状态文字颜色 */
|
|
107
|
+
|
|
108
|
+
tabPaddingSmallSegment: '10px 12px',
|
|
109
|
+
tabPaddingMediumSegment: '10px 0',
|
|
110
|
+
tabPaddingLargeSegment: '10px 0',
|
|
111
|
+
|
|
112
|
+
// tabColor: 'green', /* 标签页背景色 */
|
|
113
|
+
// tabColorSegment: darkBase['color-primary-6'], /* Segment 类型标签背景色 */
|
|
114
|
+
// tabBorderColor: string; /* 标签页边框颜色 */
|
|
115
|
+
barColor: darkBase['color-primary-6'], /* Bar 类型指示条颜色 */
|
|
116
|
+
// closeIconColor: string; /* 关闭图标颜色 */
|
|
117
|
+
// closeIconColorHover: string; /* 关闭图标悬停颜色 */
|
|
118
|
+
// closeIconColorPressed: string;/* 关闭图标按下颜色 */
|
|
119
|
+
// closeColorHover: string; /* 关闭按钮悬停背景色 */
|
|
120
|
+
// closeColorPressed: string; /* 关闭按钮按下背景色 */
|
|
121
|
+
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
122
|
+
// closeSize: string; /* 关闭按钮大小 */
|
|
123
|
+
// closeIconSize: string; /* 关闭图标大小 */
|
|
124
|
+
// tabFontSizeCard: string; /* Card 类型字体大小 */
|
|
125
|
+
tabFontSizeSmall: commonBase.fontSizeSmall, /* 小尺寸字体 */
|
|
126
|
+
tabFontSizeMedium: commonBase.fontSizeMedium, /* 中尺寸字体 */
|
|
127
|
+
tabFontSizeLarge: commonBase.fontSizeLarge, /* 大尺寸字体 */
|
|
128
|
+
tabFontWeight: commonBase.fontWeightNormal, /* 普通字重 */
|
|
129
|
+
tabFontWeightActive: commonBase.fontWeightActive, /* 激活状态字重 */
|
|
130
|
+
// fontWeightStrong: string; /* 强调字重 */
|
|
131
|
+
// paneTextColor: string; /* 标签内容区域文字颜色 */
|
|
132
|
+
// panePaddingSmall: string; /* 小尺寸内容区域内边距 */
|
|
133
|
+
// panePaddingMedium: string; /* 中尺寸内容区域内边距 */
|
|
134
|
+
// panePaddingLarge: string; /* 大尺寸内容区域内边距 *//* 各种间距变量命名规则:
|
|
135
|
+
// tab[属性][尺寸][类型][方向]
|
|
136
|
+
// 例如:tabGapSmallLineVertical = 小尺寸 + Line类型 + 垂直方向的间隙
|
|
137
|
+
// */
|
|
138
|
+
|
|
139
|
+
// /* 间隙(Gap)*/
|
|
140
|
+
tabGapSmallLine: commonBase.tabGapSmall, /* 小尺寸Line类型水平间隙 */
|
|
141
|
+
tabGapMediumLine: commonBase.tabGapMedium, /* 中尺寸Line类型水平间隙 */
|
|
142
|
+
tabGapLargeLine: commonBase.tabGapLarge, /* 大尺寸Line类型水平间隙 */
|
|
143
|
+
|
|
144
|
+
// /* 内边距(Padding)*/
|
|
145
|
+
tabPaddingSmallLine: commonBase.tabPaddingSmall, /* 小尺寸Line类型水平内边距 */
|
|
146
|
+
tabPaddingMediumLine: commonBase.tabPaddingMedium, /* 中尺寸Line类型水平内边距 */
|
|
147
|
+
tabPaddingLargeLine: commonBase.tabPaddingLarge, /* 大尺寸Line类型水平内边距 */
|
|
148
|
+
|
|
149
|
+
// /* 垂直方向变量(带Vertical后缀)*/
|
|
150
|
+
// tabGapSmallLineVertical: string; /* 垂直方向间隙 */
|
|
151
|
+
// tabPaddingVerticalSmallLine: string; /* 垂直方向内边距 */
|
|
152
|
+
tabBorderRadius: commonBase.tabBorderRadius /* 标签页圆角 */
|
|
153
|
+
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
154
|
+
}
|
|
155
|
+
export const StepsThemeDark: StepsProps['themeOverrides'] = {
|
|
156
|
+
indicatorColorWait: 'transparent', /* 等待状态指示器背景色 */
|
|
157
|
+
indicatorColorProcess: darkBase['color-primary-6'], /* 进行状态指示器背景色 */
|
|
158
|
+
indicatorColorFinish: 'transparent', /* 完成状态指示器背景色 */
|
|
159
|
+
indicatorColorError: 'transparent', /* 错误状态指示器背景色 */
|
|
160
|
+
indicatorTextColorWait: darkBase['color-gray-6'], /* 等待状态指示器文字颜色 */
|
|
161
|
+
indicatorTextColorProcess: darkToken['color-text-5'], /* 进行状态指示器文字颜色 */
|
|
162
|
+
indicatorTextColorFinish: darkBase['color-primary-6'], /* 完成状态指示器文字颜色 */
|
|
163
|
+
indicatorTextColorError: darkBase['color-red-6'], /* 错误状态指示器文字颜色 */
|
|
164
|
+
indicatorBorderColorWait: darkBase['color-gray-6'], /* 等待状态指示器边框颜色 */
|
|
165
|
+
indicatorBorderColorProcess: darkBase['color-primary-6'], /* 进行状态指示器边框颜色 */
|
|
166
|
+
indicatorBorderColorFinish: darkBase['color-primary-6'], /* 完成状态指示器边框颜色 */
|
|
167
|
+
indicatorBorderColorError: darkBase['color-red-6'], /* 错误状态指示器边框颜色 */
|
|
168
|
+
headerTextColorWait: darkToken['color-text-6'], /* 等待状态标题颜色 */
|
|
169
|
+
headerTextColorProcess: darkBase['color-gray-10'], /* 进行状态标题颜色 */
|
|
170
|
+
headerTextColorFinish: darkBase['color-gray-10'], /* 完成状态标题颜色 */
|
|
171
|
+
headerTextColorError: darkBase['color-gray-10'], /* 错误状态标题颜色 */
|
|
172
|
+
descriptionTextColorWait: darkToken['color-text-3'], /* 等待状态描述颜色 */
|
|
173
|
+
descriptionTextColorProcess: darkBase['color-gray-6'], /* 进行状态描述颜色 */
|
|
174
|
+
descriptionTextColorFinish: darkBase['color-gray-6'], /* 完成状态描述颜色 */
|
|
175
|
+
descriptionTextColorError: darkBase['color-gray-6'], /* 错误状态描述颜色 */
|
|
176
|
+
splitorColorProcess: darkBase['color-primary-6'],
|
|
177
|
+
splitorColorWait: darkBase['color-gray-4'],
|
|
178
|
+
splitorColorFinish: darkBase['color-primary-6'],
|
|
179
|
+
splitorColorError: darkBase['color-primary-6'],
|
|
180
|
+
stepHeaderFontSizeSmall: '16px', /* 小尺寸标题字体 */
|
|
181
|
+
stepHeaderFontSizeMedium: '16px', /* 中尺寸标题字体 */
|
|
182
|
+
indicatorIndexFontSizeSmall: '16px', /* 小尺寸指示器数字字体 */
|
|
183
|
+
indicatorIndexFontSizeMedium: '16px', /* 中尺寸指示器数字字体 */
|
|
184
|
+
// stepHeaderFontWeight: string; /* 标题字体粗细 */
|
|
185
|
+
indicatorSizeSmall: '24px', /* 小尺寸指示器大小 */
|
|
186
|
+
indicatorSizeMedium: '24px', /* 中尺寸指示器大小 */
|
|
187
|
+
indicatorIconSizeSmall: '16px', /* 小尺寸指示器图标大小 */
|
|
188
|
+
indicatorIconSizeMedium: '16px' /* 中尺寸指示器图标大小 */
|
|
189
|
+
}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TooltipProps,
|
|
3
|
+
PopconfirmProps,
|
|
4
|
+
TreeProps,
|
|
5
|
+
PaginationProps,
|
|
6
|
+
BreadcrumbProps,
|
|
7
|
+
TabsProps,
|
|
8
|
+
StepsProps
|
|
9
|
+
} from 'naive-ui'
|
|
10
|
+
import { lightBase } from '../../color'
|
|
11
|
+
import { commonBase } from '../../common'
|
|
12
|
+
import { lightToken } from '../../token'
|
|
13
|
+
export const TooltipThemeLight: TooltipProps['themeOverrides'] = {
|
|
14
|
+
borderRadius: commonBase.borderRadiusMedium,
|
|
15
|
+
color: lightBase['color-gray-10'],
|
|
16
|
+
textColor: lightToken['color-text-1'],
|
|
17
|
+
padding: commonBase.paddingBase
|
|
18
|
+
}
|
|
19
|
+
export const PopconfirmThemeLight: PopconfirmProps['themeOverrides'] = {
|
|
20
|
+
fontSize: commonBase.fontSizeMedium,
|
|
21
|
+
iconColor: lightBase['color-primary-6'],
|
|
22
|
+
iconSize: commonBase.iconSizeBase
|
|
23
|
+
}
|
|
24
|
+
export const TreeThemeLight: TreeProps['themeOverrides'] = {
|
|
25
|
+
arrowColor: lightBase['color-gray-6'],
|
|
26
|
+
nodeTextColor: lightBase['color-gray-10'],
|
|
27
|
+
lineColor: lightBase['color-gray-5']
|
|
28
|
+
}
|
|
29
|
+
export const PaginationThemeLight: PaginationProps['themeOverrides'] = {
|
|
30
|
+
// itemBorderDisabled: '0px solid transparent',
|
|
31
|
+
// itemBorderRadius: commonBase.borderRadiusMedium,
|
|
32
|
+
// itemTextColor: lightToken['color-text-1'],
|
|
33
|
+
// itemTextColorHover: lightToken['color-text-6'],
|
|
34
|
+
// itemTextColorPressed: lightToken['color-text-6'],
|
|
35
|
+
// itemTextColorActive: lightToken['color-text-6'],
|
|
36
|
+
// buttonIconColor: lightToken['color-text-1'],
|
|
37
|
+
// buttonIconColorPressed: lightToken['color-text-1'],
|
|
38
|
+
// buttonIconColorHover: lightToken['color-text-1'],
|
|
39
|
+
// itemTextColorDisabled: lightToken['color-text-1'],
|
|
40
|
+
// jumperTextColor: lightToken['color-text-1'],
|
|
41
|
+
// itemTextColor: lightToken['color-text-1'],
|
|
42
|
+
// itemTextColorHover: lightToken['color-text-1'],
|
|
43
|
+
// itemTextColorPressed: lightToken['color-text-1'],
|
|
44
|
+
// itemTextColorActive: lightToken['color-text-1'],
|
|
45
|
+
// itemColorActive: lightBase['color-primary-6'],
|
|
46
|
+
// itemColorActiveHover: lightBase['color-primary-6'],
|
|
47
|
+
// 以上修改
|
|
48
|
+
// 按钮相关样式(上一页/下一页按钮)
|
|
49
|
+
buttonIconColor: lightBase['color-gray-10'], /* 按钮图标颜色 */
|
|
50
|
+
buttonIconColorPressed: lightBase['color-gray-10'],
|
|
51
|
+
buttonIconColorHover: lightBase['color-gray-10'],
|
|
52
|
+
itemTextColorDisabled: lightBase['color-gray-10'], /* 禁用页码文字颜色 */
|
|
53
|
+
|
|
54
|
+
itemBorderActive: '1px solid #0000',
|
|
55
|
+
|
|
56
|
+
/* 文字颜色 */
|
|
57
|
+
itemTextColor: lightBase['color-gray-10'],
|
|
58
|
+
// itemTextColorPressed: 'red', /* 按下页码文字颜色 */
|
|
59
|
+
itemTextColorActive: lightToken['color-text-1'], /* 当前页码文字颜色 */
|
|
60
|
+
/* 背景颜色 */
|
|
61
|
+
itemColorActive: lightBase['color-primary-6'], /* 当前页码背景色 */
|
|
62
|
+
itemColorPressed: lightBase['color-primary-6'], /* 按下页码背景色 */
|
|
63
|
+
itemColorActiveHover: lightBase['color-primary-6'], /* 当前页码悬停背景色 */
|
|
64
|
+
itemBorderRadius: commonBase.borderRadiusMedium,
|
|
65
|
+
// itemSizeMedium: commonBase.heightMedium, // 修改默认高度
|
|
66
|
+
itemFontSizeMedium: commonBase.fontSizeMedium, // 修改默认字体
|
|
67
|
+
itemPaddingMedium: commonBase.paddingMedium, // 修改默认内边距
|
|
68
|
+
itemColorDisabled: 'transparent', /* 禁用页码背景颜色 */
|
|
69
|
+
/** 跳转文字*/
|
|
70
|
+
jumperTextColor: lightBase['color-gray-10'] // 修改跳转文字颜色
|
|
71
|
+
// buttonColor: string; /* 按钮背景色 */
|
|
72
|
+
// buttonColorHover: string; /* 按钮悬停背景色 */
|
|
73
|
+
// buttonColorPressed: string; /* 按钮按下背景色 */
|
|
74
|
+
// buttonBorder: string; /* 按钮边框 */
|
|
75
|
+
// buttonBorderHover: string; /* 按钮悬停边框 */
|
|
76
|
+
// buttonBorderPressed: string; /* 按钮按下边框 */
|
|
77
|
+
// buttonIconColor: string; /* 按钮图标颜色 */
|
|
78
|
+
// buttonIconColorHover: string; /* 按钮图标悬停颜色 */
|
|
79
|
+
// buttonIconColorPressed: string;/* 按钮图标按下颜色 */
|
|
80
|
+
/* 文字颜色 */
|
|
81
|
+
// itemTextColor: string; /* 普通页码文字颜色 */
|
|
82
|
+
// itemTextColorHover: string; /* 悬停页码文字颜色 */
|
|
83
|
+
// itemTextColorPressed: string; /* 按下页码文字颜色 */
|
|
84
|
+
// itemTextColorActive: string; /* 当前页码文字颜色 */
|
|
85
|
+
// itemTextColorDisabled: string; /* 禁用页码文字颜色 */
|
|
86
|
+
|
|
87
|
+
// /* 背景颜色 */
|
|
88
|
+
// itemColor: string; /* 普通页码背景色 */
|
|
89
|
+
// itemColorHover: string; /* 悬停页码背景色 */
|
|
90
|
+
// itemColorPressed: string; /* 按下页码背景色 */
|
|
91
|
+
// itemColorActive: string; /* 当前页码背景色 */
|
|
92
|
+
// itemColorActiveHover: string; /* 当前页码悬停背景色 */
|
|
93
|
+
// itemColorDisabled: string; /* 禁用页码背景色 */
|
|
94
|
+
|
|
95
|
+
// /* 边框样式 */
|
|
96
|
+
// itemBorder: string; /* 页码边框 */
|
|
97
|
+
// itemBorderHover: string; /* 悬停页码边框 */
|
|
98
|
+
// itemBorderPressed: string; /* 按下页码边框 */
|
|
99
|
+
// itemBorderActive: string; /* 当前页码边框 */
|
|
100
|
+
// itemBorderDisabled: string; /* 禁用页码边框 */
|
|
101
|
+
|
|
102
|
+
// /* 尺寸和圆角 */
|
|
103
|
+
// itemBorderRadius: string; /* 页码圆角 */
|
|
104
|
+
/* 页码项尺寸 */
|
|
105
|
+
// itemSizeSmall: '26px' /* 小尺寸页码大小 */
|
|
106
|
+
// itemSizeMedium: '32px', /* 中尺寸页码大小 */
|
|
107
|
+
// itemSizeLarge: '34px' /* 大尺寸页码大小 */
|
|
108
|
+
|
|
109
|
+
// /* 字体大小 */
|
|
110
|
+
// itemFontSizeSmall: string; /* 小尺寸页码字体 */
|
|
111
|
+
// itemFontSizeMedium: string; /* 中尺寸页码字体 */
|
|
112
|
+
// itemFontSizeLarge: string; /* 大尺寸页码字体 */
|
|
113
|
+
// jumperFontSizeSmall: string; /* 小尺寸跳转框字体 */
|
|
114
|
+
// jumperFontSizeMedium: string; /* 中尺寸跳转框字体 */
|
|
115
|
+
// jumperFontSizeLarge: string; /* 大尺寸跳转框字体 */
|
|
116
|
+
// jumperTextColor: string; /* 跳转框文字颜色 */
|
|
117
|
+
// jumperTextColorDisabled: string; /* 禁用跳转框文字颜色 */
|
|
118
|
+
/* 各种间距和边距配置,用于控制组件内部元素的布局 */
|
|
119
|
+
// itemPaddingSmall: string; /* 小尺寸页码内边距 */
|
|
120
|
+
// itemMarginSmall: string; /* 小尺寸页码外边距 */
|
|
121
|
+
/* ... 其他间距变量 */
|
|
122
|
+
|
|
123
|
+
// itemColorDisabled: string;
|
|
124
|
+
// itemBorder: 'red',
|
|
125
|
+
// itemBorderHover: string;
|
|
126
|
+
// itemBorderPressed: string;
|
|
127
|
+
// itemBorderActive: string;
|
|
128
|
+
// itemBorderDisabled: string;
|
|
129
|
+
// itemBorderRadius: string;
|
|
130
|
+
// itemSizeSmall: '62px',
|
|
131
|
+
// itemSizeMedium: '32px',
|
|
132
|
+
// itemSizeLarge: '22px'
|
|
133
|
+
// itemFontSizeSmall: string;
|
|
134
|
+
// itemFontSizeMedium: '32px'
|
|
135
|
+
// itemFontSizeLarge: string;
|
|
136
|
+
// jumperFontSizeSmall: string;
|
|
137
|
+
// jumperFontSizeMedium: '14px',
|
|
138
|
+
// jumperFontSizeLarge: string;
|
|
139
|
+
// jumperTextColor: 'red',
|
|
140
|
+
// jumperTextColorDisabled: string;
|
|
141
|
+
// itemPaddingSmall: '20px',
|
|
142
|
+
// itemMarginSmall: '20px',
|
|
143
|
+
// itemMarginSmallRtl: string;
|
|
144
|
+
// itemPaddingMedium: '0 10px',
|
|
145
|
+
// itemMarginMedium: '0 8px'
|
|
146
|
+
// itemMarginMediumRtl: '36px'
|
|
147
|
+
// itemPaddingLarge: string;
|
|
148
|
+
// itemMarginLarge: string;
|
|
149
|
+
// itemMarginLargeRtl: string;
|
|
150
|
+
// buttonIconSizeSmall: '10px',
|
|
151
|
+
// buttonIconSizeMedium: '32px'
|
|
152
|
+
// buttonIconSizeLarge: '30px',
|
|
153
|
+
// inputWidthSmall: '150px'
|
|
154
|
+
// selectWidthSmall: '60px'
|
|
155
|
+
// inputMarginSmall: string;
|
|
156
|
+
// inputMarginSmallRtl: string;
|
|
157
|
+
// selectMarginSmall: string;
|
|
158
|
+
// prefixMarginSmall: string;
|
|
159
|
+
// suffixMarginSmall: string;
|
|
160
|
+
// inputWidthMedium: string;
|
|
161
|
+
// selectWidthMedium: string;
|
|
162
|
+
// inputMarginMedium: string;
|
|
163
|
+
// inputMarginMediumRtl: string;
|
|
164
|
+
// selectMarginMedium: string;
|
|
165
|
+
// prefixMarginMedium: string;
|
|
166
|
+
// suffixMarginMedium: string;
|
|
167
|
+
// inputWidthLarge: string;
|
|
168
|
+
// selectWidthLarge: string;
|
|
169
|
+
// inputMarginLarge: string;
|
|
170
|
+
// inputMarginLargeRtl: string;
|
|
171
|
+
// selectMarginLarge: string;
|
|
172
|
+
// prefixMarginLarge: string;
|
|
173
|
+
// suffixMarginLarge: string;
|
|
174
|
+
}
|
|
175
|
+
export const BreadcrumbThemeLight: BreadcrumbProps['themeOverrides'] = {
|
|
176
|
+
// fontSize: string; /* 面包屑整体字体大小 */
|
|
177
|
+
// itemLineHeight: string; /* 面包屑项的行高 */
|
|
178
|
+
// fontWeightActive: string; /* 当前项的字重(如:bold)*/
|
|
179
|
+
itemTextColor: lightBase['color-gray-8'], /* 普通面包屑项文字颜色 */
|
|
180
|
+
itemTextColorHover: lightBase['color-gray-10'], /* 鼠标悬停时文字颜色 */
|
|
181
|
+
itemTextColorPressed: lightBase['color-gray-10'], /* 鼠标按下时文字颜色 */
|
|
182
|
+
itemTextColorActive: lightBase['color-gray-10'], /* 当前页面项文字颜色(不可点击)*/
|
|
183
|
+
// itemColorHover: string; /* 鼠标悬停时背景颜色 */
|
|
184
|
+
// itemColorPressed: string; /* 鼠标按下时背景颜色 */
|
|
185
|
+
// itemBorderRadius: string; /* 面包屑项的圆角大小 */
|
|
186
|
+
separatorColor: lightBase['color-gray-4'] /* 分隔符颜色(如 > 或 / 的颜色)*/
|
|
187
|
+
}
|
|
188
|
+
export const TabsThemeLight: TabsProps['themeOverrides'] = {
|
|
189
|
+
/* Line 类型文字颜色 */
|
|
190
|
+
tabTextColorLine: lightBase['color-gray-8'], /* 普通文字颜色 */
|
|
191
|
+
tabTextColorActiveLine: lightBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
192
|
+
tabTextColorHoverLine: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
193
|
+
tabTextColorDisabledLine: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
|
|
194
|
+
|
|
195
|
+
// /* Bar 类型文字颜色 */
|
|
196
|
+
tabTextColorBar: lightBase['color-gray-8'], /* 普通文字颜色 */
|
|
197
|
+
tabTextColorActiveBar: lightBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
198
|
+
tabTextColorHoverBar: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
199
|
+
tabTextColorDisabledBar: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
|
|
200
|
+
|
|
201
|
+
// /* Card 类型文字颜色 */
|
|
202
|
+
tabTextColorCard: lightBase['color-gray-8'], /* 普通文字颜色 */
|
|
203
|
+
tabTextColorActiveCard: lightBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
204
|
+
tabTextColorHoverCard: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
205
|
+
tabTextColorDisabledCard: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
|
|
206
|
+
// tabColor: lightBase['color-primary-2'], /* 标签页背景色 */
|
|
207
|
+
|
|
208
|
+
// /* Segment 类型文字颜色 */
|
|
209
|
+
tabTextColorSegment: lightBase['color-gray-8'], /* 普通文字颜色 */
|
|
210
|
+
tabTextColorActiveSegment: lightBase['color-primary-6'], /* 激活状态文字颜色 */
|
|
211
|
+
tabTextColorHoverSegment: lightBase['color-primary-5'], /* 悬停状态文字颜色 */
|
|
212
|
+
tabTextColorDisabledSegment: lightBase['color-gray-4'], /* 禁用状态文字颜色 */
|
|
213
|
+
|
|
214
|
+
tabPaddingSmallSegment: '10px 12px',
|
|
215
|
+
tabPaddingMediumSegment: '10px 0',
|
|
216
|
+
tabPaddingLargeSegment: '10px 0',
|
|
217
|
+
|
|
218
|
+
colorSegment: lightToken['color-text-1'], /* Segment 类型背景色 */
|
|
219
|
+
tabColorSegment: lightBase['color-primary-2'], /* Segment 类型标签背景色 */
|
|
220
|
+
// tabBorderColor: string; /* 标签页边框颜色 */
|
|
221
|
+
barColor: lightBase['color-primary-6'], /* Bar 类型指示条颜色 */
|
|
222
|
+
// closeIconColor: string; /* 关闭图标颜色 */
|
|
223
|
+
// closeIconColorHover: string; /* 关闭图标悬停颜色 */
|
|
224
|
+
// closeIconColorPressed: string;/* 关闭图标按下颜色 */
|
|
225
|
+
// closeColorHover: string; /* 关闭按钮悬停背景色 */
|
|
226
|
+
// closeColorPressed: string; /* 关闭按钮按下背景色 */
|
|
227
|
+
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
228
|
+
// closeSize: string; /* 关闭按钮大小 */
|
|
229
|
+
// closeIconSize: string; /* 关闭图标大小 */
|
|
230
|
+
// tabFontSizeCard: string; /* Card 类型字体大小 */
|
|
231
|
+
tabFontSizeSmall: commonBase.fontSizeSmall, /* 小尺寸字体 */
|
|
232
|
+
tabFontSizeMedium: commonBase.fontSizeMedium, /* 中尺寸字体 */
|
|
233
|
+
tabFontSizeLarge: commonBase.fontSizeLarge, /* 大尺寸字体 */
|
|
234
|
+
tabFontWeight: commonBase.fontWeightNormal, /* 普通字重 */
|
|
235
|
+
tabFontWeightActive: commonBase.fontWeightActive, /* 激活状态字重 */
|
|
236
|
+
// fontWeightStrong: string; /* 强调字重 */
|
|
237
|
+
// paneTextColor: string; /* 标签内容区域文字颜色 */
|
|
238
|
+
// panePaddingSmall: string; /* 小尺寸内容区域内边距 */
|
|
239
|
+
// panePaddingMedium: string; /* 中尺寸内容区域内边距 */
|
|
240
|
+
// panePaddingLarge: string; /* 大尺寸内容区域内边距 *//* 各种间距变量命名规则:
|
|
241
|
+
// tab[属性][尺寸][类型][方向]
|
|
242
|
+
// 例如:tabGapSmallLineVertical = 小尺寸 + Line类型 + 垂直方向的间隙
|
|
243
|
+
// */
|
|
244
|
+
|
|
245
|
+
// /* 间隙(Gap)*/
|
|
246
|
+
tabGapSmallLine: commonBase.tabGapSmall, /* 小尺寸Line类型水平间隙 */
|
|
247
|
+
tabGapMediumLine: commonBase.tabGapMedium, /* 中尺寸Line类型水平间隙 */
|
|
248
|
+
tabGapLargeLine: commonBase.tabGapLarge, /* 大尺寸Line类型水平间隙 */
|
|
249
|
+
|
|
250
|
+
// /* 内边距(Padding)*/
|
|
251
|
+
tabPaddingSmallLine: commonBase.tabPaddingSmall, /* 小尺寸Line类型水平内边距 */
|
|
252
|
+
tabPaddingMediumLine: commonBase.tabPaddingMedium, /* 中尺寸Line类型水平内边距 */
|
|
253
|
+
tabPaddingLargeLine: commonBase.tabPaddingLarge, /* 大尺寸Line类型水平内边距 */
|
|
254
|
+
|
|
255
|
+
// /* 垂直方向变量(带Vertical后缀)*/
|
|
256
|
+
// tabGapSmallLineVertical: string; /* 垂直方向间隙 */
|
|
257
|
+
// tabPaddingVerticalSmallLine: string; /* 垂直方向内边距 */
|
|
258
|
+
tabBorderRadius: commonBase.tabBorderRadius, /* 标签页圆角 */
|
|
259
|
+
closeBorderRadius: commonBase.tabBorderRadius /* 关闭按钮圆角 */
|
|
260
|
+
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
261
|
+
}
|
|
262
|
+
export const StepsThemeLight: StepsProps['themeOverrides'] = {
|
|
263
|
+
indicatorColorWait: lightToken['color-text-1'], /* 等待状态指示器背景色 */
|
|
264
|
+
indicatorColorProcess: lightBase['color-primary-6'], /* 进行状态指示器背景色 */
|
|
265
|
+
indicatorColorFinish: lightToken['color-text-1'], /* 完成状态指示器背景色 */
|
|
266
|
+
indicatorColorError: lightToken['color-text-1'], /* 错误状态指示器背景色 */
|
|
267
|
+
indicatorTextColorWait: lightBase['color-gray-6'], /* 等待状态指示器文字颜色 */
|
|
268
|
+
indicatorTextColorProcess: lightToken['color-text-1'], /* 进行状态指示器文字颜色 */
|
|
269
|
+
indicatorTextColorFinish: lightBase['color-primary-6'], /* 完成状态指示器文字颜色 */
|
|
270
|
+
indicatorTextColorError: lightBase['color-red-6'], /* 错误状态指示器文字颜色 */
|
|
271
|
+
indicatorBorderColorWait: lightBase['color-gray-6'], /* 等待状态指示器边框颜色 */
|
|
272
|
+
indicatorBorderColorProcess: lightBase['color-primary-6'], /* 进行状态指示器边框颜色 */
|
|
273
|
+
indicatorBorderColorFinish: lightBase['color-primary-6'], /* 完成状态指示器边框颜色 */
|
|
274
|
+
indicatorBorderColorError: lightBase['color-red-6'], /* 错误状态指示器边框颜色 */
|
|
275
|
+
headerTextColorWait: lightBase['color-gray-10'], /* 等待状态标题颜色 */
|
|
276
|
+
headerTextColorProcess: lightBase['color-gray-10'], /* 进行状态标题颜色 */
|
|
277
|
+
headerTextColorFinish: lightBase['color-gray-10'], /* 完成状态标题颜色 */
|
|
278
|
+
headerTextColorError: lightBase['color-gray-10'], /* 错误状态标题颜色 */
|
|
279
|
+
descriptionTextColorWait: lightBase['color-gray-6'], /* 等待状态描述颜色 */
|
|
280
|
+
descriptionTextColorProcess: lightBase['color-gray-6'], /* 进行状态描述颜色 */
|
|
281
|
+
descriptionTextColorFinish: lightBase['color-gray-6'], /* 完成状态描述颜色 */
|
|
282
|
+
descriptionTextColorError: lightBase['color-gray-6'], /* 错误状态描述颜色 */
|
|
283
|
+
splitorColorProcess: lightBase['color-primary-6'],
|
|
284
|
+
splitorColorWait: lightBase['color-gray-4'],
|
|
285
|
+
splitorColorFinish: lightBase['color-primary-6'],
|
|
286
|
+
splitorColorError: lightBase['color-primary-6'],
|
|
287
|
+
stepHeaderFontSizeSmall: '16px', /* 小尺寸标题字体 */
|
|
288
|
+
stepHeaderFontSizeMedium: '16px', /* 中尺寸标题字体 */
|
|
289
|
+
indicatorIndexFontSizeSmall: '16px', /* 小尺寸指示器数字字体 */
|
|
290
|
+
indicatorIndexFontSizeMedium: '16px', /* 中尺寸指示器数字字体 */
|
|
291
|
+
// stepHeaderFontWeight: string; /* 标题字体粗细 */
|
|
292
|
+
indicatorSizeSmall: '24px', /* 小尺寸指示器大小 */
|
|
293
|
+
indicatorSizeMedium: '24px', /* 中尺寸指示器大小 */
|
|
294
|
+
indicatorIconSizeSmall: '16px', /* 小尺寸指示器图标大小 */
|
|
295
|
+
indicatorIconSizeMedium: '16px' /* 中尺寸指示器图标大小 */
|
|
296
|
+
}
|
|
297
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ButtonProps } from 'naive-ui'
|
|
2
|
+
import { commonBase } from '../../common'
|
|
3
|
+
|
|
4
|
+
export const ButtonThemeCommon: ButtonProps['themeOverrides'] = {
|
|
5
|
+
borderRadiusLarge: commonBase.borderRadiusLarge,
|
|
6
|
+
borderRadiusMedium: commonBase.borderRadiusMedium,
|
|
7
|
+
borderRadiusSmall: commonBase.borderRadiusSmall,
|
|
8
|
+
|
|
9
|
+
heightMedium: commonBase.heightMedium,
|
|
10
|
+
heightSmall: commonBase.heightSmall,
|
|
11
|
+
|
|
12
|
+
fontSizeLarge: commonBase.fontSizeLarge,
|
|
13
|
+
fontSizeSmall: commonBase.fontSizeSmall,
|
|
14
|
+
|
|
15
|
+
opacityDisabled: '1',
|
|
16
|
+
|
|
17
|
+
paddingLarge: '0 24px',
|
|
18
|
+
paddingMedium: '0 16px',
|
|
19
|
+
paddingSmall: '0 12px'
|
|
20
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { ButtonProps } from 'naive-ui'
|
|
2
|
+
import { darkBase } from '../../color'
|
|
3
|
+
import { darkToken } from '../../token'
|
|
4
|
+
import { ButtonThemeCommon } from './common'
|
|
5
|
+
|
|
6
|
+
export const ButtonThemeDark: ButtonProps['themeOverrides'] = {
|
|
7
|
+
...ButtonThemeCommon,
|
|
8
|
+
border: `1px solid ${darkToken['fill-color-2']}`,
|
|
9
|
+
borderError: `1px solid ${darkBase['color-red-6']}`,
|
|
10
|
+
borderPrimary: `1px solid ${darkBase['color-primary-6']}`,
|
|
11
|
+
borderSuccess: `1px solid ${darkBase['color-green-6']}`,
|
|
12
|
+
borderWarning: `1px solid ${darkBase['color-origin-6']}`,
|
|
13
|
+
|
|
14
|
+
borderDisabled: `1px solid ${darkToken['color-default-disabled']}`,
|
|
15
|
+
borderDisabledError: `1px solid ${darkBase['color-red-5']}`,
|
|
16
|
+
borderDisabledPrimary: `1px solid ${darkToken['color-primary-disabled']}`,
|
|
17
|
+
borderDisabledSuccess: `1px solid ${darkToken['color-success-disabled']}`,
|
|
18
|
+
borderDisabledWarning: `1px solid ${darkToken['color-warning-disabled']}`,
|
|
19
|
+
|
|
20
|
+
borderHover: `1px solid ${darkToken['fill-color-3']}`,
|
|
21
|
+
borderHoverError: `1px solid ${darkBase['color-red-5']}`,
|
|
22
|
+
borderHoverPrimary: `1px solid ${darkBase['color-primary-5' ]}`,
|
|
23
|
+
borderHoverSuccess: `1px solid ${darkBase['color-green-5']}`,
|
|
24
|
+
borderHoverWarning: `1px solid ${darkBase['color-origin-5']}`,
|
|
25
|
+
|
|
26
|
+
borderFocus: `1px solid ${darkToken['fill-color-3']}`,
|
|
27
|
+
borderFocusError: `1px solid ${darkBase['color-red-5']}`,
|
|
28
|
+
borderFocusPrimary: `1px solid ${darkBase['color-primary-5']}`,
|
|
29
|
+
borderFocusSuccess: `1px solid ${darkBase['color-green-5']}`,
|
|
30
|
+
borderFocusWarning: `1px solid ${darkBase['color-origin-5']}`,
|
|
31
|
+
|
|
32
|
+
borderPressed: `1px solid ${darkToken['fill-color-4']}`,
|
|
33
|
+
borderPressedError: `1px solid ${darkBase['color-red-7']}`,
|
|
34
|
+
borderPressedPrimary: `1px solid ${darkBase['color-primary-7']}`,
|
|
35
|
+
borderPressedSuccess: `1px solid ${darkBase['color-green-7']}`,
|
|
36
|
+
borderPressedWarning: `1px solid ${darkBase['color-origin-7']}`,
|
|
37
|
+
|
|
38
|
+
color: darkToken['fill-color-2'],
|
|
39
|
+
colorError: darkBase['color-red-6'],
|
|
40
|
+
colorPrimary: darkBase['color-primary-6'],
|
|
41
|
+
colorSuccess: darkBase['color-green-6'],
|
|
42
|
+
colorWarning: darkBase['color-origin-6'],
|
|
43
|
+
|
|
44
|
+
colorDisabled: darkToken['color-default-disabled'],
|
|
45
|
+
colorDisabledError: darkToken['color-error-disabled'],
|
|
46
|
+
colorDisabledPrimary: darkToken['color-primary-disabled'],
|
|
47
|
+
colorDisabledSuccess: darkToken['color-success-disabled'],
|
|
48
|
+
colorDisabledWarning: darkToken['color-warning-disabled'],
|
|
49
|
+
|
|
50
|
+
colorFocus: darkToken['fill-color-3'],
|
|
51
|
+
colorFocusError: darkBase['color-red-5'],
|
|
52
|
+
colorFocusPrimary: darkBase['color-primary-5' ],
|
|
53
|
+
colorFocusSuccess: darkBase['color-green-5'],
|
|
54
|
+
colorFocusWarning: darkBase['color-origin-5'],
|
|
55
|
+
|
|
56
|
+
colorHover: darkToken['fill-color-3'],
|
|
57
|
+
colorHoverError: darkBase['color-red-5'],
|
|
58
|
+
colorHoverPrimary: darkBase['color-primary-5' ],
|
|
59
|
+
colorHoverSuccess: darkBase['color-green-5'],
|
|
60
|
+
colorHoverWarning: darkBase['color-origin-5'],
|
|
61
|
+
|
|
62
|
+
colorPressed: darkToken['fill-color-4'],
|
|
63
|
+
colorPressedError: darkBase['color-red-7'],
|
|
64
|
+
colorPressedPrimary: darkBase['color-primary-7' ],
|
|
65
|
+
colorPressedSuccess: darkBase['color-green-7'],
|
|
66
|
+
colorPressedWarning: darkBase['color-origin-7'],
|
|
67
|
+
|
|
68
|
+
textColor: darkBase['color-gray-8'],
|
|
69
|
+
textColorError: darkToken['color-text-5'],
|
|
70
|
+
textColorPrimary: darkToken['color-text-5'],
|
|
71
|
+
textColorSuccess: darkToken['color-text-5'],
|
|
72
|
+
textColorWarning: darkToken['color-text-5'],
|
|
73
|
+
|
|
74
|
+
textColorDisabled: 'rgba(255, 255, 255, 0.75)',
|
|
75
|
+
textColorDisabledError: 'rgba(255, 255, 255, 0.75)',
|
|
76
|
+
textColorDisabledPrimary: 'rgba(255, 255, 255, 0.75)',
|
|
77
|
+
textColorDisabledSuccess: 'rgba(255, 255, 255, 0.75)',
|
|
78
|
+
textColorDisabledWarning: 'rgba(255, 255, 255, 0.75)',
|
|
79
|
+
|
|
80
|
+
textColorFocus: darkBase['color-gray-8'],
|
|
81
|
+
textColorFocusError: darkToken['color-text-5'],
|
|
82
|
+
textColorFocusPrimary: darkToken['color-text-5'],
|
|
83
|
+
textColorFocusSuccess: darkToken['color-text-5'],
|
|
84
|
+
textColorFocusWarning: darkToken['color-text-5'],
|
|
85
|
+
|
|
86
|
+
textColorHover: darkBase['color-gray-8'],
|
|
87
|
+
textColorHoverError: darkToken['color-text-5'],
|
|
88
|
+
textColorHoverPrimary: darkToken['color-text-5'],
|
|
89
|
+
textColorHoverSuccess: darkToken['color-text-5'],
|
|
90
|
+
textColorHoverWarning: darkToken['color-text-5'],
|
|
91
|
+
|
|
92
|
+
textColorPressed: darkBase['color-gray-8'],
|
|
93
|
+
textColorPressedError: darkToken['color-text-5'],
|
|
94
|
+
textColorPressedPrimary: darkToken['color-text-5'],
|
|
95
|
+
textColorPressedSuccess: darkToken['color-text-5'],
|
|
96
|
+
textColorPressedWarning: darkToken['color-text-5'],
|
|
97
|
+
|
|
98
|
+
textColorGhost: darkBase['color-gray-8'],
|
|
99
|
+
textColorGhostError: darkBase['color-red-6'],
|
|
100
|
+
textColorGhostPrimary: darkBase['color-primary-6'],
|
|
101
|
+
textColorGhostSuccess: darkBase['color-green-6'],
|
|
102
|
+
textColorGhostWarning: darkBase['color-origin-6'],
|
|
103
|
+
|
|
104
|
+
textColorGhostDisabled: 'rgba(255, 255, 255, 0.5)',
|
|
105
|
+
textColorGhostDisabledError: darkToken['color-error-disabled'],
|
|
106
|
+
textColorGhostDisabledPrimary: darkToken['color-primary-disabled'],
|
|
107
|
+
textColorGhostDisabledSuccess: darkToken['color-success-disabled'],
|
|
108
|
+
textColorGhostDisabledWarning: darkToken['color-warning-disabled'],
|
|
109
|
+
|
|
110
|
+
textColorGhostFocus: darkBase['color-gray-8'],
|
|
111
|
+
textColorGhostFocusError: darkBase['color-red-5'],
|
|
112
|
+
textColorGhostFocusPrimary: darkBase['color-primary-5'],
|
|
113
|
+
textColorGhostFocusSuccess: darkBase['color-green-5'],
|
|
114
|
+
textColorGhostFocusWarning: darkBase['color-origin-5'],
|
|
115
|
+
|
|
116
|
+
textColorGhostHover: darkBase['color-gray-8'],
|
|
117
|
+
textColorGhostHoverError: darkBase['color-red-5'],
|
|
118
|
+
textColorGhostHoverPrimary: darkBase['color-primary-5'],
|
|
119
|
+
textColorGhostHoverSuccess: darkBase['color-green-5'],
|
|
120
|
+
textColorGhostHoverWarning: darkBase['color-origin-5'],
|
|
121
|
+
|
|
122
|
+
textColorGhostPressed: darkBase['color-gray-8'],
|
|
123
|
+
textColorGhostPressedError: darkBase['color-red-7'],
|
|
124
|
+
textColorGhostPressedPrimary: darkBase['color-primary-7'],
|
|
125
|
+
textColorGhostPressedSuccess: darkBase['color-green-7'],
|
|
126
|
+
textColorGhostPressedWarning: darkBase['color-origin-7']
|
|
127
|
+
}
|