Ratatoskr/src/gamecult.css.ts
Meta Vens a588ab82b3 GameCult theme, steward-grouped project rooms, preview base override
Adds the gamecult-theme (brand palette, softer radii, Ubuntu/Montserrat/Plex Mono),
makes it the default, hides the member drawer by default, defaults to bubble layout,
groups rooms by org.gamecult.steward in the space nav (collapsed on phones), and lets
CINNY_BASE set Vite's base for a sub-path preview build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 05:00:32 +01:00

20 lines
625 B
TypeScript

import { globalStyle } from '@vanilla-extract/css';
import { config } from 'folds';
// Softer, rounder shape language and an airier line height. Scoped to the GameCult
// theme class so the stock themes keep folds' defaults.
const scope = 'body.gamecult-theme';
globalStyle(scope, {
vars: {
[config.radii.R300]: '10px',
[config.radii.R400]: '16px',
[config.radii.R500]: '22px',
[config.lineHeight.T300]: '1.6',
[config.lineHeight.T400]: '1.7',
[config.lineHeight.T500]: '1.7',
[config.lineHeight.B400]: '1.6',
[config.lineHeight.B500]: '1.6',
[config.lineHeight.D400]: '1.7',
},
});