summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/button.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-12 13:24:11 -0600
committerAdam <[email protected]>2025-12-12 15:24:41 -0600
commitad008d2151b13b7dd858fa7dc557748a1b7d4d27 (patch)
tree261c1cc5c0f2c0e4a3d831ec4ed7a7e5daf2c282 /packages/ui/src/components/button.css
parent651a10d6dbfbcf5112a8072459907463b7e3c577 (diff)
downloadopencode-ad008d2151b13b7dd858fa7dc557748a1b7d4d27.tar.gz
opencode-ad008d2151b13b7dd858fa7dc557748a1b7d4d27.zip
wip: desktop timeline changes
Diffstat (limited to 'packages/ui/src/components/button.css')
-rw-r--r--packages/ui/src/components/button.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css
index 3a32672fe..c5bd2c696 100644
--- a/packages/ui/src/components/button.css
+++ b/packages/ui/src/components/button.css
@@ -100,6 +100,26 @@
}
}
+ &[data-size="small"] {
+ height: 22px;
+ padding: 0 8px;
+ &[data-icon] {
+ padding: 0 12px 0 4px;
+ }
+
+ font-size: var(--font-size-small);
+ line-height: var(--line-height-large);
+ gap: 4px;
+
+ /* 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="normal"] {
height: 24px;
padding: 0 6px;