@douyinfe/semi-theme-default 2.60.0 → 2.61.0-alpha.1
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/package.json +2 -2
- package/README.md +0 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-theme-default",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.61.0-alpha.1",
|
|
4
4
|
"description": "semi-theme-default",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semi-theme",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"sideEffects": "*.scss",
|
|
14
14
|
"author": "huangzhijing.pixel@bytedance.com",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "ba06de12d059c24363f1ef151dbf4076ea3969a5",
|
|
17
17
|
"_unpkg": true
|
|
18
18
|
}
|
package/README.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
> The default theme package of Semi Design.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
By default, the theme package will be automatically installed as dependence of `@douyinfe/semi-foundation`.
|
|
5
|
-
|
|
6
|
-
You can make a custom theme through [Semi Design System](https://semi.design/dsm).
|
|
7
|
-
|
|
8
|
-
## Directory Structure
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
├── package.json
|
|
12
|
-
├── scripts // Relevant compilation script
|
|
13
|
-
│ ├── build-css.js
|
|
14
|
-
│ └── processor.js
|
|
15
|
-
├── scss
|
|
16
|
-
│ ├── _font.scss // Font-related scss mixin
|
|
17
|
-
│ ├── _palette.scss // Global original color palette(css variable)
|
|
18
|
-
│ ├── global.scss // Global Design Token(css variable, including light and dark mode)
|
|
19
|
-
│ ├── index.scss // Entry
|
|
20
|
-
│ ├── mixin.scss // Extra mixin(e.g, shadow)
|
|
21
|
-
│ └── variables.scss // Sizing,spacing,zindex and font related design token
|
|
22
|
-
└── semi.scss // Unified compilation entry for node-sass or dart-sass consumption
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Design Token stratification principle
|
|
26
|
-
|
|
27
|
-

|
|
28
|
-
|
|
29
|
-
- No need to switch at runtime, carried by sass variable
|
|
30
|
-
- Need to support runtime switching, such as the color variable related to the dark mode, carried by css variable
|
|
31
|
-
|
|
32
|
-

|
|
33
|
-
|
|
34
|
-
## License
|
|
35
|
-
|
|
36
|
-
MIT
|