@mdui/mcp 2.1.0

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.
@@ -0,0 +1,8 @@
1
+ interface CssClass {
2
+ name: string;
3
+ description: string;
4
+ example: string;
5
+ docUrl: string;
6
+ }
7
+ export declare const cssClasses: CssClass[];
8
+ export {};
@@ -0,0 +1,33 @@
1
+ // 此文件由 scripts/mcp/build-css-classes.ts 自动生成,请勿手动修改
2
+ export const cssClasses = [
3
+ {
4
+ "name": "mdui-theme-light",
5
+ "description": "将此 class 添加到元素上,该元素及其子元素将使用亮色模式显示。",
6
+ "example": "```html\n<div class=\"mdui-theme-light\"></div>\n```",
7
+ "docUrl": "https://www.mdui.org/docs/2/styles/dark-mode"
8
+ },
9
+ {
10
+ "name": "mdui-theme-dark",
11
+ "description": "将此 class 添加到 `<html>` 元素上,整个页面将使用暗色模式显示。也可以添加到其他元素上,使该元素及其子元素使用暗色模式显示。",
12
+ "example": "```html\n<!-- 整个页面使用暗色模式显示 -->\n<html class=\"mdui-theme-dark\"></html>\n\n<!-- 该元素及其子元素使用暗色模式显示 -->\n<div class=\"mdui-theme-dark\"></div>\n```",
13
+ "docUrl": "https://www.mdui.org/docs/2/styles/dark-mode"
14
+ },
15
+ {
16
+ "name": "mdui-theme-auto",
17
+ "description": "将此 class 添加到 `<html>` 上,整个页面将根据操作系统设置自动切换亮色模式和暗色模式。也可添加到其他元素上,使该元素及其子元素自动切换亮色模式和暗色模式。",
18
+ "example": "```html\n<!-- 整个页面自动切换亮色模式和暗色模式 -->\n<html class=\"mdui-theme-auto\"></html>\n\n<!-- 该元素及其子元素自动切换亮色模式和暗色模式 -->\n<div class=\"mdui-theme-auto\"></div>\n```",
19
+ "docUrl": "https://www.mdui.org/docs/2/styles/dark-mode"
20
+ },
21
+ {
22
+ "name": "mdui-prose",
23
+ "description": "添加此 class,将优化文章的排版样式。",
24
+ "example": "```html\n<div class=\"mdui-prose\">\n <h1>文章标题</h2>\n <p>文章正文</p>\n</div>\n```",
25
+ "docUrl": "https://www.mdui.org/docs/2/styles/prose"
26
+ },
27
+ {
28
+ "name": "mdui-table",
29
+ "description": "在 `<table>` 元素上添加此 class,将优化表格的显示样式。\n\n也可以添加在 `<table>` 的父元素上,除了优化表格显示样式外,还支持表格横向滚动",
30
+ "example": "```html\n<table class=\"mdui-table\"></table>\n\n<div class=\"mdui-table\">\n <table></table>\n</div>\n```",
31
+ "docUrl": "https://www.mdui.org/docs/2/styles/prose"
32
+ }
33
+ ];
@@ -0,0 +1,7 @@
1
+ interface CssVariable {
2
+ name: string;
3
+ description: string;
4
+ docUrl: string;
5
+ }
6
+ export declare const cssVariables: CssVariable[];
7
+ export {};