vueless 0.0.651 → 0.0.653

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/utils/theme.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.651",
3
+ "version": "0.0.653",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -66,7 +66,7 @@
66
66
  "@vue/eslint-config-prettier": "^10.0.0",
67
67
  "@vue/eslint-config-typescript": "^14.1.1",
68
68
  "@vue/tsconfig": "^0.5.1",
69
- "@vueless/storybook": "^0.0.57",
69
+ "@vueless/storybook": "^0.0.59",
70
70
  "autoprefixer": "^10.4.19",
71
71
  "cssnano": "^6.1.2",
72
72
  "eslint": "^9.12.0",
package/utils/theme.ts CHANGED
@@ -151,8 +151,14 @@ export function setTheme(config: Config = {}) {
151
151
  brand = gray;
152
152
  }
153
153
 
154
+ /* Remove deprecated color aliases. */
155
+ delete (tailwindColors as Partial<DefaultColors>).lightBlue;
156
+ delete (tailwindColors as Partial<DefaultColors>).warmGray;
157
+ delete (tailwindColors as Partial<DefaultColors>).trueGray;
158
+ delete (tailwindColors as Partial<DefaultColors>).coolGray;
159
+ delete (tailwindColors as Partial<DefaultColors>).blueGray;
160
+
154
161
  const colors: DefaultColors = merge(
155
- {},
156
162
  tailwindColors,
157
163
  tailwindConfig?.theme?.extend?.colors || {},
158
164
  vuelessConfig?.tailwindTheme?.extend?.colors || {},