CSS
सीएसएस में टोकन
tokens.css
हर टोकन के लिए कस्टम प्रॉपर्टी। लाइट और डार्क light-dark() के ज़रिए पाठक की कलर स्कीम के साथ चलते हैं; data-theme एट्रिब्यूट किसी एक को तय कर देता है।
- फ़ॉर्मेट करें
- सीएसएस टेक्स्ट (.css)
- आकार
- 6,921 बाइट
- सामग्री
- 187 रेखाएँ
प्रीव्यू: पहली 20 रेखाएँ
/* Starter design tokens.
Template version 1.0, 2026-10-12, from https://auricartisan.com/templates/starter-tokens/. Licence: CC0 1.0 Universal (public domain).
Light and dark follow the reader's color scheme through light-dark().
Set data-theme="light" or data-theme="dark" on an element to force one. */
:root {
color-scheme: light dark;
--color-brand-50: #F2F4FF;
--color-brand-100: #E6EAFF;
--color-brand-200: #CDD5FF;
--color-brand-300: #ADB8FF;
--color-brand-400: #8B96FF;
--color-brand-500: #6C71FF;
--color-brand-600: #5755E6;
--color-brand-700: #4338CA;
--color-brand-800: #311EA4;
--color-brand-900: #1F007B;
--color-brand-950: #10004C;
--color-accent-50: #FFF6CC;
--color-accent-100: #F9ECB0;
--color-accent-200: #E6D999;
JSON
DTCG जेएसओएन में टोकन
design.tokens.json
वही टोकन Design Tokens Community Group फ़ॉर्मैट 2025.10 में, Style Dictionary, Tokens Studio और दूसरे टूल के लिए। लाइट और डार्क अलग-अलग समूह हैं।
- फ़ॉर्मेट करें
- जेएसओएन टेक्स्ट (.json)
- आकार
- 38,461 बाइट
- सामग्री
- 1815 रेखाएँ
प्रीव्यू: पहली 20 रेखाएँ
{
"$description": "Starter design tokens in the DTCG 2025.10 format. Template version 1.0, 2026-10-12, from https://auricartisan.com/templates/starter-tokens/. Licence: CC0 1.0 Universal (public domain). Select the light or dark group before you transform.",
"primitive": {
"color-brand-50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9490196078431372,
0.9568627450980393,
1
],
"alpha": 1,
"hex": "#F2F4FF"
}
},
"color-brand-100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
Markdown
रीडमी
tokens-readme.md
हर परत किस लिए है, हर रंग रोल अपने लाइट और डार्क मान के साथ, हर मापी गई जोड़ी, और उन्हें इस्तेमाल करने के नियम। इसे टोकन के साथ रखें।
- फ़ॉर्मेट करें
- Markdown टेक्स्ट (.md)
- आकार
- 5,813 बाइट
- सामग्री
- 81 रेखाएँ
प्रीव्यू: पहली 18 रेखाएँ
# Starter design tokens
Template version 1.0, 2026-10-12, from https://auricartisan.com/templates/starter-tokens/. Licence: CC0 1.0 Universal (public domain).
Use it for anything, including paid work; no credit needed.
A small, complete token system for a product's colors, spacing, type, radii, shadows and motion, in light and dark. Every text color reaches 7:1 or more against the background it is meant for (WCAG 2.2 AAA, success criterion 1.4.6), and every border and focus ring reaches 3:1 or more (1.4.11).
## Files
- tokens.css: CSS custom properties. Light and dark follow the reader's color scheme through light-dark(). Set data-theme="light" or data-theme="dark" on an element to force one.
- design.tokens.json: the same tokens in the Design Tokens Community Group format, version 2025.10, for Style Dictionary, Tokens Studio and similar tools. Select the light or dark group before you transform.
- tokens-readme.md: this file.
## Three layers
1. Primitives (131): raw values. Seven color ramps (brand, accent, neutral, success, warning, danger, info) in eleven steps, two neutral end points, and spacing, type, radii, shadows and motion.
2. Roles (29): what a value is for, such as color-text or color-surface. Each role points at a primitive, and at a different one in dark mode.
3. Components (17): aliases for parts, such as button-primary-bg. Components point at roles, never at primitives.