@gjfleo/theme 0.2.0 → 0.2.2
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/dist/index.js +1 -2
- package/dist/naive-ui/index.d.ts +33 -6
- package/dist/naive-ui/index.js +1309 -77
- package/dist/unocss/index.js +18 -19
- package/package.json +1 -1
package/dist/unocss/index.js
CHANGED
|
@@ -961,40 +961,39 @@ var themeVariables = {
|
|
|
961
961
|
dangerHover: createHoverColor("#E7000B"),
|
|
962
962
|
dangerPressed: createPressedColor("#E7000B")
|
|
963
963
|
};
|
|
964
|
-
var theme_variables_default = themeVariables;
|
|
965
964
|
|
|
966
965
|
// src/unocss/index.ts
|
|
967
966
|
function extendPresetWind4Theme(theme) {
|
|
968
967
|
theme.colors = theme.colors ?? {};
|
|
969
968
|
theme.colors.primary = {
|
|
970
|
-
DEFAULT:
|
|
971
|
-
hover:
|
|
972
|
-
pressed:
|
|
969
|
+
DEFAULT: themeVariables.primary,
|
|
970
|
+
hover: themeVariables.primaryHover,
|
|
971
|
+
pressed: themeVariables.primaryPressed
|
|
973
972
|
};
|
|
974
973
|
theme.colors.secondary = {
|
|
975
|
-
DEFAULT:
|
|
976
|
-
hover:
|
|
977
|
-
pressed:
|
|
974
|
+
DEFAULT: themeVariables.secondary,
|
|
975
|
+
hover: themeVariables.secondaryHover,
|
|
976
|
+
pressed: themeVariables.secondaryPressed
|
|
978
977
|
};
|
|
979
978
|
theme.colors.info = {
|
|
980
|
-
DEFAULT:
|
|
981
|
-
hover:
|
|
982
|
-
pressed:
|
|
979
|
+
DEFAULT: themeVariables.info,
|
|
980
|
+
hover: themeVariables.infoHover,
|
|
981
|
+
pressed: themeVariables.infoPressed
|
|
983
982
|
};
|
|
984
983
|
theme.colors.success = {
|
|
985
|
-
DEFAULT:
|
|
986
|
-
hover:
|
|
987
|
-
pressed:
|
|
984
|
+
DEFAULT: themeVariables.success,
|
|
985
|
+
hover: themeVariables.successHover,
|
|
986
|
+
pressed: themeVariables.successPressed
|
|
988
987
|
};
|
|
989
988
|
theme.colors.warning = {
|
|
990
|
-
DEFAULT:
|
|
991
|
-
hover:
|
|
992
|
-
pressed:
|
|
989
|
+
DEFAULT: themeVariables.warning,
|
|
990
|
+
hover: themeVariables.warningHover,
|
|
991
|
+
pressed: themeVariables.warningPressed
|
|
993
992
|
};
|
|
994
993
|
theme.colors.danger = {
|
|
995
|
-
DEFAULT:
|
|
996
|
-
hover:
|
|
997
|
-
pressed:
|
|
994
|
+
DEFAULT: themeVariables.danger,
|
|
995
|
+
hover: themeVariables.dangerHover,
|
|
996
|
+
pressed: themeVariables.dangerPressed
|
|
998
997
|
};
|
|
999
998
|
theme.colors.light = {
|
|
1000
999
|
DEFAULT: "oklch(97.31% 0.018 140)",
|