@nexdom/uimed-vue 2.0.0-beta.57 → 2.0.0-beta.58

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/AGENTS.md CHANGED
@@ -179,7 +179,7 @@ Use an existing composable (e.g. `use-toast`) as the reference, and deliver in t
179
179
  - Reuse the shared internal composables for props that recur across components, so every component maps them to Vuetify the same way, instead of mapping them again:
180
180
  - `fullWidth`/`fullHeight`: `useFullWidth`/`useFullHeight` (`src/composables/dimensions/dimensions.ts`), applying Vuetify's `w-100`/`h-100` classes even where the component has `width`/`height` props.
181
181
  - `alignX`/`alignY`: `useAlignX`/`useAlignY` (`src/composables/alignment/alignment.ts`), with the `AlignX`/`AlignY` types from the group's `types.ts`.
182
- - `color`: `useVuetifyColor` (`src/composables/colors/use-vuetify-color.ts`), with the `ColorVariant` type from the group's `types.ts`. Where the color is the text's instead of a fill (e.g. `UButton`'s `ghost` variant), use `useVuetifyTextColor` (`use-vuetify-text-color.ts`) instead: the fills are too light to reach WCAG AA's contrast as text, so each one has a darker text shade in the theme.
182
+ - `color`: `useVuetifyColor` (`src/composables/colors/use-vuetify-color.ts`), with the `ColorVariant` type from the group's `types.ts`. Where the color is the text's instead of a fill (e.g. `UButton`'s `ghost` variant), use `useVuetifyTextColor` (`use-vuetify-text-color.ts`) instead: most fills are too light to reach WCAG AA's contrast as text, so each color has a text shade in the theme, darker than its fill (primary's fill is dark enough to be its own shade).
183
183
 
184
184
  A new prop that does the same as one of these takes its name and type. When a second component needs a mapping that only one component has, move it into a shared composable first.
185
185
 
package/dist/index.js CHANGED
@@ -25,14 +25,14 @@ function createUimed() {
25
25
  colors: {
26
26
  background: "#EAEDF0",
27
27
  surface: "#FCFCFD",
28
- primary: "#00995D",
28
+ primary: "#074D31",
29
29
  secondary: "#FCFCFD",
30
30
  success: "#A9EFC5",
31
31
  warning: "#FFE596",
32
32
  error: "#D92D20",
33
33
  info: "#9ACBE5",
34
- "on-primary": "#000000",
35
- "primary-text": "#007A4A",
34
+ "on-primary": "#FCFCFD",
35
+ "primary-text": "#074D31",
36
36
  "success-text": "#16783E",
37
37
  "info-text": "#277096",
38
38
  "warning-text": "#846300",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexdom/uimed-vue",
3
- "version": "2.0.0-beta.57",
3
+ "version": "2.0.0-beta.58",
4
4
  "description": "A ui framework for NEXDOM applications.",
5
5
  "keywords": [
6
6
  "lib",