Skip to content

Commit 2dbd326

Browse files
committed
cannonical classes
1 parent bf031bd commit 2dbd326

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

packages/skeleton-common/src/classes/date-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const classesDatePicker = defineSkeletonClasses({
55
label: 'label-text',
66
control: 'relative flex flex-col gap-2',
77
input: 'input',
8-
trigger: 'btn-icon btn-icon-sm preset-tonal absolute end-1.5 top-[calc(var(--spacing)*1.25)]',
8+
trigger: 'btn-icon btn-icon-sm preset-tonal absolute end-1.5 top-1.25',
99
clearTrigger: '',
1010
presetTrigger: '',
1111
positioner: '',

packages/skeleton-common/src/classes/switch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const classesSwitch = defineSkeletonClasses({
66
'data-focus-visible:outline-2 data-focus-visible:outline-offset-1 data-focus-visible:outline-surface-950-50',
77
],
88
control: [
9-
'block preset-filled-surface-200-800 h-6 w-10 p-0.5 rounded-full flex justify-start',
9+
'preset-filled-surface-200-800 h-6 w-10 p-0.5 rounded-full flex justify-start',
1010
'data-[state=checked]:preset-filled-primary-500',
1111
],
1212
thumb: [

packages/skeleton-common/src/classes/toggle-group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineSkeletonClasses } from '../internal/define-skeleton-classes.js' w
33
export const classesToggleGroup = defineSkeletonClasses({
44
root: [
55
'inline-flex preset-outlined-surface-200-800 divide-surface-200-800 overflow-hidden rounded-base',
6-
'data-[orientation=horizontal]:divide-x-[1px] data-[orientation=vertical]:divide-y-[1px]',
6+
'data-[orientation=horizontal]:divide-x data-[orientation=vertical]:divide-y',
77
'data-[orientation=horizontal]:flex-row data-[orientation=vertical]:flex-col',
88
],
99
item: [

sites/skeleton.dev/src/components/examples/tailwind-components/tables/full.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const tableData = [
1616
<th>Position</th>
1717
<th>Symbol</th>
1818
<th>Name</th>
19-
<th class="!text-right">Weight</th>
19+
<th class="text-right!">Weight</th>
2020
</tr>
2121
</thead>
2222
<tbody class="[&>tr]:hover:preset-tonal-primary">

sites/skeleton.dev/src/components/landing-page/component-grid.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
<th>Selected</th>
333333
<th>Symbol</th>
334334
<th>Name</th>
335-
<th class="!text-right">Weight</th>
335+
<th class="text-right!">Weight</th>
336336
</tr>
337337
</thead>
338338
<tbody class="[&>tr]:hover:preset-tonal">

sites/skeleton.dev/src/components/ui/process-step.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { step } = Astro.props;
1212
<div class="text-sm preset-filled-surface-200-800 -ml-4 flex size-7 items-center justify-center rounded-full">
1313
{step !== 'check' ? step : <CheckIcon class="size-4" />}
1414
</div>
15-
<article class="[&>.h2]:!text-lg [&>.h3]:!text-lg space-y-4 overflow-y-auto">
15+
<article class="[&>.h2]:text-lg! [&>.h3]:text-lg! space-y-4 overflow-y-auto">
1616
<slot />
1717
</article>
1818
</div>

sites/skeleton.dev/src/content/docs/integrations/bits-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { Image } from 'astro:assets';
1414

1515
<Image src={banner} alt="Bits UI Banner" class="rounded-container shadow-xl" />
1616

17-
<figure class="linker bg-noise !bg-[#cae2f7]">
17+
<figure class="linker bg-noise bg-[#cae2f7]!">
1818
<a class="btn preset-filled" href="https://www.bits-ui.com/" target="_blank">
1919
View Bits UI Docs
2020
</a>

sites/skeleton.dev/src/content/docs/integrations/melt-ui.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { Image } from 'astro:assets';
1414

1515
<Image src={banner} alt="Melt UI Banner" class="rounded-container shadow-xl" />
1616

17-
<figure class="linker bg-noise !bg-[#d59f6a]">
17+
<figure class="linker bg-noise bg-[#d59f6a]!">
1818
<a class="btn preset-filled" href="https://next.melt-ui.com/" target="_blank">
1919
View Melt UI Docs
2020
</a>

0 commit comments

Comments
 (0)