diff options
| author | David Hill <[email protected]> | 2025-12-12 22:50:50 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2025-12-12 22:50:50 +0000 |
| commit | dbc84ff4c347aa446e18b80ef1811c5fd9c886f9 (patch) | |
| tree | d4b4640a6f90ad62b57d6942a2fe3fef232f86bf /packages/ui/src/components/button.css | |
| parent | c11ea3fd923957d8f6c94878e69babdbad194e31 (diff) | |
| parent | 3c3a0f8afbc1325ab53985995826f5ccf6c80737 (diff) | |
| download | opencode-dbc84ff4c347aa446e18b80ef1811c5fd9c886f9.tar.gz opencode-dbc84ff4c347aa446e18b80ef1811c5fd9c886f9.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.css | 20 |
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; |
