Skip to content

Commit

Permalink
refactor: use spacing rule instead of CSS var for spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Feb 17, 2023
1 parent 0b6cb81 commit 59df88b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/demos/list/DemoListSlots.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const items = [
<template #append="{ index }">
<ABtn
variant="outline"
class="text-sm opacity-35 min-h-[24px] [--a-spacing:.5]"
class="text-sm opacity-35 min-h-[24px] spacing-50"
color="default"
:states="false"
>
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-theme-default/src/shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const shortcuts: Exclude<Preset['shortcuts'], undefined | StaticShortcutMap> = [
// 馃憠 Select
'a-select-floating': '[--a-transition-slide-up-transform:6px]',
'a-select-options-container': '',
'a-select-options-list': '[--a-spacing:0.75]',
'a-select-options-list': 'spacing-75',

// 馃憠 Switch
'a-switch': 'select-none',
Expand Down

0 comments on commit 59df88b

Please sign in to comment.