mirror of
https://github.com/raphaelsalaja/userinterface-wiki.git
synced 2026-09-14 20:06:29 +08:00
9d6cfdc7c7
- Introduced multiple CSS files for styles, including reset, typography, shadows, and Radix color imports. - Established CSS variables for spacing, typography, and shadows to ensure consistency across the application. - Implemented styles for various HTML elements to enhance the overall design and readability. This update lays the groundwork for a cohesive design system.
49 lines
978 B
CSS
49 lines
978 B
CSS
.button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px;
|
|
color: var(--gray-a11);
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition:
|
|
color 200ms ease,
|
|
background 200ms ease;
|
|
|
|
&:hover {
|
|
color: var(--gray-a12);
|
|
background: var(--gray-a3);
|
|
}
|
|
|
|
&:active {
|
|
background: var(--gray-a4);
|
|
}
|
|
}
|
|
|
|
.tooltip {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
font-family: var(--font-family-display);
|
|
font-size: 12px;
|
|
font-weight: var(--font-weight-medium);
|
|
line-height: 1;
|
|
color: var(--gray-12);
|
|
letter-spacing: var(--font-letter-spacing-12px);
|
|
background: var(--gray-3);
|
|
border: 1px solid var(--gray-a4);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.kbd {
|
|
padding: 2px 6px;
|
|
font-family: var(--font-family-mono);
|
|
font-size: 11px;
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--gray-a10);
|
|
background: var(--gray-a3);
|
|
border-radius: 4px;
|
|
}
|