feat: stash-ui 0.1.0(40 个组件 + 文档站 + 主题机制)

This commit is contained in:
stash
2026-10-28 20:44:18 +08:00
commit 52296b3368
153 changed files with 17129 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
/* 只放全局 reset 与页面底色;布局都在 demo.module.css */
:root {
font-family: var(--su-font-sans);
font-size: 14px;
line-height: 22px;
color: var(--su-text-main);
background-color: var(--su-bg-page);
color-scheme: light;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:root[data-scheme='dark'] {
color-scheme: dark;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
background-color: var(--su-bg-page);
color: var(--su-text-main);
}
a {
color: inherit;
text-decoration: none;
}
button {
font: inherit;
color: inherit;
border: none;
background: none;
}
ul {
list-style: none;
}
:focus-visible {
outline: var(--su-focus-ring);
outline-offset: var(--su-focus-ring-offset);
}