summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/button.css
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2025-12-11 00:46:07 +0000
committerDavid Hill <[email protected]>2025-12-11 00:46:07 +0000
commita468044c9fb4ece1f1ae4685d46eb875751b66d8 (patch)
treea1879744be543886fa1f50190aff37db8b218c52 /packages/ui/src/components/button.css
parentf0274fd29f7301b8ca79b1573b26efd8d08f31d6 (diff)
parentfadeed1fa4caacf34054b231784513a841745766 (diff)
downloadopencode-a468044c9fb4ece1f1ae4685d46eb875751b66d8.tar.gz
opencode-a468044c9fb4ece1f1ae4685d46eb875751b66d8.zip
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'packages/ui/src/components/button.css')
-rw-r--r--packages/ui/src/components/button.css18
1 files changed, 13 insertions, 5 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css
index 192c7b60c..f95317028 100644
--- a/packages/ui/src/components/button.css
+++ b/packages/ui/src/components/button.css
@@ -102,12 +102,20 @@
height: 24px;
padding: 0 6px;
&[data-icon] {
- padding: 0 8px 0 6px;
+ padding: 0 12px 0 4px;
}
font-size: var(--font-size-small);
line-height: var(--line-height-large);
gap: 6px;
+
+ /* text-12-medium */
+ font-family: var(--font-family-sans);
+ font-size: var(--font-size-small);
+ font-style: normal;
+ font-weight: var(--font-weight-medium);
+ line-height: var(--line-height-large); /* 166.667% */
+ letter-spacing: var(--letter-spacing-normal);
}
&[data-size="large"] {
@@ -115,17 +123,17 @@
padding: 0 8px;
&[data-icon] {
- padding: 0 8px 0 6px;
+ padding: 0 12px 0 8px;
}
gap: 8px;
- /* text-12-medium */
+ /* text-14-medium */
font-family: var(--font-family-sans);
- font-size: var(--font-size-small);
+ font-size: 14px;
font-style: normal;
font-weight: var(--font-weight-medium);
- line-height: var(--line-height-large); /* 166.667% */
+ line-height: var(--line-height-large); /* 142.857% */
letter-spacing: var(--letter-spacing-normal);
}