feat(monitor/frontend): ethos-aligned base styles (zero rounding, density, tabular nums)
This commit is contained in:
parent
a34a175f14
commit
4216de3435
|
|
@ -22,8 +22,9 @@
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0"
|
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
|
||||||
/>
|
/>
|
||||||
|
<meta name="color-scheme" content="dark" />
|
||||||
<title>Monitor The Situation Dashboard</title>
|
<title>Monitor The Situation Dashboard</title>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
|
|
|
||||||
|
|
@ -11,19 +11,46 @@
|
||||||
@use 'styles/tokens' as *;
|
@use 'styles/tokens' as *;
|
||||||
@use 'styles/fonts' as *;
|
@use 'styles/fonts' as *;
|
||||||
|
|
||||||
|
// Ethos-aligned base for the dashboard surface. Auth pages override
|
||||||
|
// with their own per-module styles (template residue — left alone).
|
||||||
|
html, body {
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--fg-1);
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-size: var(--type-body);
|
||||||
|
line-height: var(--line-height-tight);
|
||||||
|
font-feature-settings: "tnum" 1, "ss01" 1; // tabular numbers everywhere
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--fg-4);
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: var(--bg);
|
||||||
|
}
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: $bg-default;
|
background: var(--bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.app {
|
.app {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: $bg-default;
|
background: var(--bg);
|
||||||
color: $text-default;
|
color: var(--fg-1);
|
||||||
font-family: $font-sans;
|
font-family: var(--font-sans);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue