UNPKG

mdui

Version:

实现 material you 设计规范的 Web Components 组件库

723 lines 169 kB
{ "version": 1.1, "properties": [ { "name": "--mdui-breakpoint-xs", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `0px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-xs: 0px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-breakpoint-sm", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `600px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-sm: 620px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-breakpoint-md", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `840px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-md: 860px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-breakpoint-lg", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `1080px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-lg: 1100px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-breakpoint-xl", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `1440px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-xl: 1460px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-breakpoint-xxl", "description": { "kind": "markdown", "value": "The breakpoint value. The default is `1920px`.\n\n**Note**: This breakpoint value is not supported in CSS media queries.\n\n**Example**:\n```css\n/* Modify the breakpoint value */\n:root {\n --mdui-breakpoint-xxl: 1940px;\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint" } ] }, { "name": "--mdui-color-primary-light", "description": { "kind": "markdown", "value": "**Primary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-primary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-primary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-primary-container-light", "description": { "kind": "markdown", "value": "**Primary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-primary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-primary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-primary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-primary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-primary-light", "description": { "kind": "markdown", "value": "**On Primary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-primary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-primary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-primary-container-light", "description": { "kind": "markdown", "value": "**On Primary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-primary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-primary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-primary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-primary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-inverse-primary-light", "description": { "kind": "markdown", "value": "**Inverse Primary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-inverse-primary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-inverse-primary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-inverse-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-inverse-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-secondary-light", "description": { "kind": "markdown", "value": "**Secondary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-secondary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-secondary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-secondary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-secondary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-secondary-container-light", "description": { "kind": "markdown", "value": "**Secondary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-secondary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-secondary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-secondary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-secondary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-secondary-light", "description": { "kind": "markdown", "value": "**On Secondary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-secondary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-secondary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-secondary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-secondary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-secondary-container-light", "description": { "kind": "markdown", "value": "**On Secondary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-secondary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-secondary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-tertiary-light", "description": { "kind": "markdown", "value": "**Tertiary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-tertiary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-tertiary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-tertiary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-tertiary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-tertiary-container-light", "description": { "kind": "markdown", "value": "**Tertiary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-tertiary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-tertiary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-tertiary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-tertiary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-tertiary-light", "description": { "kind": "markdown", "value": "**On Tertiary**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-tertiary-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-tertiary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-tertiary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-tertiary-container-light", "description": { "kind": "markdown", "value": "**On Tertiary Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-tertiary-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-tertiary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-light", "description": { "kind": "markdown", "value": "**Surface**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-dim-light", "description": { "kind": "markdown", "value": "**Surface Dim**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-dim-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-dim-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-dim));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-dim), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-bright-light", "description": { "kind": "markdown", "value": "**Surface Bright**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-bright-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-bright-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-bright));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-bright), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-container-lowest-light", "description": { "kind": "markdown", "value": "**Surface Container Lowest**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-container-lowest-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-container-lowest), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-container-low-light", "description": { "kind": "markdown", "value": "**Surface Container Low**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-container-low-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-container-low-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-container-low));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-container-low), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-container-light", "description": { "kind": "markdown", "value": "**Surface Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-container-high-light", "description": { "kind": "markdown", "value": "**Surface Container High**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-container-high-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-container-high-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-container-high));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-container-high), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-container-highest-light", "description": { "kind": "markdown", "value": "**Surface Container Highest**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-container-highest-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-container-highest), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-variant-light", "description": { "kind": "markdown", "value": "**Surface Variant**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-variant-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-variant-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-variant));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-variant), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-surface-light", "description": { "kind": "markdown", "value": "**On Surface**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-surface-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-surface-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-surface));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-surface), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-surface-variant-light", "description": { "kind": "markdown", "value": "**On Surface Variant**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-surface-variant-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-surface-variant), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-inverse-surface-light", "description": { "kind": "markdown", "value": "**Inverse Surface**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-inverse-surface-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-inverse-surface-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-inverse-surface));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-inverse-surface), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-inverse-on-surface-light", "description": { "kind": "markdown", "value": "**Inverse On Surface**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-inverse-on-surface-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-inverse-on-surface), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-background-light", "description": { "kind": "markdown", "value": "**Background**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-background-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-background-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-background));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-background), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-background-light", "description": { "kind": "markdown", "value": "**On Background**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-background-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-background-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-background));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-background), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-error-light", "description": { "kind": "markdown", "value": "**Error**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-error-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-error-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-error));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-error), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-error-container-light", "description": { "kind": "markdown", "value": "**Error Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-error-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-error-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-error-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-error-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-error-light", "description": { "kind": "markdown", "value": "**On Error**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-error-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-error-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-error));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-error), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-error-container-light", "description": { "kind": "markdown", "value": "**On Error Container**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-on-error-container-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-error-container-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-error-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-error-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-outline-light", "description": { "kind": "markdown", "value": "**Outline**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-outline-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-outline-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-outline));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-outline), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-outline-variant-light", "description": { "kind": "markdown", "value": "**Outline Variant**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-outline-variant-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-outline-variant-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-outline-variant));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-outline-variant), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-shadow-light", "description": { "kind": "markdown", "value": "**Shadow**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-shadow-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-shadow-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-shadow));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-shadow), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-surface-tint-color-light", "description": { "kind": "markdown", "value": "**Surface Tint Color**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-surface-tint-color-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-surface-tint-color), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-scrim-light", "description": { "kind": "markdown", "value": "**Scrim**\n\nRGB color value for Light Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Light Mode.\n\n**Example**:\n```css\n/* Set Light Mode color value */\n:root {\n --mdui-color-scrim-light: 255, 0, 0;\n}\n\n/* Read Light Mode color value */\n.element {\n color: rgb(var(--mdui-color-scrim-light));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-scrim));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-scrim), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-primary-dark", "description": { "kind": "markdown", "value": "**Primary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-primary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-primary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-primary-container-dark", "description": { "kind": "markdown", "value": "**Primary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-primary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-primary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-primary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-primary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-primary-dark", "description": { "kind": "markdown", "value": "**On Primary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-primary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-primary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-primary-container-dark", "description": { "kind": "markdown", "value": "**On Primary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-primary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-primary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-primary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-primary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-inverse-primary-dark", "description": { "kind": "markdown", "value": "**Inverse Primary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-inverse-primary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-inverse-primary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-inverse-primary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-inverse-primary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-secondary-dark", "description": { "kind": "markdown", "value": "**Secondary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-secondary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-secondary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-secondary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-secondary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-secondary-container-dark", "description": { "kind": "markdown", "value": "**Secondary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-secondary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-secondary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-secondary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-secondary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-secondary-dark", "description": { "kind": "markdown", "value": "**On Secondary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-secondary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-secondary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-secondary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-secondary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-secondary-container-dark", "description": { "kind": "markdown", "value": "**On Secondary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-secondary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-secondary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-tertiary-dark", "description": { "kind": "markdown", "value": "**Tertiary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-tertiary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-tertiary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-tertiary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-tertiary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-tertiary-container-dark", "description": { "kind": "markdown", "value": "**Tertiary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-tertiary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-tertiary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-tertiary-container));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-tertiary-container), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-tertiary-dark", "description": { "kind": "markdown", "value": "**On Tertiary**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-tertiary-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-tertiary));\n}\n\n/* Read the color value that automatically adapts and add opacity */\n.element {\n color: rgba(var(--mdui-color-on-tertiary), 0.5);\n}\n```\n" }, "references": [ { "name": "Docs", "url": "https://www.mdui.org/en/docs/2/styles/design-tokens#color" } ] }, { "name": "--mdui-color-on-tertiary-container-dark", "description": { "kind": "markdown", "value": "**On Tertiary Container**\n\nRGB color value for Dark Mode, separated by `,`.\n\nBy modifying this property, you can change the color value under Dark Mode.\n\n**Example**:\n```css\n/* Set Dark Mode color value */\n:root {\n --mdui-color-on-tertiary-container-dark: 255, 0, 0;\n}\n\n/* Read Dark Mode color value */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container-dark));\n}\n\n/* Read the color value that automatically adapts */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container));\n}\n\n/* Read the color value