Open-code enterprise component foundation built with --dms-os-* tokens, Obsidian Double-Shell Tray materiality (0px blur), and 16 programming language adapters.
核心原则与架构契约1 组件 = 1 设计
1. Open Code & Full SSOT
Every component lives directly in your workspace with zero hidden package lock-in and full token ownership.
2. DMS OS Single Theme
Obsidian Mineral Light default (#f7f7f9 / #ededf1 / #ffffff / #dcdce2) & Obsidian Dark (#050507 / #0d0d11 / #131318 / #24242c) with 0px blur.
3. 16 Programming Languages
First-class templates for Rails, React, Vue, Svelte, Angular, Astro, Laravel, Python, Go, Rust, Flutter, SwiftUI, Kotlin, Symfony, Blazor, and Elixir.
4. Automated Design Guards
15 CI tests enforce WCAG AA contrast, zero inline styles, zero duplicate selectors, and 100% trilingual parity.
Install DMS OS design tokens, icon sprites, and component generators across all 16 supported programming languages and web/mobile frameworks.
核心原则与架构契约1 组件 = 1 设计
1. Zero-Runtime CSS Tokens
Import tokens.generated.css and tokens.css once at application root for instant theme mode and accent switching.
2. 5 Canonical Font Roles
Pure DMS Sans, DMS Serif, DMS Mono, DMS Display, and DMS Math CSS font stacks with zero external CDN requests.
3. 710 Canonical Layered SVG Icons + 28 Workspace Marks
7-package 24x24 layered SVG suite (default official thin 1px crisp non-scaling-stroke, 4 families x 4 weights x 6 animations + zero-CLS skeletons) via Dms::Os::IconComponent plus 28 layered workspace emblems.
4. Polyglot CLI Scaffolder
Select your language in the top bar to copy exact installation commands for your stack.
One canonical DMS OS theme crafted with Obsidian Double-Shell Tray precision, compiled from a single DTCG tokens.json source across Light & Dark modes.
Release milestones for DMS OS Design System Foundation v4.0.0: Single Canonical DMS OS Theme with Obsidian Component Craft, Trilingual Geo-Locale, SEO Indexing Policy, and 16-Language Parity.
核心原则与架构契约1 组件 = 1 设计
1. DMS OS Obsidian Craft
Unified into 1 canonical DMS OS theme with Double-Shell Optical-Nested Tray (0px blur, 1 border per mode) across Light & Dark modes.
2. Trilingual Automatic Locale
Full id-ID, en-US, and genuine zh-CN Simplified Chinese parity across kernel and all ERP modules.
3. Comprehensive SEO Boundary
ADR 0062 staging 100% noindex boundary; production enforces public must_index vs tenant workspace noindex.
4. 16-Language Polyglot Catalog
Expanded interactive documentation across 66 UI components, 22 DMS Elrov AI elements, 27 blocks, and 63 charts.
Release Verification Summary
2026-12-01 · v4.0.0 — DMS Library Cleanup, 28 Workspace Marks Registry Parity & Obsidian Adaptive Cards
2026-11-30 · v3.0.0 — Single Canonical DMS OS Theme (Obsidian Craft, ADR 0066) + Workspace Suite Tray Parity
2026-11-29 · v2.1.0 — Unified Double-Shell Optical-Nested Tray (ADR 0065) & 1 Border Per Mode
Get Started
components.json
Declarative workspace manifest specifying target language, CSS token prefix, alias paths, and enabled registry namespaces.
核心原则与架构契约1 组件 = 1 设计
1. Single Source Manifest
Configures CLI scaffolding paths so every generator writes to the exact workspace folder.
2. Prefix Guard
Locks cssPrefix to 'dms-os' so generated styles always satisfy DmsOsNamingGuardTest.
3. Multi-Target Support
Define web, mobile, and server targets inside a single monorepo manifest.
DMS OS Light (Mineral Light) is the canonical default, with instant flash-free switching to DMS OS Dark (Obsidian Dark) and Auto via [data-dms-os-theme].
核心原则与架构契约1 组件 = 1 设计
1. Light-First Default
Server renders data-dms-os-theme='light' and data-dms-os-persona='dms_os' with zero FOUC.
2. Cookie & Settings Sync
Persists user preference across sessions via Dms::Settings 4-tier SSOT.
3. Contrast Verified
OsContrastGuardTest tests every accent stop in both light and dark modes.
4. Media Query Harmony
Respects prefers-color-scheme and prefers-reduced-motion automatically.
Published at /llms.txt so AI coding agents, search crawlers, and IDE assistants can retrieve exact DMS OS architectural rules in one request.
核心原则与架构契约1 组件 = 1 设计
1. Zero-Noise Markdown
Lists public routes, component counts, 16-language CLI syntax, and design guard rules.
2. Linked in ARD Manifest
Referenced by /.well-known/ard.json with representative agent queries.
3. Trilingual Awareness
Documents id-ID, en-US, and zh-CN geo-locale routing and Asia/Jakarta timezone default.
4. Environment-Aware Indexing (ADR 0062)
Staging enforces 100% noindex (Disallow: /); production opens public pages while keeping tenant workspaces noindex.
GET /llms.txt
# DMS OS Design System Foundation
> Canonical enterprise UI foundation for 16 programming languages.
- Library: https://staging.dmsgroup.co.id/dms-os/library
- Registry: https://staging.dmsgroup.co.id/dms-os/library.json
Utilities
scroll-fade
Pure CSS edge-fading mask utility for horizontal tab strips, sidebars, and streaming AI message scrollers.
核心原则与架构契约1 组件 = 1 设计
1. Zero Raw Hex Masks
Consumes --dms-os-mask-fade-top rather than hardcoded hex values.
2. GPU Composited
Smooth 60fps scrolling without JavaScript scroll-event jank.
3. Keyboard Focus Friendly
Preserves focus-visible outlines at container boundaries.
4. Pairs with Message Scroller
Keeps long AI chat threads clean without hard visual clipping.
---
// Astro Component Island
import Accordion from '../components/dms-os/Accordion.astro';
---
<Accordion class="dms-os-accordion" title="Accordion">
<p class="dms-os-text--secondary">Zero-JS static SSR with DMS OS tokens.</p>
</Accordion>
// Swift / SwiftUI (DMS OS Apple Design Tokens)
import SwiftUI
import DmsOsTokens
public struct DmsOsAccordion: View {
public let title: String
public var body: some View {
VStack(alignment: .leading, spacing: DmsTokens.spaceSm) {
Text(title).font(DmsTokens.fontSansSemibold)
}
.padding(DmsTokens.spaceMd)
.background(DmsTokens.bgCard)
.clipShape(RoundedRectangle(cornerRadius: DmsTokens.radiusCard))
}
}
---
// Astro Component Island
import AiIntroduction from '../components/dms-os/AiIntroduction.astro';
---
<AiIntroduction class="dms-os-ai-introduction" title="AI Introduction">
<p class="dms-os-text--secondary">Zero-JS static SSR with DMS OS tokens.</p>
</AiIntroduction>
// Swift / SwiftUI (DMS OS Apple Design Tokens)
import SwiftUI
import DmsOsTokens
public struct DmsOsAiIntroduction: View {
public let title: String
public var body: some View {
VStack(alignment: .leading, spacing: DmsTokens.spaceSm) {
Text(title).font(DmsTokens.fontSansSemibold)
}
.padding(DmsTokens.spaceMd)
.background(DmsTokens.bgCard)
.clipShape(RoundedRectangle(cornerRadius: DmsTokens.radiusCard))
}
}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
def lorem(ipsum)
ipsum.dolor? ? "sit amet" : 1234567890
end