|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="utf-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <title>Design System - Game Foundry Studio</title> |
| 8 | + <meta name="description" content="Game Foundry Studio design-system source of truth."> |
| 9 | + <link rel="icon" href="../assets/images/favicon.svg" type="image/svg+xml"> |
| 10 | + <link rel="stylesheet" href="../assets/css/styles.css"> |
| 11 | +</head> |
| 12 | + |
| 13 | +<body> |
| 14 | + <div data-partial="header-nav"></div> |
| 15 | + <main> |
| 16 | + <section class="page-title"> |
| 17 | + <div class="container"> |
| 18 | + <div class="kicker">Account Reference</div> |
| 19 | + <h1>Design-system source of truth.</h1> |
| 20 | + <p class="lede">Shared CSS layers define colors, tokens, base element behavior, controls, reusable |
| 21 | + GameFoundry patterns, and page layouts.</p> |
| 22 | + </div> |
| 23 | + </section> |
| 24 | + <section class="section"> |
| 25 | + <div class="container"> |
| 26 | + <div class="card"> |
| 27 | + <div class="card-body"> |
| 28 | + <h2>CSS Ownership</h2> |
| 29 | + <dl> |
| 30 | + <dt>colors.css</dt> |
| 31 | + <dd>Approved color values and color-family variables.</dd> |
| 32 | + <dt>tokens.css</dt> |
| 33 | + <dd>Spacing, sizing, typography, radius, shadows, z-index, icon sizes, and tool tile |
| 34 | + dimensions.</dd> |
| 35 | + <dt>base.css</dt> |
| 36 | + <dd>Reset, typography defaults, focus styles, accessibility helpers, and base element |
| 37 | + rules.</dd> |
| 38 | + <dt>controls.css</dt> |
| 39 | + <dd>Native HTML control scale, spacing, sizing, and typography.</dd> |
| 40 | + <dt>gamefoundrystudio.css</dt> |
| 41 | + <dd>Shared GameFoundry components and patterns.</dd> |
| 42 | + <dt>pages.css</dt> |
| 43 | + <dd>Page-specific layout helpers that consume shared tokens and colors.</dd> |
| 44 | + </dl> |
| 45 | + <h2>Design Rules</h2> |
| 46 | + <ul> |
| 47 | + <li>Use shared CSS layers before adding page-specific styles.</li> |
| 48 | + <li>Keep raw color values in <code>colors.css</code>.</li> |
| 49 | + <li>Keep non-color design values in <code>tokens.css</code>.</li> |
| 50 | + <li>Use current tool group names as the primary user-facing organization.</li> |
| 51 | + <li>Use badge and tile colors as secondary visual cues.</li> |
| 52 | + </ul> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + </div> |
| 56 | + </section> |
| 57 | + </main> |
| 58 | + <div data-partial="footer"></div> |
| 59 | + <script src="../assets/js/gamefoundry-partials.js" defer></script> |
| 60 | +</body> |
| 61 | + |
| 62 | +</html> |
0 commit comments