Skip to content

Commit 6b2a1b2

Browse files
refactor(components): use explicit size tokens instead of spacing tokens
- Replace var(--lp-spacing-400) var(--lp-spacing-500) with var(--lp-size-12) var(--lp-size-16) - Update changeset description to reference size tokens for clarity - Addresses PR feedback from matthewferry Co-Authored-By: cpursley@launchdarkly.com <cpursley@launchdarkly.com>
1 parent e8c1918 commit 6b2a1b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/update-popover-padding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
feat(components): update DialogTrigger popover padding
66

77
Updates DialogTrigger popover padding from uniform 8px to differentiated vertical/horizontal padding:
8-
- Vertical padding: 8px → 12px (var(--lp-spacing-400))
9-
- Horizontal padding: 8px → 16px (var(--lp-spacing-500))
8+
- Vertical padding: 8px → 12px (var(--lp-size-12))
9+
- Horizontal padding: 8px → 16px (var(--lp-size-16))

packages/components/src/styles/Popover.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
&[data-trigger='DialogTrigger'] {
40-
padding: var(--lp-spacing-400) var(--lp-spacing-500);
40+
padding: var(--lp-size-12) var(--lp-size-16);
4141
}
4242

4343
&[data-trigger='ComboBoxDialog'] {

0 commit comments

Comments
 (0)