swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/css/starsector-dark.frame-font.css
blob: 0ee654388b6e461903b97db2f0fceaebb5d646dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
  Conservative Starsector baseline for cross-project reuse.
  Scope: frame primitives + typography only.
*/

@font-face {
  font-family: "Remnant UI";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/oxanium-400.woff2") format("woff2");
}

@font-face {
  font-family: "Remnant UI";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/oxanium-600.woff2") format("woff2");
}

@font-face {
  font-family: "Remnant Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/share-tech-mono-400.woff2") format("woff2");
}

:root {
  --swarm-font-ui: "Remnant UI", system-ui, -apple-system, "Segoe UI", sans-serif;
  --swarm-font-mono: "Remnant Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --swarm-frame-radius: 0px;
  --swarm-frame-stroke: 1px;

  --swarm-frame-page-bg: #04080d;
  --swarm-frame-bg: rgba(6, 10, 16, 0.64);
  --swarm-frame-bg-elevated: #0f2430;

  --swarm-frame-edge: rgba(0, 104, 128, 0.62);
  --swarm-frame-edge-strong: rgba(68, 152, 176, 0.86);
  --swarm-frame-edge-inset: rgba(0, 0, 0, 0.86);

  --swarm-frame-glow-soft: 0 0 18px rgba(28, 152, 252, 0.16);
  --swarm-frame-glow-strong: 0 0 30px rgba(28, 152, 252, 0.24);

  --swarm-frame-shadow: 0 0 0 1px var(--swarm-frame-edge-inset) inset;
  --swarm-frame-shadow-elevated: var(--swarm-frame-shadow), var(--swarm-frame-glow-soft);
}

html,
body {
  background: var(--swarm-frame-page-bg);
  font-family: var(--swarm-font-ui);
}

.swarm-font-ui {
  font-family: var(--swarm-font-ui);
}

.swarm-font-mono,
code,
pre,
kbd,
samp,
tt {
  font-family: var(--swarm-font-mono);
}

.swarm-frame,
.swarm-surface {
  border-radius: var(--swarm-frame-radius);
  border: var(--swarm-frame-stroke) solid var(--swarm-frame-edge);
  background: var(--swarm-frame-bg);
  box-shadow: var(--swarm-frame-shadow);
}

.swarm-surface-elevated {
  border-radius: var(--swarm-frame-radius);
  border: var(--swarm-frame-stroke) solid var(--swarm-frame-edge-strong);
  background: var(--swarm-frame-bg-elevated);
  box-shadow: var(--swarm-frame-shadow-elevated);
}

.swarm-frame-header {
  border-radius: var(--swarm-frame-radius);
  border: var(--swarm-frame-stroke) solid var(--swarm-frame-edge);
  background: rgba(7, 19, 27, 0.92);
  box-shadow: var(--swarm-frame-shadow-elevated);
}