@mdui/mcp 2.1.0 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/components.js +38 -38
- package/data/cssClasses.js +6 -6
- package/data/cssVariables.js +111 -111
- package/data/documents.js +39 -39
- package/package.json +1 -1
package/data/cssVariables.js
CHANGED
|
@@ -32,557 +32,557 @@ export const cssVariables = [
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "--mdui-color-primary-light",
|
|
35
|
-
"description": "**Primary**\n\n
|
|
35
|
+
"description": "**Primary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-primary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary), 0.5);\n}\n```\n",
|
|
36
36
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "--mdui-color-primary-container-light",
|
|
40
|
-
"description": "**Primary Container**\n\n
|
|
40
|
+
"description": "**Primary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-primary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary-container), 0.5);\n}\n```\n",
|
|
41
41
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "--mdui-color-on-primary-light",
|
|
45
|
-
"description": "**On Primary**\n\n
|
|
45
|
+
"description": "**On Primary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-primary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary), 0.5);\n}\n```\n",
|
|
46
46
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "--mdui-color-on-primary-container-light",
|
|
50
|
-
"description": "**On Primary Container**\n\n
|
|
50
|
+
"description": "**On Primary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-primary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary-container), 0.5);\n}\n```\n",
|
|
51
51
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "--mdui-color-inverse-primary-light",
|
|
55
|
-
"description": "**Inverse Primary**\n\n
|
|
55
|
+
"description": "**Inverse Primary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-inverse-primary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-primary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-primary), 0.5);\n}\n```\n",
|
|
56
56
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"name": "--mdui-color-secondary-light",
|
|
60
|
-
"description": "**Secondary**\n\n
|
|
60
|
+
"description": "**Secondary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-secondary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary), 0.5);\n}\n```\n",
|
|
61
61
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "--mdui-color-secondary-container-light",
|
|
65
|
-
"description": "**Secondary Container**\n\n
|
|
65
|
+
"description": "**Secondary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-secondary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary-container), 0.5);\n}\n```\n",
|
|
66
66
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "--mdui-color-on-secondary-light",
|
|
70
|
-
"description": "**On Secondary**\n\n
|
|
70
|
+
"description": "**On Secondary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-secondary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary), 0.5);\n}\n```\n",
|
|
71
71
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"name": "--mdui-color-on-secondary-container-light",
|
|
75
|
-
"description": "**On Secondary Container**\n\n
|
|
75
|
+
"description": "**On Secondary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-secondary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary-container), 0.5);\n}\n```\n",
|
|
76
76
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"name": "--mdui-color-tertiary-light",
|
|
80
|
-
"description": "**Tertiary**\n\n
|
|
80
|
+
"description": "**Tertiary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-tertiary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary), 0.5);\n}\n```\n",
|
|
81
81
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"name": "--mdui-color-tertiary-container-light",
|
|
85
|
-
"description": "**Tertiary Container**\n\n
|
|
85
|
+
"description": "**Tertiary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-tertiary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary-container), 0.5);\n}\n```\n",
|
|
86
86
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "--mdui-color-on-tertiary-light",
|
|
90
|
-
"description": "**On Tertiary**\n\n
|
|
90
|
+
"description": "**On Tertiary**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-tertiary-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary), 0.5);\n}\n```\n",
|
|
91
91
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"name": "--mdui-color-on-tertiary-container-light",
|
|
95
|
-
"description": "**On Tertiary Container**\n\n
|
|
95
|
+
"description": "**On Tertiary Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-tertiary-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary-container), 0.5);\n}\n```\n",
|
|
96
96
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"name": "--mdui-color-surface-light",
|
|
100
|
-
"description": "**Surface**\n\n
|
|
100
|
+
"description": "**Surface**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface), 0.5);\n}\n```\n",
|
|
101
101
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"name": "--mdui-color-surface-dim-light",
|
|
105
|
-
"description": "**Surface Dim**\n\n
|
|
105
|
+
"description": "**Surface Dim**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-dim-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dim-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-dim), 0.5);\n}\n```\n",
|
|
106
106
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
"name": "--mdui-color-surface-bright-light",
|
|
110
|
-
"description": "**Surface Bright**\n\n
|
|
110
|
+
"description": "**Surface Bright**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-bright-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-bright-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-bright));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-bright), 0.5);\n}\n```\n",
|
|
111
111
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"name": "--mdui-color-surface-container-lowest-light",
|
|
115
|
-
"description": "**Surface Container Lowest**\n\n
|
|
115
|
+
"description": "**Surface Container Lowest**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-container-lowest-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-lowest), 0.5);\n}\n```\n",
|
|
116
116
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "--mdui-color-surface-container-low-light",
|
|
120
|
-
"description": "**Surface Container Low**\n\n
|
|
120
|
+
"description": "**Surface Container Low**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-container-low-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-low-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-low));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-low), 0.5);\n}\n```\n",
|
|
121
121
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"name": "--mdui-color-surface-container-light",
|
|
125
|
-
"description": "**Surface Container**\n\n
|
|
125
|
+
"description": "**Surface Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container), 0.5);\n}\n```\n",
|
|
126
126
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "--mdui-color-surface-container-high-light",
|
|
130
|
-
"description": "**Surface Container High**\n\n
|
|
130
|
+
"description": "**Surface Container High**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-container-high-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-high-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-high));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-high), 0.5);\n}\n```\n",
|
|
131
131
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "--mdui-color-surface-container-highest-light",
|
|
135
|
-
"description": "**Surface Container Highest**\n\n
|
|
135
|
+
"description": "**Surface Container Highest**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-container-highest-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-highest), 0.5);\n}\n```\n",
|
|
136
136
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"name": "--mdui-color-surface-variant-light",
|
|
140
|
-
"description": "**Surface Variant**\n\n
|
|
140
|
+
"description": "**Surface Variant**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-variant-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-variant-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-variant), 0.5);\n}\n```\n",
|
|
141
141
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"name": "--mdui-color-on-surface-light",
|
|
145
|
-
"description": "**On Surface**\n\n
|
|
145
|
+
"description": "**On Surface**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-surface-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface), 0.5);\n}\n```\n",
|
|
146
146
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"name": "--mdui-color-on-surface-variant-light",
|
|
150
|
-
"description": "**On Surface Variant**\n\n
|
|
150
|
+
"description": "**On Surface Variant**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-surface-variant-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface-variant), 0.5);\n}\n```\n",
|
|
151
151
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"name": "--mdui-color-inverse-surface-light",
|
|
155
|
-
"description": "**Inverse Surface**\n\n
|
|
155
|
+
"description": "**Inverse Surface**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-inverse-surface-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-surface-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-surface), 0.5);\n}\n```\n",
|
|
156
156
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"name": "--mdui-color-inverse-on-surface-light",
|
|
160
|
-
"description": "**Inverse On Surface**\n\n
|
|
160
|
+
"description": "**Inverse On Surface**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-inverse-on-surface-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-on-surface), 0.5);\n}\n```\n",
|
|
161
161
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
"name": "--mdui-color-background-light",
|
|
165
|
-
"description": "**Background**\n\n
|
|
165
|
+
"description": "**Background**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-background-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-background-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-background), 0.5);\n}\n```\n",
|
|
166
166
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
"name": "--mdui-color-on-background-light",
|
|
170
|
-
"description": "**On Background**\n\n
|
|
170
|
+
"description": "**On Background**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-background-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-background-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-background), 0.5);\n}\n```\n",
|
|
171
171
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"name": "--mdui-color-error-light",
|
|
175
|
-
"description": "**Error**\n\n
|
|
175
|
+
"description": "**Error**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-error-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error), 0.5);\n}\n```\n",
|
|
176
176
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "--mdui-color-error-container-light",
|
|
180
|
-
"description": "**Error Container**\n\n
|
|
180
|
+
"description": "**Error Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-error-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error-container), 0.5);\n}\n```\n",
|
|
181
181
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"name": "--mdui-color-on-error-light",
|
|
185
|
-
"description": "**On Error**\n\n
|
|
185
|
+
"description": "**On Error**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-error-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error), 0.5);\n}\n```\n",
|
|
186
186
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"name": "--mdui-color-on-error-container-light",
|
|
190
|
-
"description": "**On Error Container**\n\n
|
|
190
|
+
"description": "**On Error Container**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-on-error-container-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-container-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error-container), 0.5);\n}\n```\n",
|
|
191
191
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"name": "--mdui-color-outline-light",
|
|
195
|
-
"description": "**Outline**\n\n
|
|
195
|
+
"description": "**Outline**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-outline-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline), 0.5);\n}\n```\n",
|
|
196
196
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
"name": "--mdui-color-outline-variant-light",
|
|
200
|
-
"description": "**Outline Variant**\n\n
|
|
200
|
+
"description": "**Outline Variant**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-outline-variant-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-variant-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline-variant), 0.5);\n}\n```\n",
|
|
201
201
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
"name": "--mdui-color-shadow-light",
|
|
205
|
-
"description": "**Shadow**\n\n
|
|
205
|
+
"description": "**Shadow**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-shadow-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-shadow-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-shadow));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-shadow), 0.5);\n}\n```\n",
|
|
206
206
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"name": "--mdui-color-surface-tint-color-light",
|
|
210
|
-
"description": "**Surface Tint Color**\n\n
|
|
210
|
+
"description": "**Surface Tint Color**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-surface-tint-color-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-tint-color), 0.5);\n}\n```\n",
|
|
211
211
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
"name": "--mdui-color-scrim-light",
|
|
215
|
-
"description": "**Scrim**\n\n
|
|
215
|
+
"description": "**Scrim**\n\n浅色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变浅色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置浅色模式颜色值 */\n:root {\n --mdui-color-scrim-light: 255, 0, 0;\n}\n\n/* 读取浅色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-scrim-light));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-scrim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-scrim), 0.5);\n}\n```\n",
|
|
216
216
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"name": "--mdui-color-primary-dark",
|
|
220
|
-
"description": "**Primary**\n\n
|
|
220
|
+
"description": "**Primary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-primary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary), 0.5);\n}\n```\n",
|
|
221
221
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"name": "--mdui-color-primary-container-dark",
|
|
225
|
-
"description": "**Primary Container**\n\n
|
|
225
|
+
"description": "**Primary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-primary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary-container), 0.5);\n}\n```\n",
|
|
226
226
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
"name": "--mdui-color-on-primary-dark",
|
|
230
|
-
"description": "**On Primary**\n\n
|
|
230
|
+
"description": "**On Primary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-primary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary), 0.5);\n}\n```\n",
|
|
231
231
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"name": "--mdui-color-on-primary-container-dark",
|
|
235
|
-
"description": "**On Primary Container**\n\n
|
|
235
|
+
"description": "**On Primary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-primary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary-container), 0.5);\n}\n```\n",
|
|
236
236
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
"name": "--mdui-color-inverse-primary-dark",
|
|
240
|
-
"description": "**Inverse Primary**\n\n
|
|
240
|
+
"description": "**Inverse Primary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-inverse-primary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-primary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-primary), 0.5);\n}\n```\n",
|
|
241
241
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "--mdui-color-secondary-dark",
|
|
245
|
-
"description": "**Secondary**\n\n
|
|
245
|
+
"description": "**Secondary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-secondary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary), 0.5);\n}\n```\n",
|
|
246
246
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
"name": "--mdui-color-secondary-container-dark",
|
|
250
|
-
"description": "**Secondary Container**\n\n
|
|
250
|
+
"description": "**Secondary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-secondary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary-container), 0.5);\n}\n```\n",
|
|
251
251
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"name": "--mdui-color-on-secondary-dark",
|
|
255
|
-
"description": "**On Secondary**\n\n
|
|
255
|
+
"description": "**On Secondary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-secondary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary), 0.5);\n}\n```\n",
|
|
256
256
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
"name": "--mdui-color-on-secondary-container-dark",
|
|
260
|
-
"description": "**On Secondary Container**\n\n
|
|
260
|
+
"description": "**On Secondary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-secondary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary-container), 0.5);\n}\n```\n",
|
|
261
261
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
264
|
"name": "--mdui-color-tertiary-dark",
|
|
265
|
-
"description": "**Tertiary**\n\n
|
|
265
|
+
"description": "**Tertiary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-tertiary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary), 0.5);\n}\n```\n",
|
|
266
266
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
"name": "--mdui-color-tertiary-container-dark",
|
|
270
|
-
"description": "**Tertiary Container**\n\n
|
|
270
|
+
"description": "**Tertiary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-tertiary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary-container), 0.5);\n}\n```\n",
|
|
271
271
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
"name": "--mdui-color-on-tertiary-dark",
|
|
275
|
-
"description": "**On Tertiary**\n\n
|
|
275
|
+
"description": "**On Tertiary**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-tertiary-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary), 0.5);\n}\n```\n",
|
|
276
276
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
"name": "--mdui-color-on-tertiary-container-dark",
|
|
280
|
-
"description": "**On Tertiary Container**\n\n
|
|
280
|
+
"description": "**On Tertiary Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-tertiary-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary-container), 0.5);\n}\n```\n",
|
|
281
281
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"name": "--mdui-color-surface-dark",
|
|
285
|
-
"description": "**Surface**\n\n
|
|
285
|
+
"description": "**Surface**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface), 0.5);\n}\n```\n",
|
|
286
286
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
"name": "--mdui-color-surface-dim-dark",
|
|
290
|
-
"description": "**Surface Dim**\n\n
|
|
290
|
+
"description": "**Surface Dim**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-dim-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dim-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-dim), 0.5);\n}\n```\n",
|
|
291
291
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"name": "--mdui-color-surface-bright-dark",
|
|
295
|
-
"description": "**Surface Bright**\n\n
|
|
295
|
+
"description": "**Surface Bright**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-bright-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-bright-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-bright));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-bright), 0.5);\n}\n```\n",
|
|
296
296
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"name": "--mdui-color-surface-container-lowest-dark",
|
|
300
|
-
"description": "**Surface Container Lowest**\n\n
|
|
300
|
+
"description": "**Surface Container Lowest**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-container-lowest-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-lowest), 0.5);\n}\n```\n",
|
|
301
301
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"name": "--mdui-color-surface-container-low-dark",
|
|
305
|
-
"description": "**Surface Container Low**\n\n
|
|
305
|
+
"description": "**Surface Container Low**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-container-low-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-low-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-low));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-low), 0.5);\n}\n```\n",
|
|
306
306
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"name": "--mdui-color-surface-container-dark",
|
|
310
|
-
"description": "**Surface Container**\n\n
|
|
310
|
+
"description": "**Surface Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container), 0.5);\n}\n```\n",
|
|
311
311
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"name": "--mdui-color-surface-container-high-dark",
|
|
315
|
-
"description": "**Surface Container High**\n\n
|
|
315
|
+
"description": "**Surface Container High**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-container-high-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-high-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-high));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-high), 0.5);\n}\n```\n",
|
|
316
316
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
"name": "--mdui-color-surface-container-highest-dark",
|
|
320
|
-
"description": "**Surface Container Highest**\n\n
|
|
320
|
+
"description": "**Surface Container Highest**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-container-highest-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-highest), 0.5);\n}\n```\n",
|
|
321
321
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
"name": "--mdui-color-surface-variant-dark",
|
|
325
|
-
"description": "**Surface Variant**\n\n
|
|
325
|
+
"description": "**Surface Variant**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-variant-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-variant-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-variant), 0.5);\n}\n```\n",
|
|
326
326
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"name": "--mdui-color-on-surface-dark",
|
|
330
|
-
"description": "**On Surface**\n\n
|
|
330
|
+
"description": "**On Surface**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-surface-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface), 0.5);\n}\n```\n",
|
|
331
331
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"name": "--mdui-color-on-surface-variant-dark",
|
|
335
|
-
"description": "**On Surface Variant**\n\n
|
|
335
|
+
"description": "**On Surface Variant**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-surface-variant-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface-variant), 0.5);\n}\n```\n",
|
|
336
336
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
"name": "--mdui-color-inverse-surface-dark",
|
|
340
|
-
"description": "**Inverse Surface**\n\n
|
|
340
|
+
"description": "**Inverse Surface**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-inverse-surface-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-surface-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-surface), 0.5);\n}\n```\n",
|
|
341
341
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"name": "--mdui-color-inverse-on-surface-dark",
|
|
345
|
-
"description": "**Inverse On Surface**\n\n
|
|
345
|
+
"description": "**Inverse On Surface**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-inverse-on-surface-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-on-surface), 0.5);\n}\n```\n",
|
|
346
346
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
347
347
|
},
|
|
348
348
|
{
|
|
349
349
|
"name": "--mdui-color-background-dark",
|
|
350
|
-
"description": "**Background**\n\n
|
|
350
|
+
"description": "**Background**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-background-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-background-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-background), 0.5);\n}\n```\n",
|
|
351
351
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
"name": "--mdui-color-on-background-dark",
|
|
355
|
-
"description": "**On Background**\n\n
|
|
355
|
+
"description": "**On Background**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-background-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-background-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-background), 0.5);\n}\n```\n",
|
|
356
356
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"name": "--mdui-color-error-dark",
|
|
360
|
-
"description": "**Error**\n\n
|
|
360
|
+
"description": "**Error**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-error-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error), 0.5);\n}\n```\n",
|
|
361
361
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
"name": "--mdui-color-error-container-dark",
|
|
365
|
-
"description": "**Error Container**\n\n
|
|
365
|
+
"description": "**Error Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-error-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error-container), 0.5);\n}\n```\n",
|
|
366
366
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
"name": "--mdui-color-on-error-dark",
|
|
370
|
-
"description": "**On Error**\n\n
|
|
370
|
+
"description": "**On Error**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-error-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error), 0.5);\n}\n```\n",
|
|
371
371
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
"name": "--mdui-color-on-error-container-dark",
|
|
375
|
-
"description": "**On Error Container**\n\n
|
|
375
|
+
"description": "**On Error Container**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-on-error-container-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-container-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error-container), 0.5);\n}\n```\n",
|
|
376
376
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
379
|
"name": "--mdui-color-outline-dark",
|
|
380
|
-
"description": "**Outline**\n\n
|
|
380
|
+
"description": "**Outline**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-outline-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline), 0.5);\n}\n```\n",
|
|
381
381
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
"name": "--mdui-color-outline-variant-dark",
|
|
385
|
-
"description": "**Outline Variant**\n\n
|
|
385
|
+
"description": "**Outline Variant**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-outline-variant-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-variant-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline-variant), 0.5);\n}\n```\n",
|
|
386
386
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"name": "--mdui-color-shadow-dark",
|
|
390
|
-
"description": "**Shadow**\n\n
|
|
390
|
+
"description": "**Shadow**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-shadow-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-shadow-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-shadow));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-shadow), 0.5);\n}\n```\n",
|
|
391
391
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"name": "--mdui-color-surface-tint-color-dark",
|
|
395
|
-
"description": "**Surface Tint Color**\n\n
|
|
395
|
+
"description": "**Surface Tint Color**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-surface-tint-color-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-tint-color), 0.5);\n}\n```\n",
|
|
396
396
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
399
|
"name": "--mdui-color-scrim-dark",
|
|
400
|
-
"description": "**Scrim**\n\n
|
|
400
|
+
"description": "**Scrim**\n\n深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n修改该属性可以改变深色模式下的颜色值。\n\n**示例**:\n```css\n/* 设置深色模式颜色值 */\n:root {\n --mdui-color-scrim-dark: 255, 0, 0;\n}\n\n/* 读取深色模式颜色值 */\n.element {\n color: rgb(var(--mdui-color-scrim-dark));\n}\n\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-scrim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-scrim), 0.5);\n}\n```\n",
|
|
401
401
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
402
402
|
},
|
|
403
403
|
{
|
|
404
404
|
"name": "--mdui-color-primary",
|
|
405
|
-
"description": "**Primary**\n\n
|
|
405
|
+
"description": "**Primary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-primary-light` 和 `--mdui-color-primary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-primary-light: 255, 0, 0;\n --mdui-color-primary-dark: 255, 0, 0;\n}\n```\n",
|
|
406
406
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
"name": "--mdui-color-primary-container",
|
|
410
|
-
"description": "**Primary Container**\n\n
|
|
410
|
+
"description": "**Primary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-primary-container-light` 和 `--mdui-color-primary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-primary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-primary-container-light: 255, 0, 0;\n --mdui-color-primary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
411
411
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
"name": "--mdui-color-on-primary",
|
|
415
|
-
"description": "**On Primary**\n\n
|
|
415
|
+
"description": "**On Primary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-primary-light` 和 `--mdui-color-on-primary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-primary-light: 255, 0, 0;\n --mdui-color-on-primary-dark: 255, 0, 0;\n}\n```\n",
|
|
416
416
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"name": "--mdui-color-on-primary-container",
|
|
420
|
-
"description": "**On Primary Container**\n\n
|
|
420
|
+
"description": "**On Primary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-primary-container-light` 和 `--mdui-color-on-primary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-primary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-primary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-primary-container-light: 255, 0, 0;\n --mdui-color-on-primary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
421
421
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
422
422
|
},
|
|
423
423
|
{
|
|
424
424
|
"name": "--mdui-color-inverse-primary",
|
|
425
|
-
"description": "**Inverse Primary**\n\n
|
|
425
|
+
"description": "**Inverse Primary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-inverse-primary-light` 和 `--mdui-color-inverse-primary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-primary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-primary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-inverse-primary-light: 255, 0, 0;\n --mdui-color-inverse-primary-dark: 255, 0, 0;\n}\n```\n",
|
|
426
426
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
429
|
"name": "--mdui-color-secondary",
|
|
430
|
-
"description": "**Secondary**\n\n
|
|
430
|
+
"description": "**Secondary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-secondary-light` 和 `--mdui-color-secondary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-secondary-light: 255, 0, 0;\n --mdui-color-secondary-dark: 255, 0, 0;\n}\n```\n",
|
|
431
431
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
434
|
"name": "--mdui-color-secondary-container",
|
|
435
|
-
"description": "**Secondary Container**\n\n
|
|
435
|
+
"description": "**Secondary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-secondary-container-light` 和 `--mdui-color-secondary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-secondary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-secondary-container-light: 255, 0, 0;\n --mdui-color-secondary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
436
436
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
439
|
"name": "--mdui-color-on-secondary",
|
|
440
|
-
"description": "**On Secondary**\n\n
|
|
440
|
+
"description": "**On Secondary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-secondary-light` 和 `--mdui-color-on-secondary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-secondary-light: 255, 0, 0;\n --mdui-color-on-secondary-dark: 255, 0, 0;\n}\n```\n",
|
|
441
441
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
"name": "--mdui-color-on-secondary-container",
|
|
445
|
-
"description": "**On Secondary Container**\n\n
|
|
445
|
+
"description": "**On Secondary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-secondary-container-light` 和 `--mdui-color-on-secondary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-secondary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-secondary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-secondary-container-light: 255, 0, 0;\n --mdui-color-on-secondary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
446
446
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
449
|
"name": "--mdui-color-tertiary",
|
|
450
|
-
"description": "**Tertiary**\n\n
|
|
450
|
+
"description": "**Tertiary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-tertiary-light` 和 `--mdui-color-tertiary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-tertiary-light: 255, 0, 0;\n --mdui-color-tertiary-dark: 255, 0, 0;\n}\n```\n",
|
|
451
451
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
452
452
|
},
|
|
453
453
|
{
|
|
454
454
|
"name": "--mdui-color-tertiary-container",
|
|
455
|
-
"description": "**Tertiary Container**\n\n
|
|
455
|
+
"description": "**Tertiary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-tertiary-container-light` 和 `--mdui-color-tertiary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-tertiary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-tertiary-container-light: 255, 0, 0;\n --mdui-color-tertiary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
456
456
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
459
|
"name": "--mdui-color-on-tertiary",
|
|
460
|
-
"description": "**On Tertiary**\n\n
|
|
460
|
+
"description": "**On Tertiary**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-tertiary-light` 和 `--mdui-color-on-tertiary-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-tertiary-light: 255, 0, 0;\n --mdui-color-on-tertiary-dark: 255, 0, 0;\n}\n```\n",
|
|
461
461
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
464
|
"name": "--mdui-color-on-tertiary-container",
|
|
465
|
-
"description": "**On Tertiary Container**\n\n
|
|
465
|
+
"description": "**On Tertiary Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-tertiary-container-light` 和 `--mdui-color-on-tertiary-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-tertiary-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-tertiary-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-tertiary-container-light: 255, 0, 0;\n --mdui-color-on-tertiary-container-dark: 255, 0, 0;\n}\n```\n",
|
|
466
466
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
469
|
"name": "--mdui-color-surface",
|
|
470
|
-
"description": "**Surface**\n\n
|
|
470
|
+
"description": "**Surface**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-light` 和 `--mdui-color-surface-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-light: 255, 0, 0;\n --mdui-color-surface-dark: 255, 0, 0;\n}\n```\n",
|
|
471
471
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
"name": "--mdui-color-surface-dim",
|
|
475
|
-
"description": "**Surface Dim**\n\n
|
|
475
|
+
"description": "**Surface Dim**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-dim-light` 和 `--mdui-color-surface-dim-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-dim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-dim), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-dim-light: 255, 0, 0;\n --mdui-color-surface-dim-dark: 255, 0, 0;\n}\n```\n",
|
|
476
476
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
479
|
"name": "--mdui-color-surface-bright",
|
|
480
|
-
"description": "**Surface Bright**\n\n
|
|
480
|
+
"description": "**Surface Bright**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-bright-light` 和 `--mdui-color-surface-bright-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-bright));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-bright), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-bright-light: 255, 0, 0;\n --mdui-color-surface-bright-dark: 255, 0, 0;\n}\n```\n",
|
|
481
481
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
"name": "--mdui-color-surface-container-lowest",
|
|
485
|
-
"description": "**Surface Container Lowest**\n\n
|
|
485
|
+
"description": "**Surface Container Lowest**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-container-lowest-light` 和 `--mdui-color-surface-container-lowest-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-lowest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-lowest), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-container-lowest-light: 255, 0, 0;\n --mdui-color-surface-container-lowest-dark: 255, 0, 0;\n}\n```\n",
|
|
486
486
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
489
|
"name": "--mdui-color-surface-container-low",
|
|
490
|
-
"description": "**Surface Container Low**\n\n
|
|
490
|
+
"description": "**Surface Container Low**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-container-low-light` 和 `--mdui-color-surface-container-low-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-low));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-low), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-container-low-light: 255, 0, 0;\n --mdui-color-surface-container-low-dark: 255, 0, 0;\n}\n```\n",
|
|
491
491
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
494
|
"name": "--mdui-color-surface-container",
|
|
495
|
-
"description": "**Surface Container**\n\n
|
|
495
|
+
"description": "**Surface Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-container-light` 和 `--mdui-color-surface-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-container-light: 255, 0, 0;\n --mdui-color-surface-container-dark: 255, 0, 0;\n}\n```\n",
|
|
496
496
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
499
|
"name": "--mdui-color-surface-container-high",
|
|
500
|
-
"description": "**Surface Container High**\n\n
|
|
500
|
+
"description": "**Surface Container High**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-container-high-light` 和 `--mdui-color-surface-container-high-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-high));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-high), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-container-high-light: 255, 0, 0;\n --mdui-color-surface-container-high-dark: 255, 0, 0;\n}\n```\n",
|
|
501
501
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
"name": "--mdui-color-surface-container-highest",
|
|
505
|
-
"description": "**Surface Container Highest**\n\n
|
|
505
|
+
"description": "**Surface Container Highest**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-container-highest-light` 和 `--mdui-color-surface-container-highest-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-container-highest));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-container-highest), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-container-highest-light: 255, 0, 0;\n --mdui-color-surface-container-highest-dark: 255, 0, 0;\n}\n```\n",
|
|
506
506
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
"name": "--mdui-color-surface-variant",
|
|
510
|
-
"description": "**Surface Variant**\n\n
|
|
510
|
+
"description": "**Surface Variant**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-variant-light` 和 `--mdui-color-surface-variant-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-variant), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-variant-light: 255, 0, 0;\n --mdui-color-surface-variant-dark: 255, 0, 0;\n}\n```\n",
|
|
511
511
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
514
|
"name": "--mdui-color-on-surface",
|
|
515
|
-
"description": "**On Surface**\n\n
|
|
515
|
+
"description": "**On Surface**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-surface-light` 和 `--mdui-color-on-surface-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-surface-light: 255, 0, 0;\n --mdui-color-on-surface-dark: 255, 0, 0;\n}\n```\n",
|
|
516
516
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
517
517
|
},
|
|
518
518
|
{
|
|
519
519
|
"name": "--mdui-color-on-surface-variant",
|
|
520
|
-
"description": "**On Surface Variant**\n\n
|
|
520
|
+
"description": "**On Surface Variant**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-surface-variant-light` 和 `--mdui-color-on-surface-variant-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-surface-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-surface-variant), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-surface-variant-light: 255, 0, 0;\n --mdui-color-on-surface-variant-dark: 255, 0, 0;\n}\n```\n",
|
|
521
521
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
524
|
"name": "--mdui-color-inverse-surface",
|
|
525
|
-
"description": "**Inverse Surface**\n\n
|
|
525
|
+
"description": "**Inverse Surface**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-inverse-surface-light` 和 `--mdui-color-inverse-surface-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-surface), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-inverse-surface-light: 255, 0, 0;\n --mdui-color-inverse-surface-dark: 255, 0, 0;\n}\n```\n",
|
|
526
526
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
527
527
|
},
|
|
528
528
|
{
|
|
529
529
|
"name": "--mdui-color-inverse-on-surface",
|
|
530
|
-
"description": "**Inverse On Surface**\n\n
|
|
530
|
+
"description": "**Inverse On Surface**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-inverse-on-surface-light` 和 `--mdui-color-inverse-on-surface-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-inverse-on-surface));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-inverse-on-surface), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-inverse-on-surface-light: 255, 0, 0;\n --mdui-color-inverse-on-surface-dark: 255, 0, 0;\n}\n```\n",
|
|
531
531
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"name": "--mdui-color-background",
|
|
535
|
-
"description": "**Background**\n\n
|
|
535
|
+
"description": "**Background**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-background-light` 和 `--mdui-color-background-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-background), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-background-light: 255, 0, 0;\n --mdui-color-background-dark: 255, 0, 0;\n}\n```\n",
|
|
536
536
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
"name": "--mdui-color-on-background",
|
|
540
|
-
"description": "**On Background**\n\n
|
|
540
|
+
"description": "**On Background**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-background-light` 和 `--mdui-color-on-background-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-background));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-background), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-background-light: 255, 0, 0;\n --mdui-color-on-background-dark: 255, 0, 0;\n}\n```\n",
|
|
541
541
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
544
|
"name": "--mdui-color-error",
|
|
545
|
-
"description": "**Error**\n\n
|
|
545
|
+
"description": "**Error**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-error-light` 和 `--mdui-color-error-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-error-light: 255, 0, 0;\n --mdui-color-error-dark: 255, 0, 0;\n}\n```\n",
|
|
546
546
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
549
|
"name": "--mdui-color-error-container",
|
|
550
|
-
"description": "**Error Container**\n\n
|
|
550
|
+
"description": "**Error Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-error-container-light` 和 `--mdui-color-error-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-error-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-error-container-light: 255, 0, 0;\n --mdui-color-error-container-dark: 255, 0, 0;\n}\n```\n",
|
|
551
551
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
554
|
"name": "--mdui-color-on-error",
|
|
555
|
-
"description": "**On Error**\n\n
|
|
555
|
+
"description": "**On Error**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-error-light` 和 `--mdui-color-on-error-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-error-light: 255, 0, 0;\n --mdui-color-on-error-dark: 255, 0, 0;\n}\n```\n",
|
|
556
556
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
559
|
"name": "--mdui-color-on-error-container",
|
|
560
|
-
"description": "**On Error Container**\n\n
|
|
560
|
+
"description": "**On Error Container**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-on-error-container-light` 和 `--mdui-color-on-error-container-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-on-error-container));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-on-error-container), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-on-error-container-light: 255, 0, 0;\n --mdui-color-on-error-container-dark: 255, 0, 0;\n}\n```\n",
|
|
561
561
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
"name": "--mdui-color-outline",
|
|
565
|
-
"description": "**Outline**\n\n
|
|
565
|
+
"description": "**Outline**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-outline-light` 和 `--mdui-color-outline-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-outline-light: 255, 0, 0;\n --mdui-color-outline-dark: 255, 0, 0;\n}\n```\n",
|
|
566
566
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
567
567
|
},
|
|
568
568
|
{
|
|
569
569
|
"name": "--mdui-color-outline-variant",
|
|
570
|
-
"description": "**Outline Variant**\n\n
|
|
570
|
+
"description": "**Outline Variant**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-outline-variant-light` 和 `--mdui-color-outline-variant-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-outline-variant));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-outline-variant), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-outline-variant-light: 255, 0, 0;\n --mdui-color-outline-variant-dark: 255, 0, 0;\n}\n```\n",
|
|
571
571
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"name": "--mdui-color-shadow",
|
|
575
|
-
"description": "**Shadow**\n\n
|
|
575
|
+
"description": "**Shadow**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-shadow-light` 和 `--mdui-color-shadow-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-shadow));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-shadow), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-shadow-light: 255, 0, 0;\n --mdui-color-shadow-dark: 255, 0, 0;\n}\n```\n",
|
|
576
576
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
577
577
|
},
|
|
578
578
|
{
|
|
579
579
|
"name": "--mdui-color-surface-tint-color",
|
|
580
|
-
"description": "**Surface Tint Color**\n\n
|
|
580
|
+
"description": "**Surface Tint Color**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-surface-tint-color-light` 和 `--mdui-color-surface-tint-color-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-surface-tint-color));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-surface-tint-color), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-surface-tint-color-light: 255, 0, 0;\n --mdui-color-surface-tint-color-dark: 255, 0, 0;\n}\n```\n",
|
|
581
581
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
584
|
"name": "--mdui-color-scrim",
|
|
585
|
-
"description": "**Scrim**\n\n
|
|
585
|
+
"description": "**Scrim**\n\n自动适配浅色模式和深色模式的 RGB 颜色值,RGB 三色用 `,` 分隔。\n\n若要设置该颜色值,建议分别设置 `--mdui-color-scrim-light` 和 `--mdui-color-scrim-dark`。\n\n**示例**:\n```css\n/* 读取自动适配的颜色值 */\n.element {\n color: rgb(var(--mdui-color-scrim));\n}\n\n/* 读取自动适配的颜色值,并添加不透明度 */\n.element {\n color: rgba(var(--mdui-color-scrim), 0.5);\n}\n\n/* 分别设置浅色模式、深色模式的颜色值 */\n:root {\n --mdui-color-scrim-light: 255, 0, 0;\n --mdui-color-scrim-dark: 255, 0, 0;\n}\n```\n",
|
|
586
586
|
"docUrl": "https://www.mdui.org/docs/2/styles/design-tokens#color"
|
|
587
587
|
},
|
|
588
588
|
{
|