Cursor rule
.cursor/rules/genesis-colonies-ui-design.mdcGenesis Colonies industrial sci-fi UI — angular panels, no pill/mobile-app look
Cursor rules
Quality
67/100
Scores the file, not the repository.Length
427 words
8 headings · 0 code blocksRepository
2
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Genesis Colonies — UI Design Language78Genesis Colonies uses a **sharp, industrial sci-fi** visual language (military / technical / colony-industrial).910## Forbidden1112- Large `border-radius` on panels, cards, modals, popovers, tooltips13- Modern **pill** buttons or chip styling (`border-radius: 999px`, fully rounded badges)14- Strongly rounded cards or bubble / mobile-app aesthetics15- Soft, consumer-SaaS rounding as default for new components1617## Required1819- Rectangular panels with clear edges20- Thin, technical borders21- Subtle chamfered or square corners only22- Sci-fi / military / industrial tone2324## Radius guidelines2526| Element | Radius |27|---------|--------|28| Panels / cards | 0–4px (prefer **0–2px**) |29| Buttons | max **2–4px** |30| Chips / badges | angular — use `--gc-radius-sm` (2px), not pills |31| Modals / popovers / tooltips | same as panels |3233Use existing tokens in `static/style.css`:3435- `--gc-radius-xs` (0px) through `--gc-radius-lg` (4px)36- `--gc-radius-pill` is **2px** in this project — not a true pill; do not use `999px` for new UI3738**Exception:** `border-radius: 50%` only for intentional circles (avatars, status dots, orbital markers).3940## When building or reviewing UI41421. Prefer `var(--gc-radius-sm)` or `0` over literal `6px+` or `999px`.432. On PE / expansion / command-map work, audit new classes for accidental rounding.443. Match surrounding `gc-btn`, `gc-panel`, and HUD patterns — do not introduce a softer sub-style.4546## Known PE outliers (align when touching those files)4748- `.pe-tech-reward-chip` — currently `999px`; should become `--gc-radius-sm` in a focused UI pass.4950## Global shared components — no accidental layout regressions5152Existing **global UI components must not unintentionally change layout** during feature work.5354Especially protected:5556- Queue cards (`.gc-card-queue-*`, `.gc-mini-queue-*`)57- Header / planet switcher58- Resource bar59- Fleet header60- Sidebar navigation61- Card system (`.gc-building-card`, `.gc-research-card`, `.gc-panel`, …)6263When editing shared CSS (`.gc-*`, `.card-*`, `.queue-*`, `.header-*`):64651. **Grep** which templates/pages still use the class.662. Check whether the change affects **all** consumers (Buildings, Research, Shipyard, Defense, Planet Evolution, …).673. Prefer **scoped** selectors (page prefix, component modifier) over changing a global rule.684. Add or extend a **CSS contract test** in `tests/test_queue_card_global_ux.py` or similar when layout behavior is canonical.6970### Completion report (required when global CSS changed)7172If a ticket touches **global** classes (`.gc-*`, `.queue-*`, `.header-*`, `.card-*`), the implementation summary must list which pages were **visually or contract-checked**:7374- [ ] Buildings75- [ ] Research76- [ ] Shipyard77- [ ] Defense78- [ ] Planet Evolution79- [ ] Overview8081Unchecked pages must be called out explicitly. Takes minutes; prevents regressions like the horizontal queue card layout break.82
Also in Gurgenbaba/genesis-colonies
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Gurgenbaba/genesis-colonies.cursor/rules/battle-lab-visual.mdc · 2 | Cursor rules | stylesecurityuido-not | 63/100 | 3 days ago | |
| Gurgenbaba/genesis-colonies.cursor/rules/genesis-colonies.mdc · 2 | Cursor rules | styleuido-notagent-behaviour+1 | 59/100 | 3 days ago | |
| Gurgenbaba/genesis-colonies.cursor/rules/no-dead-code-no-bloat.mdc · 2 | Cursor rules | no sections | 44/100 | 3 days ago | |
| Gurgenbaba/genesis-colonies.cursor/rules/test-maintenance.mdc · 2 | Cursor rules | teststyletesting-strategydo-not | 67/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago |
