@nxgt/material 3.52.0 → 3.54.0
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/CHANGELOG.md +44 -0
- package/README.md +5 -4
- package/dist/{async-slice-BGtmF3K5.js → async-slice-DDSsekfm.js} +2 -2
- package/dist/{button-Ct0KRBsN.js → button-Ct8DSLVv.js} +1 -1
- package/dist/charts.js +1064 -932
- package/dist/{chip-Ca1SEd70.js → chip-BzoNsd-W.js} +2 -2
- package/dist/{code-editor-DtwRhK8B.js → code-editor-DsLQeiZc.js} +6 -6
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-CEclGxhA.js → code-language-items-4zXlIEZ0.js} +2 -2
- package/dist/components/components.css +1 -5
- package/dist/components/theme-tokens.css +19 -15
- package/dist/components/ui/actions/action-card/action-card-tile.css +11 -2
- package/dist/components/ui/collections/data-table/data-table-items-record.css +27 -0
- package/dist/components/ui/collections/data-table/index.css +14 -0
- package/dist/components/ui/overlays/dialog/dialog.css +2 -1
- package/dist/components/ui/overlays/popover/popover.css +3 -2
- package/dist/{components-CzELzsOi.js → components-DFG2mgsM.js} +14052 -13890
- package/dist/components.js +26 -26
- package/dist/{dialog-BIy04Hpd.js → dialog-DwPmwmA3.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/draw-animate.js +1 -1
- package/dist/{dropdown-menu-B0Kd8x3G.js → dropdown-menu-CDN6Nqx6.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-CKxORwFE.js → empty-state-Bb9W9did.js} +2 -2
- package/dist/{escape-owner-BGKjiglh.js → escape-owner-DI_lg2ID.js} +1 -1
- package/dist/{field-blur-Dz1zPaYK.js → field-blur-BcJH8H9B.js} +1 -1
- package/dist/{field-blur-context-1T6GkSNc.js → field-blur-context-Dg1nwWOV.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-BwQ9IRxa.js → hover-card-Qse4gnop.js} +2 -2
- package/dist/i18n-provider-DlVPS58N.js +79 -0
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-D5Ns7ndZ.js → icon-badge-DVPBQOKe.js} +3 -3
- package/dist/{icon-button-VzdqY_Tv.js → icon-button-C3wDxsh6.js} +12 -12
- package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +17 -1
- package/dist/lib/components/ui/actions/action-card/action-card.d.ts +16 -2
- package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +6 -2
- package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +15 -1
- package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +2 -1
- package/dist/lib/components/ui/collections/data-grid/columns/column-codec.d.ts +3 -3
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +5 -5
- package/dist/lib/components/ui/collections/data-grid/columns/row-meta.d.ts +24 -0
- package/dist/lib/components/ui/collections/data-grid/grid-meta.d.ts +19 -6
- package/dist/lib/components/ui/collections/data-table/data-table.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +27 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-context.d.ts +2 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-row.d.ts +8 -0
- package/dist/lib/components/ui/collections/data-table/types.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +7 -2
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +5 -0
- package/dist/lib/components/ui/display/list-tile/internal.d.ts +1 -0
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-dense-text.d.ts +28 -0
- package/dist/lib/components/ui/feedback/toast/toast-text.d.ts +7 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/forms/index.d.ts +2 -0
- package/dist/lib/components/ui/forms/use-fast-form.d.ts +25 -0
- package/dist/lib/components/ui/forms/use-focus-on-refusal.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +10 -1
- package/dist/lib/components/ui/selection/switcher/partials/switcher-tooltip.d.ts +10 -2
- package/dist/lib/components/ui/selection/switcher/partials/switcher-trigger.d.ts +3 -1
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
- package/dist/lib/components/ui/selection/switcher/types.d.ts +7 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-text.d.ts +14 -6
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +57 -10
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +13 -5
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -2
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +6 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/reference-marks.d.ts +1 -1
- package/dist/lib/i18n/material-resources-registry.d.ts +21 -0
- package/dist/lib/i18n/resources/en/en.d.ts +4 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/resources.d.ts +8 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +43 -43
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-D-J3nZFm.js → public-BoVE0ffh.js} +9 -9
- package/dist/{rich-code-block-Ig0ERAa2.js → rich-code-block-DAUM7Yh_.js} +5 -5
- package/dist/{sortable-provider-DfPkSN90.js → sortable-provider-BLXsGE_0.js} +2 -2
- package/dist/{spinner-KQb3YuR_.js → spinner-Rg4PnBPH.js} +1 -1
- package/dist/{stored-language-Cb9FMEwk.js → stored-language-B1lJMPbR.js} +10 -2
- package/dist/styles.css +1 -0
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-BY-SpsFV.js → theme-toggle-jVdxF_mc.js} +1 -1
- package/dist/{toolbar-items-30w9rG5h.js → toolbar-items-BFY_hns5.js} +4 -4
- package/dist/{translate-material-BPl8TQLg.js → translate-material-q-JNxP1m.js} +2 -2
- package/dist/{translator-BnQXtpSZ.js → translator-BU1o3_l9.js} +1 -1
- package/dist/{use-chat-composer-BSKJRYMB.js → use-chat-composer-DGbDuIUa.js} +3758 -3716
- package/dist/{use-heading-spy-BgXA8uz6.js → use-heading-spy-CP63sAcS.js} +1 -1
- package/dist/{use-material-translation-ByM3gD9R.js → use-material-translation-nNF8fUXz.js} +2 -2
- package/dist/use-shape-morph-DXdy2X5g.js +35 -0
- package/docs/components/buttons-and-actions.md +30 -1
- package/docs/components/data-table-filter-and-lists.md +2 -2
- package/docs/components/navigation-and-layout.md +2 -1
- package/docs/components/rich-widgets.md +2 -1
- package/docs/components/selection-and-choice.md +21 -1
- package/docs/guides/app-shell.md +22 -0
- package/docs/guides/cards-and-tiles.md +40 -4
- package/docs/guides/charts.md +30 -2
- package/docs/guides/data-grid.md +80 -3
- package/docs/guides/forms.md +35 -0
- package/docs/guides/i18n.md +6 -2
- package/docs/guides/theming.md +8 -0
- package/docs/roadmap.md +85 -684
- package/docs/troubleshooting.md +36 -0
- package/lib/components/components.css +1 -5
- package/lib/components/theme-tokens.css +19 -15
- package/lib/components/ui/actions/action-card/action-card-tile.css +11 -2
- package/lib/components/ui/collections/data-table/data-table-items-record.css +27 -0
- package/lib/components/ui/collections/data-table/index.css +14 -0
- package/lib/components/ui/overlays/dialog/dialog.css +2 -1
- package/lib/components/ui/overlays/popover/popover.css +3 -2
- package/lib/styles.css +1 -0
- package/lib/themes/ambre.css +8 -6
- package/lib/themes/ardoise.css +8 -6
- package/lib/themes/bleumono.css +8 -6
- package/lib/themes/bluemoon.css +8 -6
- package/lib/themes/corail.css +8 -6
- package/lib/themes/foret.css +8 -6
- package/lib/themes/lavande.css +8 -6
- package/lib/themes/menthe.css +8 -6
- package/lib/themes/ocean.css +8 -6
- package/lib/themes/pink.css +8 -6
- package/lib/themes/prune.css +8 -6
- package/lib/themes/sable.css +8 -6
- package/lib/themes/slate.css +8 -6
- package/lib/themes/teal.css +8 -6
- package/package.json +4 -4
- package/dist/i18n-provider-BFNrM0Qu.js +0 -45
- package/dist/use-shape-morph-BKA_R5P5.js +0 -35
package/docs/troubleshooting.md
CHANGED
|
@@ -25,6 +25,7 @@ words in your error.
|
|
|
25
25
|
|
|
26
26
|
**Styles & assets**
|
|
27
27
|
|
|
28
|
+
- [In dark, my cards are lighter, or my own card colour has no edge](#in-dark-my-cards-are-lighter-or-my-own-card-colour-has-no-edge)
|
|
28
29
|
- [The page and the cards look the same](#the-page-and-the-cards-look-the-same)
|
|
29
30
|
- [Components render unstyled, with no error](#components-render-unstyled-with-no-error)
|
|
30
31
|
- [A link is blue and underlined on hover and focus](#a-link-of-mine-or-of-a-component-is-blue-and-underlined-on-hover-and-focus)
|
|
@@ -273,6 +274,7 @@ words in your error.
|
|
|
273
274
|
- [A `SwitchFormField` shows no validation message](#a-switchformfield-shows-no-validation-message)
|
|
274
275
|
- [A `TimeFormField` shows its error on a desktop but not on a phone](#a-timeformfield-shows-its-error-on-a-desktop-but-not-on-a-phone)
|
|
275
276
|
- [`setError(…, { shouldFocus: true })` or a failed submit does not focus the field](#seterror--shouldfocus-true--or-a-failed-submit-does-not-focus-the-field)
|
|
277
|
+
- [`useFastForm` does not focus the first field](#usefastform-does-not-focus-the-first-field)
|
|
276
278
|
- [`touchedFields` stays empty after leaving a field, or `mode: 'onBlur'` never validates](#touchedfields-stays-empty-after-leaving-a-field-or-mode-onblur-never-validates)
|
|
277
279
|
- ["Required" shows as soon as the calendar opens, or while a date is being picked](#required-shows-as-soon-as-the-calendar-opens-or-while-a-date-is-being-picked)
|
|
278
280
|
- [`TypeError: values.map is not a function` (a `SliderFormField`)](#typeerror-valuesmap-is-not-a-function)
|
|
@@ -744,6 +746,20 @@ import { Background } from '@nxgt/material/backgrounds';
|
|
|
744
746
|
</ActivityLayout>
|
|
745
747
|
```
|
|
746
748
|
|
|
749
|
+
### In dark, my cards are lighter, or my own card colour has no edge
|
|
750
|
+
|
|
751
|
+
Since 3.54 the dark `--card`, `--popover`, `--muted`, `--accent`, `--border` and
|
|
752
|
+
`--input` are 0.03 of lightness higher, and `Card`, `Popover` and `Dialog` draw their edge with
|
|
753
|
+
`--card-edge` (a hairline 8 % lighter than `--card`; in light it is
|
|
754
|
+
`var(--border)`). An app that overrides `--card` under `.dark` keeps its
|
|
755
|
+
colour; the edge follows it only when the override is on the same selector as
|
|
756
|
+
the theme (`.dark` or the theme block). An override on a nested element sets
|
|
757
|
+
`--card-edge` beside `--card`. An app that set its own dark card to
|
|
758
|
+
lift it off the page can drop that override, and one that sets `--card-edge`
|
|
759
|
+
(or `border-color` on a card) keeps it. A theme made with `defineTheme` and
|
|
760
|
+
generated before 3.54 has the former values and no `--card-edge`: regenerate
|
|
761
|
+
it (`nxgt-theme`, or the Vite plugin on the next build).
|
|
762
|
+
|
|
747
763
|
### The page and the cards look the same
|
|
748
764
|
|
|
749
765
|
**When:** a screen under `ActivityLayout`, after the 3.24 upgrade or on an older
|
|
@@ -4736,6 +4752,26 @@ open the section before calling `setError`.
|
|
|
4736
4752
|
`PasswordFormField` or `OtpFormField` (Storybook: `Guides/Forms/Focus on
|
|
4737
4753
|
error`, `Set Focus Password` and `Set Focus Otp`).
|
|
4738
4754
|
|
|
4755
|
+
### `useFastForm` does not focus the first field
|
|
4756
|
+
|
|
4757
|
+
**When:** a form on `useFastForm(props, 'email')` opens and the focus stays
|
|
4758
|
+
where it was, or in a dialog it ends on the dialog instead of the field.
|
|
4759
|
+
**Why:** `useFastForm` calls `setFocus(first)`, which needs the field's `ref`:
|
|
4760
|
+
the field must be a `*FormField` of this form (or give `field.ref` to its
|
|
4761
|
+
control), and it must be mounted. The hook asks again each frame for about half
|
|
4762
|
+
a second, then gives up; it also stops at once when the focus moved, the
|
|
4763
|
+
user's own move included. A form whose hook stays mounted while its dialog is
|
|
4764
|
+
closed focuses only when `active` turns true.
|
|
4765
|
+
**Fix:** pass the dialog's `open` as the third argument, and make sure `first`
|
|
4766
|
+
names a mounted field:
|
|
4767
|
+
|
|
4768
|
+
```tsx
|
|
4769
|
+
const form = useFastForm<Values>({ defaultValues }, 'email', open);
|
|
4770
|
+
```
|
|
4771
|
+
|
|
4772
|
+
Storybook: `Guides/Forms/useFastForm`. See
|
|
4773
|
+
[forms](guides/forms.md#a-form-that-is-quick-to-fill).
|
|
4774
|
+
|
|
4739
4775
|
### `touchedFields` stays empty after leaving a field, or `mode: 'onBlur'` never validates
|
|
4740
4776
|
|
|
4741
4777
|
**When:** a `*FormField` keeps `formState.touchedFields` (and
|
|
@@ -58,11 +58,7 @@
|
|
|
58
58
|
@import "./ui/layout/app-shell/activity-backdrop-shapes.css";
|
|
59
59
|
@import "./ui/layout/auth-card/auth-card-backdrop.css";
|
|
60
60
|
/* DataTable cards and tiles: the item shell (hairline, tint, start bar, columns by the list's width). */
|
|
61
|
-
@import "./ui/collections/data-table/
|
|
62
|
-
@import "./ui/collections/data-table/data-table-items-compact.css";
|
|
63
|
-
@import "./ui/collections/data-table/data-table-items-bar.css";
|
|
64
|
-
@import "./ui/collections/data-table/data-table-items-forced.css";
|
|
65
|
-
@import "./ui/collections/data-table/data-table-items-tiles.css";
|
|
61
|
+
@import "./ui/collections/data-table/index.css";
|
|
66
62
|
/* ServerTable's second header row on a phone: select-all, sort, Filters and the actions. */
|
|
67
63
|
@import "./ui/collections/server-table/server-table-phone-row.css";
|
|
68
64
|
/* Checkbox and Radio: the check that draws in, the dot that springs in, the state layer. */
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
keeps the flat look with `--ground: var(--background)`. */
|
|
12
12
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
13
|
--card: oklch(1 0 0);
|
|
14
|
+
/* The card's edge (Card, Popover, Dialog): the border in light; dark draws it a
|
|
15
|
+
hairline lighter than the card. */
|
|
16
|
+
--card-edge: var(--border);
|
|
14
17
|
--card-foreground: oklch(0.227 0.017 290);
|
|
15
18
|
--strix: oklch(45.91% 0.1864 310.75);
|
|
16
19
|
--popover: oklch(1 0 0);
|
|
@@ -111,38 +114,39 @@
|
|
|
111
114
|
var(--primary) 6%,
|
|
112
115
|
color-mix(in oklab, var(--background) 55%, black)
|
|
113
116
|
);
|
|
114
|
-
--card: oklch(0.
|
|
117
|
+
--card: oklch(0.22 0.019 289.4);
|
|
118
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
115
119
|
--card-foreground: oklch(0.943 0.012 291.3);
|
|
116
|
-
--popover: oklch(0.
|
|
120
|
+
--popover: oklch(0.22 0.019 289.4);
|
|
117
121
|
--popover-foreground: oklch(0.943 0.012 291.3);
|
|
118
122
|
--primary: oklch(46% 0.1135 276.35);
|
|
119
123
|
--primary-foreground: oklch(0.995 0.002 291.3);
|
|
120
124
|
/* Mixed 60 % toward white (the tonal Button labels' recipe): readable as text
|
|
121
125
|
on --background and --card. */
|
|
122
126
|
--primary-text: color-mix(in oklab, var(--primary) 40%, white);
|
|
123
|
-
/* --primary itself is 2.7:1 on --background, 2.
|
|
124
|
-
--muted. Mixed 25 % toward white: 4.8:1, 4.
|
|
127
|
+
/* --primary itself is 2.7:1 on --background, 2.4:1 on --card and 2.1:1 on
|
|
128
|
+
--muted. Mixed 25 % toward white: 4.8:1, 4.2:1 and 3.8:1. */
|
|
125
129
|
--primary-indicator: color-mix(in oklab, var(--primary) 75%, white);
|
|
126
130
|
/* Brighter than the light one: it is read as text on the dark surfaces (6.8:1
|
|
127
|
-
on --background, 6.
|
|
131
|
+
on --background, 6.0:1 on --card; 4.8:1 on its own 15 % tonal tint over a
|
|
128
132
|
Card). A filled secondary surface mixes it toward --background (the opaque
|
|
129
133
|
70 % mix) to keep 5.4:1 under its near-white text (4.9:1 over a Card). */
|
|
130
134
|
--secondary: oklch(0.675 0.1135 245.65);
|
|
131
135
|
--secondary-foreground: oklch(0.995 0.002 291.3);
|
|
132
|
-
--muted: oklch(0.
|
|
136
|
+
--muted: oklch(0.258 0.022 290);
|
|
133
137
|
--muted-foreground: oklch(0.725 0.03 292.2);
|
|
134
|
-
/* 3.7:1 on --background, 3.
|
|
138
|
+
/* 3.7:1 on --background, 3.3:1 on --card; the fill 3.3:1 on the track. */
|
|
135
139
|
--track: oklch(0.53 0.03 290);
|
|
136
140
|
--track-fill: oklch(0.85 0.09 276.35);
|
|
137
141
|
--tooltip: oklch(0.925 0.012 291.3);
|
|
138
142
|
--tooltip-foreground: oklch(0.446 0.043 291);
|
|
139
|
-
--accent: oklch(0.
|
|
143
|
+
--accent: oklch(0.28 0.022 290);
|
|
140
144
|
--accent-foreground: oklch(0.943 0.012 291.3);
|
|
141
145
|
--error: oklch(0.577 0.245 27.325);
|
|
142
146
|
--error-foreground: oklch(0.995 0.002 291.3);
|
|
143
147
|
/* --error stays the fill under near-white text; as text it would give only
|
|
144
148
|
4.0:1 on --background and 3.8:1 on --card. Lightened (76 % --error), 6.25
|
|
145
|
-
and 5.
|
|
149
|
+
and 5.5:1, and 4.9:1 on a focused error menu item (bg-error/20 over the
|
|
146
150
|
popover; the former 80 % missed 4.5:1 once rendered). */
|
|
147
151
|
--error-text: color-mix(in oklab, var(--error) 76%, white);
|
|
148
152
|
/* The light brights: on the dark surfaces they read as text and as the
|
|
@@ -152,15 +156,15 @@
|
|
|
152
156
|
--success-foreground: oklch(0.995 0.002 291.3);
|
|
153
157
|
--info: oklch(0.707 0.165 254.624);
|
|
154
158
|
--info-foreground: oklch(0.995 0.002 291.3);
|
|
155
|
-
/* Amber too, as text: 7.2:1 on --background and 6.
|
|
156
|
-
5.
|
|
157
|
-
6.1:1 on a page and 5.
|
|
159
|
+
/* Amber too, as text: 7.2:1 on --background and 6.3:1 on --card, 6.4:1 and
|
|
160
|
+
5.5:1 on its 10% tint; the badge's 60% fill under near-white text is
|
|
161
|
+
6.1:1 on a page and 5.6:1 on a Card. */
|
|
158
162
|
--warning: oklch(0.7 0.15 70);
|
|
159
163
|
--warning-foreground: oklch(0.995 0.002 291.3);
|
|
160
164
|
--destructive: oklch(0.704 0.191 22.216);
|
|
161
|
-
--border: oklch(0.
|
|
162
|
-
--input: oklch(0.
|
|
163
|
-
/* 4.05:1 on --background, 3.
|
|
165
|
+
--border: oklch(0.289 0.025 291.4);
|
|
166
|
+
--input: oklch(0.328 0.027 291.4);
|
|
167
|
+
/* 4.05:1 on --background, 3.57:1 on --card, 3.22:1 on --muted. */
|
|
164
168
|
--ring: oklch(0.551 0.03 290);
|
|
165
169
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
166
170
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
* wrapper dissolves so its children take the areas. */
|
|
77
77
|
.nxgt-action-card[data-size="tile"] {
|
|
78
78
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
79
|
-
grid-template-areas: "title act" "status status" "desc desc" "meta meta";
|
|
79
|
+
grid-template-areas: "title act" "status status" "desc desc" "meta meta" "foot foot";
|
|
80
80
|
align-items: start;
|
|
81
81
|
/* A taller neighbour stretches the card: keep the rows at the top. */
|
|
82
82
|
align-content: start;
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
"icon title act"
|
|
94
94
|
". status status"
|
|
95
95
|
". desc desc"
|
|
96
|
-
". meta meta"
|
|
96
|
+
". meta meta"
|
|
97
|
+
". foot foot";
|
|
97
98
|
}
|
|
98
99
|
.nxgt-action-card[data-size="tile"] .nxgt-action-card-icon {
|
|
99
100
|
width: 36px;
|
|
@@ -119,6 +120,14 @@
|
|
|
119
120
|
.nxgt-action-card[data-size="tile"] .nxgt-action-card-meta {
|
|
120
121
|
grid-area: meta;
|
|
121
122
|
}
|
|
123
|
+
/* The footer: secondary links, above the stretched title link or button. */
|
|
124
|
+
.nxgt-action-card-footer {
|
|
125
|
+
grid-area: foot;
|
|
126
|
+
position: relative;
|
|
127
|
+
z-index: 1;
|
|
128
|
+
min-width: 0;
|
|
129
|
+
margin-top: 2px;
|
|
130
|
+
}
|
|
122
131
|
.nxgt-action-card[data-size="tile"][data-has-action]
|
|
123
132
|
.nxgt-action-card-action {
|
|
124
133
|
align-self: start;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* The compact record row of a tile (`item.Row`, data-table-item-row.tsx): the
|
|
2
|
+
* dense row of ListTile inside the tile's shell. Direction "A Refined" for the
|
|
3
|
+
* shell; the row is 36px tall under a fine pointer and 44px under a coarse one
|
|
4
|
+
* (the link's `::after` covers the tile, so the whole tile is the target).
|
|
5
|
+
* The title is 13px medium like ListTile's `size="sm"`; a selected tile's
|
|
6
|
+
* title keeps the primary text of data-table-items.css. */
|
|
7
|
+
@layer components {
|
|
8
|
+
[data-slot="data-table-tiles"]
|
|
9
|
+
> [data-slot="data-table-item"]:has([data-slot="data-table-record"]) {
|
|
10
|
+
min-height: 2.25rem;
|
|
11
|
+
padding-block: 0.375rem;
|
|
12
|
+
}
|
|
13
|
+
@media (pointer: coarse) {
|
|
14
|
+
[data-slot="data-table-tiles"]
|
|
15
|
+
> [data-slot="data-table-item"]:has([data-slot="data-table-record"]) {
|
|
16
|
+
min-height: 2.75rem;
|
|
17
|
+
/* The link's 44px box, centred on the title's first line, stays inside
|
|
18
|
+
* the tile when the subtitle and the chips stack under it. */
|
|
19
|
+
padding-block: 0.75rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
[data-slot="data-table-record"] [data-slot="data-table-item-title"] {
|
|
23
|
+
font-size: 0.8125rem;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
line-height: 1.4;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* DataTable cards and tiles, one file per role, in cascade order:
|
|
2
|
+
*
|
|
3
|
+
* data-table-items.css the item shell (hairline, tint, start bar, columns)
|
|
4
|
+
* data-table-items-compact.css compact cards
|
|
5
|
+
* data-table-items-bar.css the list bar
|
|
6
|
+
* data-table-items-forced.css forced colours
|
|
7
|
+
* data-table-items-tiles.css tiles: one column, one surface
|
|
8
|
+
* data-table-items-record.css the compact record row of a tile (item.Row) */
|
|
9
|
+
@import "./data-table-items.css";
|
|
10
|
+
@import "./data-table-items-compact.css";
|
|
11
|
+
@import "./data-table-items-bar.css";
|
|
12
|
+
@import "./data-table-items-forced.css";
|
|
13
|
+
@import "./data-table-items-tiles.css";
|
|
14
|
+
@import "./data-table-items-record.css";
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
--dialog-bg: color-mix(in oklab, var(--primary) 18%, var(--card));
|
|
40
40
|
box-shadow:
|
|
41
41
|
var(--nxgt-elevation-3),
|
|
42
|
-
inset 0 0 0 1px
|
|
42
|
+
inset 0 0 0 1px var(--card-edge),
|
|
43
|
+
inset 0 1px 0 rgb(255 255 255 / 0.03);
|
|
43
44
|
}
|
|
44
45
|
.nxgt-dialog[data-state="open"] {
|
|
45
46
|
animation:
|
|
@@ -30,13 +30,14 @@
|
|
|
30
30
|
--popover-bg: var(--popover);
|
|
31
31
|
--popover-lift:
|
|
32
32
|
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
33
|
-
border: 1px solid var(--
|
|
33
|
+
border: 1px solid var(--card-edge);
|
|
34
34
|
border-radius: var(--radius-md);
|
|
35
35
|
}
|
|
36
36
|
:where(.dark, [data-theme="dark"]) .nxgt-popover {
|
|
37
37
|
--popover-bg: color-mix(in oklab, var(--primary) 16%, var(--popover));
|
|
38
38
|
--popover-lift:
|
|
39
|
-
var(--nxgt-elevation-2), inset 0 0 0 1px
|
|
39
|
+
var(--nxgt-elevation-2), inset 0 0 0 1px var(--card-edge),
|
|
40
|
+
inset 0 1px 0 rgb(255 255 255 / 0.03);
|
|
40
41
|
}
|
|
41
42
|
:where(.dark, [data-theme="dark"]) .nxgt-popover[data-variant="tonal"] {
|
|
42
43
|
--popover-bg: color-mix(in oklab, var(--primary) 34%, var(--popover));
|
package/lib/styles.css
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
--color-background-light: --alpha(var(--background) / 30%);
|
|
58
58
|
--color-foreground: var(--foreground);
|
|
59
59
|
--color-card: var(--card);
|
|
60
|
+
--color-card-edge: var(--card-edge);
|
|
60
61
|
--color-card-foreground: var(--card-foreground);
|
|
61
62
|
--color-popover: var(--popover);
|
|
62
63
|
--color-popover-foreground: var(--popover-foreground);
|
package/lib/themes/ambre.css
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--foreground: oklch(0.227 0.0145 65);
|
|
10
10
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
11
11
|
--card: oklch(1 0 0);
|
|
12
|
+
--card-edge: var(--border);
|
|
12
13
|
--card-foreground: oklch(0.227 0.0145 65);
|
|
13
14
|
--popover: oklch(1 0 0);
|
|
14
15
|
--popover-foreground: oklch(0.227 0.0145 65);
|
|
@@ -76,9 +77,10 @@
|
|
|
76
77
|
--background: oklch(0.15 0.026 273);
|
|
77
78
|
--foreground: oklch(0.943 0.0102 65);
|
|
78
79
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
79
|
-
--card: oklch(0.
|
|
80
|
+
--card: oklch(0.22 0.0161 65);
|
|
81
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
80
82
|
--card-foreground: oklch(0.943 0.0102 65);
|
|
81
|
-
--popover: oklch(0.
|
|
83
|
+
--popover: oklch(0.22 0.0161 65);
|
|
82
84
|
--popover-foreground: oklch(0.943 0.0102 65);
|
|
83
85
|
--primary: oklch(0.52 0.13 48);
|
|
84
86
|
--primary-foreground: oklch(0.995 0.002 65);
|
|
@@ -89,13 +91,13 @@
|
|
|
89
91
|
--tertiary: oklch(0.7 0.14 350);
|
|
90
92
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
91
93
|
--strix: oklch(0.5 0.14 350);
|
|
92
|
-
--muted: oklch(0.
|
|
94
|
+
--muted: oklch(0.258 0.0187 65);
|
|
93
95
|
--muted-foreground: oklch(0.725 0.0255 65);
|
|
94
96
|
--track: oklch(0.53 0.0255 65);
|
|
95
97
|
--track-fill: oklch(0.85 0.09 48);
|
|
96
98
|
--tooltip: oklch(0.925 0.0102 65);
|
|
97
99
|
--tooltip-foreground: oklch(0.446 0.0366 65);
|
|
98
|
-
--accent: oklch(0.
|
|
100
|
+
--accent: oklch(0.28 0.0187 65);
|
|
99
101
|
--accent-foreground: oklch(0.943 0.0102 65);
|
|
100
102
|
--error: oklch(0.577 0.245 27.33);
|
|
101
103
|
--error-foreground: oklch(0.995 0.002 65);
|
|
@@ -107,8 +109,8 @@
|
|
|
107
109
|
--warning: oklch(0.7 0.15 70);
|
|
108
110
|
--warning-foreground: oklch(0.995 0.002 65);
|
|
109
111
|
--destructive: oklch(0.704 0.191 22.216);
|
|
110
|
-
--border: oklch(0.
|
|
111
|
-
--input: oklch(0.
|
|
112
|
+
--border: oklch(0.289 0.0213 65);
|
|
113
|
+
--input: oklch(0.328 0.0229 65);
|
|
112
114
|
--ring: oklch(0.551 0.0255 65);
|
|
113
115
|
--sidebar: oklch(0.19 0.0161 65);
|
|
114
116
|
--sidebar-foreground: oklch(0.943 0.0102 65);
|
package/lib/themes/ardoise.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--foreground: oklch(0.227 0.0119 250);
|
|
9
9
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
10
10
|
--card: oklch(1 0 0);
|
|
11
|
+
--card-edge: var(--border);
|
|
11
12
|
--card-foreground: oklch(0.227 0.0119 250);
|
|
12
13
|
--popover: oklch(1 0 0);
|
|
13
14
|
--popover-foreground: oklch(0.227 0.0119 250);
|
|
@@ -75,9 +76,10 @@
|
|
|
75
76
|
--background: oklch(0.15 0.026 273);
|
|
76
77
|
--foreground: oklch(0.943 0.0084 250);
|
|
77
78
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
78
|
-
--card: oklch(0.
|
|
79
|
+
--card: oklch(0.22 0.0133 250);
|
|
80
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
79
81
|
--card-foreground: oklch(0.943 0.0084 250);
|
|
80
|
-
--popover: oklch(0.
|
|
82
|
+
--popover: oklch(0.22 0.0133 250);
|
|
81
83
|
--popover-foreground: oklch(0.943 0.0084 250);
|
|
82
84
|
--primary: oklch(0.45 0.065 252);
|
|
83
85
|
--primary-foreground: oklch(0.995 0.002 250);
|
|
@@ -88,13 +90,13 @@
|
|
|
88
90
|
--tertiary: oklch(0.7 0.1 290);
|
|
89
91
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
90
92
|
--strix: oklch(0.48 0.1 290);
|
|
91
|
-
--muted: oklch(0.
|
|
93
|
+
--muted: oklch(0.258 0.0154 250);
|
|
92
94
|
--muted-foreground: oklch(0.725 0.021 250);
|
|
93
95
|
--track: oklch(0.53 0.021 250);
|
|
94
96
|
--track-fill: oklch(0.85 0.09 252);
|
|
95
97
|
--tooltip: oklch(0.925 0.0084 250);
|
|
96
98
|
--tooltip-foreground: oklch(0.446 0.0301 250);
|
|
97
|
-
--accent: oklch(0.
|
|
99
|
+
--accent: oklch(0.28 0.0154 250);
|
|
98
100
|
--accent-foreground: oklch(0.943 0.0084 250);
|
|
99
101
|
--error: oklch(0.577 0.245 27.33);
|
|
100
102
|
--error-foreground: oklch(0.995 0.002 250);
|
|
@@ -106,8 +108,8 @@
|
|
|
106
108
|
--warning: oklch(0.7 0.15 70);
|
|
107
109
|
--warning-foreground: oklch(0.995 0.002 250);
|
|
108
110
|
--destructive: oklch(0.704 0.191 22.216);
|
|
109
|
-
--border: oklch(0.
|
|
110
|
-
--input: oklch(0.
|
|
111
|
+
--border: oklch(0.289 0.0175 250);
|
|
112
|
+
--input: oklch(0.328 0.0189 250);
|
|
111
113
|
--ring: oklch(0.551 0.021 250);
|
|
112
114
|
--sidebar: oklch(0.19 0.0133 250);
|
|
113
115
|
--sidebar-foreground: oklch(0.943 0.0084 250);
|
package/lib/themes/bleumono.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--foreground: oklch(0.227 0.0187 255);
|
|
12
12
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
13
|
--card: oklch(1 0 0);
|
|
14
|
+
--card-edge: var(--border);
|
|
14
15
|
--card-foreground: oklch(0.227 0.0187 255);
|
|
15
16
|
--popover: oklch(1 0 0);
|
|
16
17
|
--popover-foreground: oklch(0.227 0.0187 255);
|
|
@@ -78,9 +79,10 @@
|
|
|
78
79
|
--background: oklch(0.15 0.026 273);
|
|
79
80
|
--foreground: oklch(0.943 0.0132 255);
|
|
80
81
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
81
|
-
--card: oklch(0.
|
|
82
|
+
--card: oklch(0.22 0.0209 255);
|
|
83
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
82
84
|
--card-foreground: oklch(0.943 0.0132 255);
|
|
83
|
-
--popover: oklch(0.
|
|
85
|
+
--popover: oklch(0.22 0.0209 255);
|
|
84
86
|
--popover-foreground: oklch(0.943 0.0132 255);
|
|
85
87
|
--primary: oklch(0.46 0.13 255);
|
|
86
88
|
--primary-foreground: oklch(0.995 0.002 255);
|
|
@@ -91,13 +93,13 @@
|
|
|
91
93
|
--tertiary: oklch(0.82 0.09 255);
|
|
92
94
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
93
95
|
--strix: oklch(0.38 0.1254 255);
|
|
94
|
-
--muted: oklch(0.
|
|
96
|
+
--muted: oklch(0.258 0.0242 255);
|
|
95
97
|
--muted-foreground: oklch(0.725 0.033 255);
|
|
96
98
|
--track: oklch(0.53 0.033 255);
|
|
97
99
|
--track-fill: oklch(0.85 0.09 255);
|
|
98
100
|
--tooltip: oklch(0.925 0.0132 255);
|
|
99
101
|
--tooltip-foreground: oklch(0.446 0.0473 255);
|
|
100
|
-
--accent: oklch(0.
|
|
102
|
+
--accent: oklch(0.28 0.0242 255);
|
|
101
103
|
--accent-foreground: oklch(0.943 0.0132 255);
|
|
102
104
|
--error: oklch(0.577 0.245 27.33);
|
|
103
105
|
--error-foreground: oklch(0.995 0.002 255);
|
|
@@ -109,8 +111,8 @@
|
|
|
109
111
|
--warning: oklch(0.7 0.15 70);
|
|
110
112
|
--warning-foreground: oklch(0.995 0.002 255);
|
|
111
113
|
--destructive: oklch(0.704 0.191 22.216);
|
|
112
|
-
--border: oklch(0.
|
|
113
|
-
--input: oklch(0.
|
|
114
|
+
--border: oklch(0.289 0.0275 255);
|
|
115
|
+
--input: oklch(0.328 0.0297 255);
|
|
114
116
|
--ring: oklch(0.551 0.033 255);
|
|
115
117
|
--sidebar: oklch(0.19 0.0209 255);
|
|
116
118
|
--sidebar-foreground: oklch(0.943 0.0132 255);
|
package/lib/themes/bluemoon.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--foreground: oklch(0.227 0.017 265);
|
|
12
12
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
13
|
--card: oklch(1 0 0);
|
|
14
|
+
--card-edge: var(--border);
|
|
14
15
|
--card-foreground: oklch(0.227 0.017 265);
|
|
15
16
|
--popover: oklch(1 0 0);
|
|
16
17
|
--popover-foreground: oklch(0.227 0.017 265);
|
|
@@ -78,9 +79,10 @@
|
|
|
78
79
|
--background: oklch(0.15 0.026 273);
|
|
79
80
|
--foreground: oklch(0.943 0.012 265);
|
|
80
81
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
81
|
-
--card: oklch(0.
|
|
82
|
+
--card: oklch(0.22 0.019 265);
|
|
83
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
82
84
|
--card-foreground: oklch(0.943 0.012 265);
|
|
83
|
-
--popover: oklch(0.
|
|
85
|
+
--popover: oklch(0.22 0.019 265);
|
|
84
86
|
--popover-foreground: oklch(0.943 0.012 265);
|
|
85
87
|
--primary: oklch(0.45 0.12 265);
|
|
86
88
|
--primary-foreground: oklch(0.995 0.002 265);
|
|
@@ -91,13 +93,13 @@
|
|
|
91
93
|
--tertiary: oklch(0.7 0.08 290);
|
|
92
94
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
93
95
|
--strix: oklch(0.5625 0.08 290);
|
|
94
|
-
--muted: oklch(0.
|
|
96
|
+
--muted: oklch(0.258 0.022 265);
|
|
95
97
|
--muted-foreground: oklch(0.725 0.03 265);
|
|
96
98
|
--track: oklch(0.53 0.03 265);
|
|
97
99
|
--track-fill: oklch(0.85 0.09 265);
|
|
98
100
|
--tooltip: oklch(0.925 0.012 265);
|
|
99
101
|
--tooltip-foreground: oklch(0.446 0.043 265);
|
|
100
|
-
--accent: oklch(0.
|
|
102
|
+
--accent: oklch(0.28 0.022 265);
|
|
101
103
|
--accent-foreground: oklch(0.943 0.012 265);
|
|
102
104
|
--error: oklch(0.577 0.245 27.33);
|
|
103
105
|
--error-foreground: oklch(0.995 0.002 265);
|
|
@@ -109,8 +111,8 @@
|
|
|
109
111
|
--warning: oklch(0.7 0.15 70);
|
|
110
112
|
--warning-foreground: oklch(0.995 0.002 265);
|
|
111
113
|
--destructive: oklch(0.704 0.191 22.216);
|
|
112
|
-
--border: oklch(0.
|
|
113
|
-
--input: oklch(0.
|
|
114
|
+
--border: oklch(0.289 0.025 265);
|
|
115
|
+
--input: oklch(0.328 0.027 265);
|
|
114
116
|
--ring: oklch(0.551 0.03 265);
|
|
115
117
|
--sidebar: oklch(0.19 0.019 265);
|
|
116
118
|
--sidebar-foreground: oklch(0.943 0.012 265);
|
package/lib/themes/corail.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--foreground: oklch(0.227 0.0136 30);
|
|
12
12
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
13
|
--card: oklch(1 0 0);
|
|
14
|
+
--card-edge: var(--border);
|
|
14
15
|
--card-foreground: oklch(0.227 0.0136 30);
|
|
15
16
|
--popover: oklch(1 0 0);
|
|
16
17
|
--popover-foreground: oklch(0.227 0.0136 30);
|
|
@@ -78,9 +79,10 @@
|
|
|
78
79
|
--background: oklch(0.15 0.026 273);
|
|
79
80
|
--foreground: oklch(0.943 0.0096 30);
|
|
80
81
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
81
|
-
--card: oklch(0.
|
|
82
|
+
--card: oklch(0.22 0.0152 30);
|
|
83
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
82
84
|
--card-foreground: oklch(0.943 0.0096 30);
|
|
83
|
-
--popover: oklch(0.
|
|
85
|
+
--popover: oklch(0.22 0.0152 30);
|
|
84
86
|
--popover-foreground: oklch(0.943 0.0096 30);
|
|
85
87
|
--primary: oklch(0.575 0.17 35);
|
|
86
88
|
--primary-foreground: oklch(0.995 0.002 30);
|
|
@@ -91,13 +93,13 @@
|
|
|
91
93
|
--tertiary: oklch(0.7 0.1 200);
|
|
92
94
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
93
95
|
--strix: oklch(0.5 0.085 200);
|
|
94
|
-
--muted: oklch(0.
|
|
96
|
+
--muted: oklch(0.258 0.0176 30);
|
|
95
97
|
--muted-foreground: oklch(0.725 0.024 30);
|
|
96
98
|
--track: oklch(0.53 0.024 30);
|
|
97
99
|
--track-fill: oklch(0.85 0.09 35);
|
|
98
100
|
--tooltip: oklch(0.925 0.0096 30);
|
|
99
101
|
--tooltip-foreground: oklch(0.446 0.0344 30);
|
|
100
|
-
--accent: oklch(0.
|
|
102
|
+
--accent: oklch(0.28 0.0176 30);
|
|
101
103
|
--accent-foreground: oklch(0.943 0.0096 30);
|
|
102
104
|
--error: oklch(0.577 0.245 27.33);
|
|
103
105
|
--error-foreground: oklch(0.995 0.002 30);
|
|
@@ -109,8 +111,8 @@
|
|
|
109
111
|
--warning: oklch(0.7 0.15 70);
|
|
110
112
|
--warning-foreground: oklch(0.995 0.002 30);
|
|
111
113
|
--destructive: oklch(0.704 0.191 22.216);
|
|
112
|
-
--border: oklch(0.
|
|
113
|
-
--input: oklch(0.
|
|
114
|
+
--border: oklch(0.289 0.02 30);
|
|
115
|
+
--input: oklch(0.328 0.0216 30);
|
|
114
116
|
--ring: oklch(0.551 0.024 30);
|
|
115
117
|
--sidebar: oklch(0.19 0.0152 30);
|
|
116
118
|
--sidebar-foreground: oklch(0.943 0.0096 30);
|
package/lib/themes/foret.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--foreground: oklch(0.227 0.0136 140);
|
|
9
9
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
10
10
|
--card: oklch(1 0 0);
|
|
11
|
+
--card-edge: var(--border);
|
|
11
12
|
--card-foreground: oklch(0.227 0.0136 140);
|
|
12
13
|
--popover: oklch(1 0 0);
|
|
13
14
|
--popover-foreground: oklch(0.227 0.0136 140);
|
|
@@ -75,9 +76,10 @@
|
|
|
75
76
|
--background: oklch(0.15 0.026 273);
|
|
76
77
|
--foreground: oklch(0.943 0.0096 140);
|
|
77
78
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
78
|
-
--card: oklch(0.
|
|
79
|
+
--card: oklch(0.22 0.0152 140);
|
|
80
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
79
81
|
--card-foreground: oklch(0.943 0.0096 140);
|
|
80
|
-
--popover: oklch(0.
|
|
82
|
+
--popover: oklch(0.22 0.0152 140);
|
|
81
83
|
--popover-foreground: oklch(0.943 0.0096 140);
|
|
82
84
|
--primary: oklch(0.48 0.1 152);
|
|
83
85
|
--primary-foreground: oklch(0.995 0.002 140);
|
|
@@ -88,13 +90,13 @@
|
|
|
88
90
|
--tertiary: oklch(0.7 0.1 55);
|
|
89
91
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
90
92
|
--strix: oklch(0.5 0.1 55);
|
|
91
|
-
--muted: oklch(0.
|
|
93
|
+
--muted: oklch(0.258 0.0176 140);
|
|
92
94
|
--muted-foreground: oklch(0.725 0.024 140);
|
|
93
95
|
--track: oklch(0.53 0.024 140);
|
|
94
96
|
--track-fill: oklch(0.85 0.09 152);
|
|
95
97
|
--tooltip: oklch(0.925 0.0096 140);
|
|
96
98
|
--tooltip-foreground: oklch(0.446 0.0344 140);
|
|
97
|
-
--accent: oklch(0.
|
|
99
|
+
--accent: oklch(0.28 0.0176 140);
|
|
98
100
|
--accent-foreground: oklch(0.943 0.0096 140);
|
|
99
101
|
--error: oklch(0.577 0.245 27.33);
|
|
100
102
|
--error-foreground: oklch(0.995 0.002 140);
|
|
@@ -106,8 +108,8 @@
|
|
|
106
108
|
--warning: oklch(0.7 0.15 70);
|
|
107
109
|
--warning-foreground: oklch(0.995 0.002 140);
|
|
108
110
|
--destructive: oklch(0.704 0.191 22.216);
|
|
109
|
-
--border: oklch(0.
|
|
110
|
-
--input: oklch(0.
|
|
111
|
+
--border: oklch(0.289 0.02 140);
|
|
112
|
+
--input: oklch(0.328 0.0216 140);
|
|
111
113
|
--ring: oklch(0.551 0.024 140);
|
|
112
114
|
--sidebar: oklch(0.19 0.0152 140);
|
|
113
115
|
--sidebar-foreground: oklch(0.943 0.0096 140);
|
package/lib/themes/lavande.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--foreground: oklch(0.227 0.017 290);
|
|
9
9
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
10
10
|
--card: oklch(1 0 0);
|
|
11
|
+
--card-edge: var(--border);
|
|
11
12
|
--card-foreground: oklch(0.227 0.017 290);
|
|
12
13
|
--popover: oklch(1 0 0);
|
|
13
14
|
--popover-foreground: oklch(0.227 0.017 290);
|
|
@@ -75,9 +76,10 @@
|
|
|
75
76
|
--background: oklch(0.15 0.026 273);
|
|
76
77
|
--foreground: oklch(0.943 0.012 291.3);
|
|
77
78
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
78
|
-
--card: oklch(0.
|
|
79
|
+
--card: oklch(0.22 0.019 289.4);
|
|
80
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
79
81
|
--card-foreground: oklch(0.943 0.012 291.3);
|
|
80
|
-
--popover: oklch(0.
|
|
82
|
+
--popover: oklch(0.22 0.019 289.4);
|
|
81
83
|
--popover-foreground: oklch(0.943 0.012 291.3);
|
|
82
84
|
--primary: oklch(0.46 0.1135 276.35);
|
|
83
85
|
--primary-foreground: oklch(0.995 0.002 291.3);
|
|
@@ -88,13 +90,13 @@
|
|
|
88
90
|
--tertiary: oklch(0.7 0.15 310.75);
|
|
89
91
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
90
92
|
--strix: oklch(0.4591 0.1864 310.75);
|
|
91
|
-
--muted: oklch(0.
|
|
93
|
+
--muted: oklch(0.258 0.022 290);
|
|
92
94
|
--muted-foreground: oklch(0.725 0.03 292.2);
|
|
93
95
|
--track: oklch(0.53 0.03 290);
|
|
94
96
|
--track-fill: oklch(0.85 0.09 276.35);
|
|
95
97
|
--tooltip: oklch(0.925 0.012 291.3);
|
|
96
98
|
--tooltip-foreground: oklch(0.446 0.043 291);
|
|
97
|
-
--accent: oklch(0.
|
|
99
|
+
--accent: oklch(0.28 0.022 290);
|
|
98
100
|
--accent-foreground: oklch(0.943 0.012 291.3);
|
|
99
101
|
--error: oklch(0.577 0.245 27.325);
|
|
100
102
|
--error-foreground: oklch(0.995 0.002 291.3);
|
|
@@ -106,8 +108,8 @@
|
|
|
106
108
|
--warning: oklch(0.7 0.15 70);
|
|
107
109
|
--warning-foreground: oklch(0.995 0.002 291.3);
|
|
108
110
|
--destructive: oklch(0.704 0.191 22.216);
|
|
109
|
-
--border: oklch(0.
|
|
110
|
-
--input: oklch(0.
|
|
111
|
+
--border: oklch(0.289 0.025 291.4);
|
|
112
|
+
--input: oklch(0.328 0.027 291.4);
|
|
111
113
|
--ring: oklch(0.551 0.03 290);
|
|
112
114
|
--sidebar: oklch(0.19 0.019 289.4);
|
|
113
115
|
--sidebar-foreground: oklch(0.943 0.012 291.3);
|
package/lib/themes/menthe.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
--foreground: oklch(0.227 0.0136 170);
|
|
12
12
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
13
|
--card: oklch(1 0 0);
|
|
14
|
+
--card-edge: var(--border);
|
|
14
15
|
--card-foreground: oklch(0.227 0.0136 170);
|
|
15
16
|
--popover: oklch(1 0 0);
|
|
16
17
|
--popover-foreground: oklch(0.227 0.0136 170);
|
|
@@ -78,9 +79,10 @@
|
|
|
78
79
|
--background: oklch(0.15 0.026 273);
|
|
79
80
|
--foreground: oklch(0.943 0.0096 170);
|
|
80
81
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
81
|
-
--card: oklch(0.
|
|
82
|
+
--card: oklch(0.22 0.0152 170);
|
|
83
|
+
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
82
84
|
--card-foreground: oklch(0.943 0.0096 170);
|
|
83
|
-
--popover: oklch(0.
|
|
85
|
+
--popover: oklch(0.22 0.0152 170);
|
|
84
86
|
--popover-foreground: oklch(0.943 0.0096 170);
|
|
85
87
|
--primary: oklch(0.5 0.1013 168);
|
|
86
88
|
--primary-foreground: oklch(0.995 0.002 170);
|
|
@@ -91,13 +93,13 @@
|
|
|
91
93
|
--tertiary: oklch(0.7 0.11 120);
|
|
92
94
|
--tertiary-foreground: oklch(0.15 0.026 273);
|
|
93
95
|
--strix: oklch(0.52 0.11 120);
|
|
94
|
-
--muted: oklch(0.
|
|
96
|
+
--muted: oklch(0.258 0.0176 170);
|
|
95
97
|
--muted-foreground: oklch(0.725 0.024 170);
|
|
96
98
|
--track: oklch(0.53 0.024 170);
|
|
97
99
|
--track-fill: oklch(0.85 0.09 168);
|
|
98
100
|
--tooltip: oklch(0.925 0.0096 170);
|
|
99
101
|
--tooltip-foreground: oklch(0.446 0.0344 170);
|
|
100
|
-
--accent: oklch(0.
|
|
102
|
+
--accent: oklch(0.28 0.0176 170);
|
|
101
103
|
--accent-foreground: oklch(0.943 0.0096 170);
|
|
102
104
|
--error: oklch(0.577 0.245 27.33);
|
|
103
105
|
--error-foreground: oklch(0.995 0.002 170);
|
|
@@ -109,8 +111,8 @@
|
|
|
109
111
|
--warning: oklch(0.7 0.15 70);
|
|
110
112
|
--warning-foreground: oklch(0.995 0.002 170);
|
|
111
113
|
--destructive: oklch(0.704 0.191 22.216);
|
|
112
|
-
--border: oklch(0.
|
|
113
|
-
--input: oklch(0.
|
|
114
|
+
--border: oklch(0.289 0.02 170);
|
|
115
|
+
--input: oklch(0.328 0.0216 170);
|
|
114
116
|
--ring: oklch(0.551 0.024 170);
|
|
115
117
|
--sidebar: oklch(0.19 0.0152 170);
|
|
116
118
|
--sidebar-foreground: oklch(0.943 0.0096 170);
|