Ratatoskr/src/gamecult.css.ts
Void 3043690657
Some checks failed
CLA Assistant / CLAssistant (pull_request_target) Has been cancelled
Check PR title / lint (pull_request_target) Has been cancelled
Build pull request / Build pull request (pull_request) Has been cancelled
NPM Lockfile Changes / lockfile_changes (pull_request) Has been cancelled
chat look: the three-doors mock-up in the bubble layout
Pose portrait beside the bubble on wide screens and floating inside it on phones with
shape-outside; asymmetric bubble corner; own messages right-aligned in the accent colour;
first-appearance pop and rise, staggered, off under prefers-reduced-motion; Nunito in the
GameCult theme; package name and README move to Ratatoskr, Cinny credit and AGPL notice kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 10:49:54 +00:00

25 lines
797 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',
},
});
// Nunito for the GameCult look (the three-doors mock-up); the stock themes keep Inter.
globalStyle(scope, {
fontFamily: "'Nunito Variable', var(--font-secondary)",
});