compote-ui 0.2.0 → 0.3.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.
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
{#each collection.items as item (item.value)}
|
|
161
161
|
<Combobox.Item
|
|
162
162
|
{item}
|
|
163
|
-
class="relative flex cursor-default items-center rounded-sm py-1.5 pr-8 pl-2 text-sm
|
|
163
|
+
class="relative flex cursor-default items-center rounded-sm py-1.5 pr-8 pl-2 text-sm select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-highlighted:bg-surface-2 data-[state=checked]:bg-surface-2"
|
|
164
164
|
>
|
|
165
165
|
<Combobox.ItemText>{item.label}</Combobox.ItemText>
|
|
166
166
|
<Combobox.ItemIndicator class="absolute right-2 items-center justify-center">
|
package/dist/theme.css
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
@import './props.colors-oklch.css';
|
|
3
3
|
@import './props.gray-oklch.css';
|
|
4
4
|
|
|
5
|
+
@source "./components/**/*.svelte";
|
|
6
|
+
|
|
5
7
|
:root {
|
|
6
8
|
--dim: 0.3;
|
|
7
9
|
--radius: 6px;
|
|
@@ -33,7 +35,7 @@
|
|
|
33
35
|
--compote-surface-document: var(--gray-14);
|
|
34
36
|
--compote-well: var(--gray-15);
|
|
35
37
|
|
|
36
|
-
--compote-primary: var(--color-7);
|
|
38
|
+
--compote-primary: oklch(from var(--color-7) l c var(--hue-orange));
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
|