mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Control scale: Button/IconButton primitives, two-height tokens, app-wide migration
This commit is contained in:
@@ -8,18 +8,22 @@
|
||||
*/
|
||||
.group {
|
||||
display: inline-flex;
|
||||
/* The control scale (tokens.css): the 1px borders live inside the 32px box. */
|
||||
height: var(--control-height);
|
||||
border: var(--border-width) solid var(--border-strong);
|
||||
}
|
||||
|
||||
.option {
|
||||
appearance: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
border: none;
|
||||
background: var(--bg);
|
||||
color: var(--text-secondary);
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
padding: 0 var(--space-3);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background var(--dur-fast) var(--ease),
|
||||
|
||||
Reference in New Issue
Block a user