classes.ts
This file
Path
apps/web/src/features/shared/classes.ts
20 lines · 888 bytes · TypeScript
Last changed by
Finish the Control room: every page passes axe and a keyboard walk in both schemesoscabrielbefore adoption3fd50a5
History of this fileTake it
123456789101112131415161718192021/** * The class strings many views share, in a module with no view of its own, * so a route that needs one never pulls a view (and what that view * imports) into the code every page loads. */
/** A section's heading, the "title" step of the type scale. */export const SECTION = "text-lg font-semibold tracking-[-0.01em]";
/** The mono face for names a terminal prints: ids, kinds, territories. */export const ID = "font-mono text-mono";
/** Text that is code: an id, a path, a SHA, a command's name; it wraps anywhere. */export const CODE = "font-mono text-mono [overflow-wrap:anywhere]";
/** A link in running text: underlined in the rule colour, darker on hover. */export const LINK = "decoration-rule underline hover:decoration-current";
/** A field's label: small, muted, above or beside its value. */export const LABEL = "text-muted-foreground text-label font-medium";