@insymetri/styleguide 0.1.37 → 0.1.39
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.
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
const density = useDensity()
|
|
22
22
|
|
|
23
23
|
const densityClasses = {
|
|
24
|
-
compact: 'h-28 text-tiny',
|
|
25
|
-
default: 'h-32 text-small',
|
|
26
|
-
comfortable: 'h-40 text-small',
|
|
27
|
-
mobile: 'h-48 text-default',
|
|
24
|
+
compact: 'h-28 px-8 text-tiny',
|
|
25
|
+
default: 'h-32 px-12 text-small',
|
|
26
|
+
comfortable: 'h-40 px-12 text-small',
|
|
27
|
+
mobile: 'h-48 px-16 text-default',
|
|
28
28
|
} as const
|
|
29
29
|
|
|
30
30
|
let containerEl = $state<HTMLDivElement | null>(null)
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
{#each tabs as tab (tab.value)}
|
|
66
66
|
<button
|
|
67
67
|
class={cn(
|
|
68
|
-
'flex items-center
|
|
68
|
+
'flex items-center rounded-control border-none outline-none cursor-default whitespace-nowrap',
|
|
69
69
|
densityClasses[density.value],
|
|
70
70
|
value === tab.value
|
|
71
71
|
? 'bg-gray-100 text-gray-700'
|
package/dist/style/colors.css
CHANGED