cosmocrat-operator / frontend
CLAUDE.md2 starsChanged 17 months agoApache-2.0View on GitHub
The new design uses custom CSS variables defined in src/styles/new/index.css and configured in tailwind.new.config.js. All styles are scoped to the .new-design class. Text colors (use these instead of text-gray-*): - text-high - Primary text, highest contrast - text-normal - Standard text - text-low - Muted/secondary text, placeholders Background colors: - bg-primary - Main background - bg-secondary - Slightly darker, used for inputs, cards, sidebars - bg-panel - Panel/elevated surfaces Accent colors: - brand - Orange accent (hsl(25 82% 54%)) -…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- huanchong-99/SoloDawnword for word, first seen Jul 26, 2026
Other versions1 project uses a version of this.
Word for word · 1
- huanchong-99/SoloDawn★ 316100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
The file
Files
New Design System Styling Guidelines
CSS Variables & Tailwind Config
The new design uses custom CSS variables defined in src/styles/new/index.css and configured in tailwind.new.config.js. All styles are scoped to the .new-design class.
Colors
Text colors (use these instead of text-gray-*):
text-high- Primary text, highest contrasttext-normal- Standard texttext-low- Muted/secondary text, placeholders
Background colors:
bg-primary- Main backgroundbg-secondary- Slightly darker, used for inputs, cards, sidebarsbg-panel- Panel/elevated surfaces
Accent colors:
brand- Orange accent (hsl(25 82% 54%))error- Error statessuccess- Success states
Typography
Font families:
font-ibm-plex-sans- Default sans-seriffont-ibm-plex-mono- Monospace/code
Font sizes (smaller than typical Tailwind defaults):
text-xs- 8pxtext-sm- 10pxtext-base- 12px (default)text-lg- 14pxtext-xl- 16px
Spacing
Custom spacing tokens:
p-half/m-half- 6pxp-base/m-base- 12pxp-double/m-double- 24px
Border Radius
Uses a small radius by default (--radius: 0.125rem):
rounded- Default small radiusrounded-sm,rounded-md,rounded-lg- Progressively larger
Focus States
Focus rings use ring-brand (orange) and are inset by default.
Example Component Styling
// Input field
className="px-base bg-secondary rounded border text-base text-normal placeholder:text-low focus:outline-none focus:ring-1 focus:ring-brand"
// Button (icon)
className="flex items-center justify-center bg-secondary rounded border text-low hover:text-normal"
// Sidebar container
className="w-64 bg-secondary shrink-0 p-base"Architecture Rules
- View components (in
views/) should be stateless - receive all data via props - Container components (in
containers/) manage state and pass to views - UI components (in
ui-new/) are reusable primitives - File names in
ui-new/must be PascalCase (e.g.,Field.tsx,Label.tsx)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

