@ttoss/theme 2.5.6 → 2.5.8

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.
@@ -909,7 +909,8 @@ var BruttalTheme = {
909
909
  background: {
910
910
  primary: {
911
911
  default: coreColors.main,
912
- active: coreColors.complimentary
912
+ active: coreColors.gray600,
913
+ disabled: coreColors.gray200
913
914
  },
914
915
  secondary: {
915
916
  default: coreColors.gray100,
@@ -1214,29 +1215,18 @@ var BruttalTheme = {
1214
1215
  color: "action.text.muted.default"
1215
1216
  }
1216
1217
  },
1217
- actionButton: {
1218
- default: {
1219
- backgroundColor: "action.background.secondary.default",
1220
- color: "action.text.primary.default",
1221
- border: "sm",
1222
- borderColor: "action.background.primary.default",
1223
- transition: "all 0.2s",
1224
- ":is(:focus-within, :hover)": {
1225
- backgroundColor: "action.background.secondary.active",
1226
- borderColor: "action.border.secondary.active",
1227
- color: "action.text.secondary.active"
1228
- }
1218
+ close: {
1219
+ color: "action.background.primary.default",
1220
+ ":hover:not(:active,[disabled])": {
1221
+ filter: "brightness(90%)",
1222
+ cursor: "pointer"
1229
1223
  },
1230
- accent: {
1231
- backgroundColor: "action.background.accent.default",
1232
- color: "action.text.accent.default",
1233
- border: "none"
1224
+ ":active": {
1225
+ color: "action.background.primary.active"
1234
1226
  },
1235
- quiet: {
1236
- backgroundColor: "action.background.muted.default",
1237
- color: "action.text.accent.default",
1238
- border: "none",
1239
- borderColor: "transparent"
1227
+ ":disabled": {
1228
+ cursor: "default",
1229
+ color: "action.background.primary.disabled"
1240
1230
  }
1241
1231
  }
1242
1232
  },
@@ -1,4 +1,4 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BrutalIcons, BruttalFonts, BruttalTheme } from "../../chunk-I4UXB2OM.js";
2
+ import { BrutalIcons, BruttalFonts, BruttalTheme } from "../../chunk-4HPNPMY6.js";
3
3
  import "../../chunk-ZYSSWTLH.js";
4
4
  export { BrutalIcons, BruttalFonts, BruttalTheme };
@@ -1,6 +1,6 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
2
  import { createTheme } from "../../chunk-SNDE7LRY.js";
3
- import { BrutalIcons, BruttalTheme } from "../../chunk-I4UXB2OM.js";
3
+ import { BrutalIcons, BruttalTheme } from "../../chunk-4HPNPMY6.js";
4
4
  import { defaultTheme } from "../../chunk-ZYSSWTLH.js";
5
5
 
6
6
  // src/themes/Oca/OcaFonts.ts
@@ -119,7 +119,8 @@ var OcaTheme = createTheme({
119
119
  background: {
120
120
  primary: {
121
121
  default: "#111827",
122
- active: "#111827"
122
+ active: "#111827",
123
+ disabled: "#F3F4F6"
123
124
  },
124
125
  secondary: {
125
126
  default: "#465A69"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/theme",
3
- "version": "2.5.6",
3
+ "version": "2.5.8",
4
4
  "description": "Theme for packages.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -45,8 +45,8 @@
45
45
  "theme-ui": "^0.17.1",
46
46
  "tsup": "^8.3.5",
47
47
  "@ttoss/config": "^1.35.3",
48
- "@ttoss/test-utils": "^2.1.23",
49
- "@ttoss/react-icons": "^0.4.11"
48
+ "@ttoss/react-icons": "^0.4.11",
49
+ "@ttoss/test-utils": "^2.1.23"
50
50
  },
51
51
  "keywords": [],
52
52
  "publishConfig": {