plastic / dashboard /src /index.css
dmontgomery40's picture
Launch complete Plastic dashboard and bounded shared sessions on free CPU
595cac0 verified
Raw History Blame Contribute Delete
1.49 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
Legibility floor (~/.claude/rules/design-legibility.md):
- body is 14px; nothing in the app renders below 11px
- font smoothing only on 2x displays; at dpr 1 it thins glyphs
- no grain, no dot grids, no page-level transforms
*/
html {
color-scheme: dark;
}
body {
margin: 0;
font-family: 'Archivo', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 14px;
line-height: 21px;
background-color: #0d1117;
color: #e9eff5;
}
@media (min-resolution: 2dppx) {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: #0d1117;
}
::-webkit-scrollbar-thumb {
background: #3d4a59;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #4d5c6d;
}
/* Recharts: no global stroke overrides. Every chart passes its own grid and
tick colors from the tokens so the two can never drift apart. */
.recharts-tooltip-wrapper {
outline: none;
}
.recharts-surface {
overflow: visible;
}
/* Opacity-only fade. Never transform a container that carries text. */
.tab-enter {
animation: fade-in 140ms ease-out;
}
@keyframes fade-in {
from {
opacity: 0.55;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.tab-enter {
animation: none;
}
}
input[type='range'] {
accent-color: #58a6ff;
}