PlanTempusApp/PlanTempus.Application/wwwroot/css/design-system.css

105 lines
2.3 KiB
CSS
Raw Normal View History

2026-01-10 20:39:17 +01:00
/**
* SWP Design System
2026-01-10 20:39:17 +01:00
*
* Entry point for all design tokens and base styles.
* Import this file in your layout to get the complete design system.
2026-01-10 20:39:17 +01:00
*/
@import url('design-tokens.css');
2026-01-10 20:39:17 +01:00
/* ===========================================
BASE RESETS & DEFAULTS
2026-01-10 20:39:17 +01:00
=========================================== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
2026-01-10 20:39:17 +01:00
}
html {
font-size: var(--font-size-base);
line-height: var(--line-height-normal);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2026-01-10 20:39:17 +01:00
}
body {
font-family: var(--font-family);
color: var(--color-text);
background-color: var(--color-background);
2026-01-10 20:39:17 +01:00
}
/* ===========================================
TYPOGRAPHY DEFAULTS
2026-01-10 20:39:17 +01:00
=========================================== */
h1, h2, h3, h4, h5, h6 {
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-tight);
color: var(--color-text);
2026-01-10 20:39:17 +01:00
}
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-md); }
p {
margin-bottom: var(--spacing-8);
color: var(--color-text-secondary);
2026-01-10 20:39:17 +01:00
}
a {
color: var(--color-teal);
text-decoration: none;
transition: color var(--transition-fast);
}
a:hover {
color: var(--color-primary);
2026-01-10 20:39:17 +01:00
}
/* ===========================================
FOCUS STATES
2026-01-10 20:39:17 +01:00
=========================================== */
:focus-visible {
outline: 2px solid var(--color-teal);
outline-offset: 2px;
2026-01-10 20:39:17 +01:00
}
/* ===========================================
SCROLLBAR STYLING
2026-01-10 20:39:17 +01:00
=========================================== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--color-background);
}
::-webkit-scrollbar-thumb {
background: var(--color-border);
border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-text-muted);
}
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--color-border) var(--color-background);
2026-01-10 20:39:17 +01:00
}
/* ===========================================
SELECTION
2026-01-10 20:39:17 +01:00
=========================================== */
::selection {
2026-01-14 00:47:06 +01:00
background: var(--border-teal);
color: var(--color-text);
2026-01-10 20:39:17 +01:00
}