@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.
@@ -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: theme_variables_default.primary,
971
- hover: theme_variables_default.primaryHover,
972
- pressed: theme_variables_default.primaryPressed
969
+ DEFAULT: themeVariables.primary,
970
+ hover: themeVariables.primaryHover,
971
+ pressed: themeVariables.primaryPressed
973
972
  };
974
973
  theme.colors.secondary = {
975
- DEFAULT: theme_variables_default.secondary,
976
- hover: theme_variables_default.secondaryHover,
977
- pressed: theme_variables_default.secondaryPressed
974
+ DEFAULT: themeVariables.secondary,
975
+ hover: themeVariables.secondaryHover,
976
+ pressed: themeVariables.secondaryPressed
978
977
  };
979
978
  theme.colors.info = {
980
- DEFAULT: theme_variables_default.info,
981
- hover: theme_variables_default.infoHover,
982
- pressed: theme_variables_default.infoPressed
979
+ DEFAULT: themeVariables.info,
980
+ hover: themeVariables.infoHover,
981
+ pressed: themeVariables.infoPressed
983
982
  };
984
983
  theme.colors.success = {
985
- DEFAULT: theme_variables_default.success,
986
- hover: theme_variables_default.successHover,
987
- pressed: theme_variables_default.successPressed
984
+ DEFAULT: themeVariables.success,
985
+ hover: themeVariables.successHover,
986
+ pressed: themeVariables.successPressed
988
987
  };
989
988
  theme.colors.warning = {
990
- DEFAULT: theme_variables_default.warning,
991
- hover: theme_variables_default.warningHover,
992
- pressed: theme_variables_default.warningPressed
989
+ DEFAULT: themeVariables.warning,
990
+ hover: themeVariables.warningHover,
991
+ pressed: themeVariables.warningPressed
993
992
  };
994
993
  theme.colors.danger = {
995
- DEFAULT: theme_variables_default.danger,
996
- hover: theme_variables_default.dangerHover,
997
- pressed: theme_variables_default.dangerPressed
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)",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gjfleo/theme",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "description": "GjfLeo's themes.",
6
6
  "author": "gjfLeo <gjfLeo@yeah.net>",
7
7
  "exports": {