mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.5.2
The new launcher (Windows and Linux: the game's own look, music and settings, saves and mods pages, smaller updates in parts), benchmark mode (Find my best settings: the game tours four places by itself and writes its results), Quit and Restart in the pause menu under Mods, Squadala! in the Mods menu, battle music above 60 fps, menu text, the controller in the menus with the game in the background, the whole GameBanana list, RX 580 and RX 5000/6000 shader fixes, the pipeline cache kept through an update, async present black flashes, and faster builds.
This commit is contained in:
66
launcher/ui/theme.css
Normal file
66
launcher/ui/theme.css
Normal file
@@ -0,0 +1,66 @@
|
||||
/* Triforce's own theme over the new layout (v2, 11-19): the warm hall, parchment text, gold as the one accent, the crest as
|
||||
the mark, serif titles, the three stones for state (style_tokens.md v3 values). Kept out: the halo, motes, letter-spaced
|
||||
capitals and the painted crest as decoration. */
|
||||
:root {
|
||||
--ink: #0a0908; --panel: rgba(18, 16, 12, .8); --line: rgba(224, 178, 62, .2); --line-soft: #2c2518;
|
||||
--text: #f3ead5; --text2: #cdc2a8; --text3: #948a70;
|
||||
--gold: #e0b23e; --gold-hi: #f7dc8c; --gold-ink: #3d2a08;
|
||||
--emerald: #6be07f; --emerald-ink: #0a5a14; --sapphire: #8fc0ff; --ruby: #ff6b76; --amber: #f7dc8c;
|
||||
}
|
||||
.flair, h1, h2, .side h3, .slot p b, .found b { font-family: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif; font-variation-settings: normal; }
|
||||
h1 { font-weight: 700; font-size: 70px; letter-spacing: -.01em; line-height: .98; }
|
||||
h2 { font-weight: 700; font-size: 46px; letter-spacing: -.005em; }
|
||||
.side h3 { font-size: 22px; font-weight: 700; } .slot p b { font-size: 18px; font-weight: 700; } .found b { font-size: 21px; font-weight: 700; }
|
||||
|
||||
/* the warm hall and the scrims over the save's picture */
|
||||
.bg { filter: blur(34px) saturate(1.15) brightness(.8) sepia(.18); }
|
||||
.scrim { background:
|
||||
linear-gradient(90deg, rgba(10, 9, 8, .8) 0%, rgba(10, 9, 8, .38) 44%, rgba(10, 9, 8, .04) 78%),
|
||||
linear-gradient(180deg, rgba(10, 9, 8, .5) 0%, rgba(10, 9, 8, 0) 24%, rgba(10, 9, 8, .12) 58%, rgba(10, 9, 8, .9) 100%); }
|
||||
.plain { background: radial-gradient(1100px 680px at 50% -18%, #221b10 0%, #110e0a 46%, var(--ink) 74%); }
|
||||
|
||||
/* the mark: the crest itself, and the wordmark in engraved gold */
|
||||
.brand { gap: 12px; font-family: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif; font-size: 25px; font-weight: 700; letter-spacing: .01em; }
|
||||
.brand span { background: linear-gradient(180deg, #fff1b8 0%, #e8b840 42%, #b57e1c 56%, #f3cf6a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
||||
.mark { width: 30px; height: 28px; background: url(img/crest.png) center / contain no-repeat; }
|
||||
.mark i { display: none; }
|
||||
.nav a { border-radius: 0; padding: 9px 4px; margin: 0 12px; color: var(--text3); }
|
||||
.nav a.on { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }
|
||||
.state { background: rgba(10, 9, 8, .6); border-color: var(--line); color: var(--text2); }
|
||||
.dot { background: var(--emerald); } .dot.amber { background: var(--gold-hi); } .dot.blue { background: var(--sapphire); }
|
||||
|
||||
/* the eyebrow: gold, in sentence case, after a gold hairline */
|
||||
.over { color: var(--gold); font-weight: 600; } .over b { background: var(--gold); opacity: .8; height: 1px; width: 28px; }
|
||||
|
||||
/* the one gold action, as the polished bar of the old Setup; everything else is quiet */
|
||||
.btn { background: rgba(243, 234, 213, .07); border-color: var(--line); color: var(--text); }
|
||||
.btn.go { color: var(--gold-ink); background: linear-gradient(180deg, #fff4cc 0%, #f7dc8c 12%, #e0b23e 48%, #9a6a18 100%);
|
||||
box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(61, 42, 8, .35);
|
||||
text-shadow: 0 1px 0 rgba(255, 244, 204, .45); }
|
||||
.btn.quiet { background: transparent; border-color: transparent; color: var(--text2); }
|
||||
.focus { outline-color: var(--gold-hi); }
|
||||
|
||||
/* pictures framed with a gold hairline */
|
||||
.card::after, .slot { border-color: rgba(224, 178, 62, .32); }
|
||||
.card::after { border: 1px solid rgba(224, 178, 62, .38); }
|
||||
.thumbs div.on { outline-color: var(--gold); }
|
||||
.tag { background: rgba(10, 9, 8, .78); color: var(--text); }
|
||||
|
||||
.news { border-top-color: var(--line); } .news h4 { color: var(--gold); } .news h4 em { color: var(--text3); }
|
||||
.news p b { color: var(--text); } .foot { color: var(--text3); } .key { border-color: var(--text3); color: var(--text2); }
|
||||
|
||||
/* first run and the build: steps, fields, the progress line in gold */
|
||||
.steps .done i { background: var(--emerald-ink); border-color: var(--emerald); color: var(--emerald); }
|
||||
.steps .now { color: var(--text); } .steps .now i { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
|
||||
.box, .slot { background: var(--panel); border-color: var(--line); }
|
||||
.file { background: rgba(224, 178, 62, .08); border-color: var(--line); color: var(--gold); }
|
||||
.field + .field { border-top-color: var(--line-soft); }
|
||||
.track { background: #262017; height: 6px; } .track i { background: linear-gradient(90deg, #9a6a18, #e0b23e 70%, #fff4cc); }
|
||||
.list div + div { border-top-color: var(--line-soft); }
|
||||
.d .bul { background: var(--emerald-ink); border-color: var(--emerald); } .d .bul::after { border-color: var(--emerald); }
|
||||
.n .bul { border-color: var(--gold); } .n .bul::after { background: var(--gold); } .list .n span { color: var(--gold); }
|
||||
.ok { color: var(--emerald); }
|
||||
|
||||
/* lining numerals: the serif's old-style 1 reads as a dotless i in '31 minutes' */
|
||||
.flair, h1, h2, .brand, .side h3, .slot p b, .found b { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
|
||||
.mark { width: 34px; height: 31px; }
|
||||
Reference in New Issue
Block a user