diff options
| author | Adam <[email protected]> | 2025-10-22 17:31:44 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-22 17:31:49 -0500 |
| commit | 89b703c387aed3ee918d826b788b4be1729bdde9 (patch) | |
| tree | 9a22d26bfc5e921789924e2344d04113660b67a3 /packages/ui/src/components/button.css | |
| parent | eff12cb48453e45590a53a7705c5044a0da9e7f7 (diff) | |
| download | opencode-89b703c387aed3ee918d826b788b4be1729bdde9.tar.gz opencode-89b703c387aed3ee918d826b788b4be1729bdde9.zip | |
wip: desktop work
Diffstat (limited to 'packages/ui/src/components/button.css')
| -rw-r--r-- | packages/ui/src/components/button.css | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index c9ccf4ecb..7bf096853 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -1,5 +1,4 @@ [data-component="button"] { - cursor: pointer; display: inline-flex; align-items: center; justify-content: center; @@ -32,12 +31,7 @@ border-color: var(--border-weak-base); background-color: var(--button-secondary-base); color: var(--text-strong); - - /* shadow-xs */ - box-shadow: - 0 1px 2px -1px rgba(19, 16, 16, 0.04), - 0 1px 2px 0 rgba(19, 16, 16, 0.06), - 0 1px 3px 0 rgba(19, 16, 16, 0.08); + box-shadow: var(--shadow-xs); &:hover:not(:disabled) { border-color: var(--border-hover); @@ -84,12 +78,11 @@ padding: 0 8px 0 6px; gap: 8px; - /* text-12-medium */ font-family: var(--font-family-sans); - font-size: var(--font-size-small); + font-size: var(--font-size-base); font-style: normal; font-weight: var(--font-weight-medium); - line-height: var(--line-height-large); /* 166.667% */ + line-height: var(--line-height-large); /* 171.429% */ letter-spacing: var(--letter-spacing-normal); } |
