DESIGN.md@lumina-frontendA

DESIGN.md@lumina-frontend from zwl467135974/lumina is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add zwl467135974/lumina/lumina-frontend/DESIGN.md@git:20260720.7a2fbf6

Pins git:20260720.7a2fbf6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
zwl467135974/lumina
Path
lumina-frontend/DESIGN.md
Versions recorded
5
Latest version
git:20260720.7a2fbf6, committed Jul 20, 2026
First version recorded
Jul 8, 2026
Size
8,452 bytes
Repository stars
91
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Lumina Design State v2 — "Studio Indigo"

> This file is the persistent source of truth for Lumina's UI design.
> The frontend design skill reads this before every UI task.
> Update this file when design tokens, patterns, or principles change.

## Brand Identity

- **Name**: Studio Indigo
- **Primary**: Indigo `#4f46e5` (Tailwind Indigo-600) — professional, trustworthy, modern
- **Accent**: Indigo `#6366f1` (Indigo-500, same family — NO separate warm accent)
- **Philosophy**: 企业级、克制、专业。参考 Linear / Notion 的设计语言——单一品牌色 + 中性灰 + 语义色。
- **Themes**: 亮色默认(`#ffffff` 基底)+ 暗色可选(`<html class="dark">` 切换)

## Migration Notes (v1 → v2)

| 维度 | v1 "Luminous" | v2 "Studio Indigo" |
|---|---|---|
| 主色 | 紫 #7c3aed × 琥珀 #f59e0b | 靛蓝 #4f46e5 单色 |
| 辅色 | 琥珀到处用 | 无独立辅色,靛蓝同系 |
| 渐变 | 到处双色渐变 | 仅 logo,其余纯色 |
| 发光 glow | 大量 0 0 20px | **全砍**,改 focus ring 0 0 0 3px |
| 主题 | 暗色唯一 | **亮色默认 + 暗色可切** |
| 组件 | EP 原子 + 1800 行覆盖 | `Lum*` 业务组件封装(Phase 2) |

## Color System

### Brand Colors (Tailwind Indigo)
| Token | Value | Usage |
|-------|-------|-------|
| `--lumina-primary` | `#4f46e5` | Buttons, links, active states, focus |
| `--lumina-primary-light` | `#818cf8` | Hover accents |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zwl467135974/lumina/lumina-frontend/DESIGN.md@sha256:990ec730d1cbc03a

The line at the top of this page pins the label git:20260720.7a2fbf6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kysz2sr7qdy4omgc.svg)](https://markdownregistry.com/a/art_kysz2sr7qdy4omgc)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 8, 2026 and Jul 20, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20260720.7a2fbf6 latest2026-07-20 7a2fbf6 8,452 BA view · diff
git:20260709.0edc8132026-07-09 0edc813 7,235 BA view · diff
git:20260709.80784ec2026-07-09 80784ec 6,711 BA view · diff
git:20260709.c1e6d6e2026-07-09 c1e6d6e 7,411 BA view · diff
git:20260708.15b592f2026-07-08 15b592f 6,010 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (8452 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

zwl467135974/lumina · 91 stars · license Apache-2.0 · pushed 2026-09-28 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_kysz2sr7qdy4omgc
GET https://markdownregistry.com/api/v1/resolve?ref=zwl467135974/lumina/lumina-frontend/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/990ec730d1cbc03af0a719353cc2d689a4fa5071c8aa3c2dccda02f6d4c3ac70

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what DESIGN.md is and how agents use it · which agent file does what.

More from zwl467135974/lumina

lumina_api_design SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_api_design/SKILL.md · Use this skill when designing REST APIs, creating controllers, or defining DTOs. This skill enforces RESTful API design…
git:20260713.24dee5f · audit A · 91 stars
lumina_architecture SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_architecture/SKILL.md · Use this skill when designing module structure, creating new modules, or organizing code layers. This skill enforces…
git:20260713.24dee5f · audit A · 91 stars
lumina_code_style SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_code_style/SKILL.md · Use this skill when writing Java code, creating new classes, or reviewing code style. This skill enforces Lumina…
git:20260713.24dee5f · audit A · 91 stars
lumina_conversation SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_conversation/SKILL.md · Use this skill when working with Agent conversations, memory, or streaming output. Covers conversationId lifecycle…
git:20260713.24dee5f · audit A · 91 stars
lumina_domain_model SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_domain_model/SKILL.md · Use this skill when designing domain entities, creating business logic, or implementing domain methods. This skill…
git:20260713.24dee5f · audit A · 91 stars
lumina_flyway SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_flyway/SKILL.md
git:20260922.83bf636 · audit C · 91 stars
lumina_frontend_design SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_frontend_design/SKILL.md · Use this skill when designing, building, or modifying frontend UI — Vue 3 SFC, Element Plus components, CSS/SCSS…
git:20260713.24dee5f · audit A · 91 stars
lumina_git_commit SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_git_commit/SKILL.md · Use this skill when generating git commit messages for staged changes. This skill enforces consistent commit message…
git:20260713.24dee5f · audit A · 91 stars
lumina_json_serialization SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_json_serialization/SKILL.md · Use this skill when working with JSON serialization, creating DTOs, or configuring Jackson. This skill enforces unified…
git:20260713.24dee5f · audit A · 91 stars
lumina_mybatis_plus SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_mybatis_plus/SKILL.md · Use this skill when writing database access code, creating Mapper interfaces, or writing SQL queries. This skill…
git:20260713.24dee5f · audit A · 91 stars
lumina_observability SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_observability/SKILL.md · Use this skill when adding logging, audit, or metrics instrumentation. Covers MDC traceId injection, @Audit annotation…
git:20260713.24dee5f · audit A · 91 stars
lumina_redis SKILL.md skill
zwl467135974/lumina · .agents/skills/lumina_redis/SKILL.md
git:20260713.24dee5f · audit C · 91 stars

Every file in zwl467135974/lumina

Browse by kind, by grade A, or by owner.