design-system
Skill1 starsChanged 56 days agoMITView on GitHub
The design system for workofekajaya.com (Work of Ekajaya) — an Astro 6 + React 19 + Tailwind v4 dark portfolio. Use when building, editing, reviewing, or extending any UI on this site: new sections, components, pages, OG images, or visual polish. Provides the exact tokens, typography roles, section anatomy, component patterns, motion rules, and anti-patterns that keep new work indistinguishable from the existing site.
108 other projects use a version of this.
Adopted by
Most recently taken up by
- nextlevelbuilder/ui-ux-pro-max-skilltheir own version, first seen Nov 18, 2026
- BUGLAN/skillstheir own version, first seen Oct 6, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- Littlpinguin/marketing-cockpit-templatetheir own version, first seen Oct 5, 2026
- shayan-m81/layerwrighttheir own version, first seen Oct 5, 2026
Used with
Projects with it also use setup-engine, playtest-report and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillsetup-engine
Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.
Also in 7 projects that use this
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 6 projects that use this
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
- +3 more from CoralGame
- +5 more from cenconq25
Other versions108 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 108
- nextlevelbuilder/ui-ux-pro-max-skill★ 156ksame name
- getsentry/sentry★ 45ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/power-platform-skills★ 961same name
- Archive228/loopkit★ 756same name
- pixel-cellar/Claude-Code-Game-Studios★ 338same name
- loulanyue/awesome-claude-notes★ 272same name
- genkovich/sdd★ 170same name
- cdavid817/vanehub-ai★ 116same name
98 more not listed
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 repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 98 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Read this before making aesthetic decisions.
- Very specific: line 60
All tokens are declared in the @theme block of src/styles/global.css.
- Very specific: line 92
Never pure black (#000) or pure white (#fff).
- Distinctive: line 93
Never gray text on a colored background — use a shade of the background instead.
- Distinctive: line 94
Never gradient text. Solid fills only.
- Very specific: line 151
Add 0.05–0.1 to line-height for light-on-dark body text — light type reads as lighter weight.
- Very specific: line 154
Always pair text-balance on headings and text-pretty on body paragraphs.
- Distinctive: line 160
Every portfolio section follows the same skeleton.
- Distinctive: line 211
Never make every button primary.
- Very specific: line 302
New lucide icons: must be added to the include.lucide allowlist in astro.config.mjs — astro-icon inlines only allowlisted icons at build …
- Very specific: line 305
React islands: prefer .astro components. Only reach for React when you need state, effects, or a browser-only library (shaders, motion).
“Common” is measured: kept by at least 6 in 10 of the 98 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Work of Ekajaya — Design System
A dark-first, high-contrast portfolio system. Near-black canvas, a single scarce red accent, three typographic roles, and a heat-shader monogram as the signature asset.
Stack contract: Astro 6 (SSG) · React 19 islands · Tailwind CSS v4 via @tailwindcss/vite
(no tailwind.config.js — tokens live in @theme) · Bun runtime · astro-icon + @iconify-json/lucide.
1. Design Context
Read this before making aesthetic decisions. It is the "why" behind every token below.
Users
| Audience | Context | What they need |
| Recruiters / hiring managers (primary) | Mobile, several tabs open, skimming a shortlist | Identity, role, seniority, location in ~2 seconds |
| Prospective freelance clients | Email or Slack thread | Capability and trust, a hint of what he builds |
| Peer developers | X, Reddit, shared links | Craft, memorability, evident skill |
Brand personality
Bold, kinetic, technical.
- Bold — full-bleed, high-contrast, commits to scale rather than hedging.
- Kinetic — heat, drift, a beam that tracks scroll. Energy is identity, not garnish.
- Technical — monospace labels, hairline rules, precise alignment, a palette taken from a shader's color stops.
Voice: first-person, plain, unembellished. Short declarative sentences. No marketing inflation.
Design principles
- Identity in two seconds. Name, role, location resolve before decoration is parsed.
- Accent is a scarcity economy. Red works because it is rare. ~10% of visual weight.
- Type does the work. Hierarchy from scale contrast and weight — not boxes, borders, shadows.
- On-system or absent. New artifacts must look like a crop of the existing site.
- Motion implies life, never noise. One or two orchestrated gestures; always reduced-motion safe.
Anti-references
- Generic SaaS gradient cards — purple-to-blue wash, floating laptop mockup, soft shadow, centered logo. The single most important thing to avoid.
- Busy portfolio collages — screenshot grids, skill-badge soup, competing type sizes.
- Dark-neon developer cliché — terminal chrome, blinking cursor, green-on-black, code rain. Dark does not mean cyberpunk.
2. Tokens
All tokens are declared in the @theme block of src/styles/global.css. Tailwind v4 generates
utilities from them automatically (--color-accent → bg-accent, text-accent, border-accent).
Color
| Token | Value | Utility | Role |
--color-background | #141414 | bg-background | Page field |
--color-foreground | #f5f5f5 | text-foreground | Primary type |
--color-card | #1c1c1c | bg-card | Raised surfaces |
--color-card-foreground | #f5f5f5 | — | Type on card |
--color-border | #2e2e2e | border-border | All hairlines |
--color-input | #2e2e2e | — | Field borders |
--color-primary | #f5f5f5 | — | Primary button fill |
--color-primary-foreground | #0a0a0a | — | Type on primary |
--color-secondary | #1e1e1e | bg-secondary | Hover fills, chips |
--color-secondary-foreground | #f5f5f5 | — | Type on secondary |
--color-muted | #2a2a2a | — | Muted fills |
--color-muted-foreground | #a0a0a0 | text-muted-foreground | Body copy, metadata |
--color-accent | #dd0303 | text-accent | Identity accent (red) |
--color-accent-foreground | #f5f5f5 | — | Type on accent |
--color-destructive | #dd0303 | — | Errors (shares accent) |
--color-ring | #3a3a3a | — | Focus rings |
--color-accent-yellow | #fbff1a | text-accent-yellow | Heat core |
--color-accent-blue | #1472ff | text-accent-blue | Heat edge |
--color-accent-warm | #dd0303 | — | Alias of accent |
Heat triad — #dd0303 → #fbff1a → #1472ff are the three stops of the WoeHeatmap
shader. Yellow and blue appear only where heat is literally being depicted (shader, tracing
beam, code highlights). Never as general-purpose accents.
Rules
- Never pure black (
#000) or pure white (#fff). The field is#141414; type is#f5f5f5. - Never gray text on a colored background — use a shade of the background instead.
- Never gradient text. Solid fills only.
Radius
| Token | Value | Utility |
--radius-sm | 4px | rounded-sm |
--radius-md | 8px | rounded-md |
--radius-lg | 12px | rounded-lg |
--radius-xl | 16px | rounded-xl |
Pills and chips use rounded-full. Cards use rounded-xl. Buttons use rounded-md.
Spacing
Tailwind's 4pt scale. The system's recurring rhythm:
- Section vertical:
py-24 md:py-32 - Container:
max-w-3xl mx-auto px-6 - Section header to content:
mb-12/mb-16 - Card interior:
p-6 md:p-8 - Chip gaps:
gap-2/gap-3
Breakpoints
sm: 640 · md: 768 · lg: 1024 · xl: 1280. Section padding steps at md. Hero shader
responds to aspect ratio (not breakpoints) via useContainerSize + getPreset.
3. Typography
Three families, three non-overlapping jobs. Never blur the roles.
| Token | Family | Job | Utility |
--font-display | Goldman | Headings, the name | font-[family-name:var(--font-display)] |
--font-sans | Sansation | Body copy (default on body) | inherited |
--font-mono | Share Tech Mono | Eyebrows, metadata, timestamps, buttons | font-mono |
Fonts load via Fontsource CSS imports at the top of global.css:
@fontsource/sansation/{300,400,700}.css, @fontsource/goldman/{400,700}.css,
@fontsource/share-tech-mono/400.css.
Scale in use
| Role | Classes |
| Hero name | inline fontSize 1.875rem (mobile) → 3.75rem, lineHeight: 1.05, letterSpacing: -0.025em |
| Section heading | text-3xl md:text-5xl font-bold text-balance |
| Sub-heading / card title | text-lg font-bold |
| Body | text-sm / base, leading-relaxed, text-pretty |
| Eyebrow / label | text-xs tracking-[0.3em] text-accent |
| Micro-chip | text-[10px] font-mono |
Rules
- At least a 1.25 ratio between heading steps. Fewer sizes with more contrast beats many near-identical sizes.
- Add
0.05–0.1to line-height for light-on-dark body text — light type reads as lighter weight. - Cap body measure at 65–75ch (
max-w-3xlat this scale). - All-caps only for short labels and eyebrows — never long passages.
- Always pair
text-balanceon headings andtext-prettyon body paragraphs.
4. Section anatomy
Every portfolio section follows the same skeleton. Deviating breaks the site's rhythm.
---
// Optional: import { Icon } from 'astro-icon/components';
---
<section id="SECTION_ID" class="relative z-20 bg-background border-t border-border">
<div class="max-w-3xl mx-auto px-6 py-24 md:py-32">
<header class="mb-12 md:mb-16">
<p class="font-mono text-xs tracking-[0.3em] text-accent mb-3">EYEBROW</p>
<h2 class="font-[family-name:var(--font-display)] text-3xl md:text-5xl font-bold text-foreground text-balance">
Sentence-case heading.
</h2>
</header>
<!-- content -->
</div>
</section>Invariants
idmust match a nav dot'sdata-sectioninBaseLayout.astro. Valid ids:hero,about,experience,projects,skills,contact.relative z-20keeps content above the hero shader;bg-backgroundpaints over it.border-t border-borderis the section separator. Do not substitute shadows or gaps.- The eyebrow is uppercase; the heading is sentence case with a period.
5. Component patterns
See reference/components.md for full copy-paste snippets. Summary of the vocabulary:
| Pattern | Signature |
| Eyebrow | font-mono text-xs tracking-[0.3em] text-accent mb-3, uppercase |
| Tech chip | text-xs font-mono px-3 py-1 border border-border rounded-full text-muted-foreground + hover:border-accent hover:text-accent |
| Micro chip | text-[10px] font-mono px-2 py-1 border border-border rounded-full text-muted-foreground |
| Card | p-6 md:p-8 border border-border rounded-xl hover:border-accent transition-colors |
| Primary CTA | px-6 py-3 bg-foreground text-background rounded-md font-mono text-sm font-medium active:scale-[0.96] transition-transform |
| Secondary CTA | px-6 py-3 border border-border rounded-md font-mono text-sm font-medium hover:bg-secondary hover:border-foreground active:scale-[0.96] transition-colors |
| Entry row | flex flex-col md:flex-row md:items-baseline md:justify-between gap-1 mb-3 with <h3> + <time class="font-mono text-xs text-muted-foreground"> |
| Bullet list item | flex items-start gap-2 with a w-1 h-1 rounded-full bg-muted-foreground mt-1.5 dot |
| Section dot nav | Fixed right-center, IntersectionObserver-driven, label on hover |
Interaction rules
- Interactive surfaces get
transition-colors(ortransition-transformfor scale feedback). - Buttons use
active:scale-[0.96]— a small, fast press response. - Hover on clickable titles moves color to
text-accent; hover on outlined elements movesborder-border→border-accent. - Never make every button primary. Mix primary, secondary, and text links for hierarchy.
6. Signature devices
These are what make the site recognizable. Reuse them; do not invent parallel motifs.
Heat shader (hero)
WoeHeatmap.tsx wraps @paper-design/shaders-react's <Heatmap>, driving logo.webp
through a red/yellow/blue heat field. Rendered as the only React island in the hero
(client:only="react").
- Aspect-driven presets via
getPreset(aspect)(5 buckets,<0.75→>=2.2). - Media-query overrides for mobile portrait, tablet portrait, and short screens.
- Defaults:
colors ['#dd0303','#fbff1a','#1472ff'],colorBack '#1c1c1c',speed 0.96,contour 0.23,noise 0.27,fit 'contain'.
Tracing beam (experience)
TracingBeam.tsx draws a scroll-linked SVG beam through the experience list: a dim path plus a
gradient-lit path whose y1/y2 are spring-smoothed from scrollYProgress. Gradient runs
#dd0303 → #fbff1a → #1472ff.
Scroll progress bar
A 2px bg-accent bar at the top of BaseLayout, scaleX-driven by scroll position.
Eyebrow label
The most repeated structural motif. font-mono text-xs tracking-[0.3em] text-accent, uppercase,
above every section heading.
7. Motion
See reference/motion.md.
- Easing: exponential deceleration (
ease-out-quart/quint/expo). No bounce, no elastic. - Animate:
transformandopacityonly. Neverwidth,height,padding,margin. - For height changes: transition
grid-template-rows, notheight. - Reduced motion: the global
@media (prefers-reduced-motion: reduce)block inBaseLayout.astrocollapses animation and transition durations. Scroll-driven decorative paths additionally carrymotion-reduce:hidden. - One orchestrated gesture beats scattered micro-interactions.
- Measure element geometry with
ResizeObserver(useContainerSize), and re-measure when the element can change size after mount — a one-shotuseEffectmeasurement will drift.
8. Accessibility
Non-negotiable, already established in BaseLayout.astro:
- Skip link (
.skip-link) as the first focusable element, targeting#main-content. <main id="main-content" tabindex="-1">.- Section nav has
aria-label="Section navigation"; each dot has anaria-label. - Decorative SVG carries
aria-hidden="true". :focus-visiblerings via--color-ring.- Respect
prefers-reduced-motion. - Maintain AA contrast:
#a0a0a0on#141414is the floor for body text; prefer#f5f5f5for anything small.
9. Anti-patterns
Never in this system:
- Side-stripe accents —
border-left/border-rightwider than 1px as a colored stripe on cards, list items, or callouts. - Gradient text (
background-clip: text+ a gradient). - Generic SaaS gradient cards, floating laptop mockups, soft drop shadows.
- Glassmorphism / blur used decoratively rather than functionally.
- Nested cards. One container level only.
- Identical card grids repeated endlessly.
- Centered everything — the system is left-aligned with asymmetric space.
- Pure
#000/#fff, or gray text on colored backgrounds. - Skill-badge soup, screenshot collages, competing type sizes.
- Terminal chrome, blinking cursors, code rain.
- Same spacing everywhere — vary rhythm between tight groups and generous separations.
- Modals when an inline or progressive-disclosure pattern would do.
10. Project conventions
- Tokens live in
@themeinsrc/styles/global.css. Never add atailwind.config.js. global.cssmust be imported in every layout or Tailwind emits nothing.- New lucide icons must be added to the
include.lucideallowlist inastro.config.mjs—astro-iconinlines only allowlisted icons at build time. - Path alias:
@/*→./src/*. - React islands: prefer
.astrocomponents. Only reach for React when you need state, effects, or a browser-only library (shaders, motion). Useclient:only="react"when the component cannot SSR. - Class merging:
cn()from@/lib/utils, re-exported from thecnpackage (drop-in replacement forclsx+tailwind-merge). - Commit messages: Conventional Commits (
feat:,fix:,chore:,docs:,style:,refactor:,ci:,build:,perf:). - Runtime: Bun only.
bun dev·bun run build·bun run preview.
11. Reference files
| File | Contents |
reference/tokens.md | Full token table, @theme block, global CSS layers |
reference/components.md | Copy-paste snippets for every pattern above |
reference/og-images.md | Takumi OG image setup, home + blog variants, fonts, meta wiring |
reference/motion.md | Easing, durations, scroll-driven patterns, reduced-motion handling |
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.

