{"name":"@douyinfe/semi-theme-default","version":"2.42.1","keywords":["semi-theme","scss"],"author":{"name":"huangzhijing.pixel@bytedance.com"},"license":"MIT","_id":"@douyinfe/semi-theme-default@2.42.1","dist":{"shasum":"f61fdaa1b80748ba8aefc56842457c3291d6ecf4","tarball":"http://registry-npm.ywwl.com/@douyinfe/semi-theme-default/download/@douyinfe/semi-theme-default-2.42.1.tgz","fileCount":10,"integrity":"sha512-HdAvzwLM1XAaeC2nzByzsib+9VF52HmnJPRWb8uC1MBXM42zFd/DtgwlSD+Rxtu3lvMHq87XLN54/VCWODocfg==","signatures":[{"sig":"MEQCIDM4qyhKbZYHSt1vj47ASyxT/QO/cMf0FduEBdevNSVTAiBOZ1NKPOX8NtiPVF2WwqzG8mCf9BKiBQPoSWhw0xbZ2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40103,"size":9693,"noattachment":false,"key":"/@douyinfe/semi-theme-default/-/@douyinfe/semi-theme-default-2.42.1.tgz"},"main":"semi.scss","gitHead":"5844246d00f6e7e25f545c112de129dd455989ca","_npmUser":{"name":"yumeizhang","email":"zhangyumei.0319@bytedance.com"},"_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (darwin)","description":"semi-theme-default","directories":{},"sideEffects":"*.scss","_nodeVersion":"16.20.0","dependencies":{"glob":"^7.1.6"},"_hasShrinkwrap":false,"devDependencies":{"path":"^0.12.7"},"_npmOperationalInternal":{"tmp":"tmp/semi-theme-default_2.42.1_1692959431112_0.19335867675113616","host":"s3://npm-registry-packages"},"readme":"> The default theme package of Semi Design.\n\n\nBy default, the theme package will be automatically installed as dependence of `@douyinfe/semi-foundation`.\n\nYou can make a custom theme through [Semi Design System](https://semi.design/dsm).\n\n## Directory Structure\n\n```\n├── package.json\n├── scripts            // Relevant compilation script\n│   ├── build-css.js\n│   └── processor.js\n├── scss             \n│   ├── _font.scss     // Font-related scss mixin\n│   ├── _palette.scss  // Global original color palette(css variable)\n│   ├── global.scss    // Global Design Token(css variable, including light and dark mode)\n│   ├── index.scss     // Entry\n│   ├── mixin.scss     // Extra mixin(e.g, shadow)\n│   └── variables.scss // Sizing,spacing,zindex and font related design token\n└── semi.scss          // Unified compilation entry for node-sass or dart-sass consumption\n```\n\n## Design Token stratification principle\n\n![Theme scheme](https://lf26-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/tech-doc/theme-arch.png)\n\n- No need to switch at runtime, carried by sass variable \n- Need to support runtime switching, such as the color variable related to the dark mode, carried by css variable\n\n![Design Token](https://lf26-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/tech-doc/theme-design-token.png)\n\n## License\n\nMIT\n","publish_time":1692959431332,"maintainers":[{"name":"yannlynn","email":"linyan.19960622@bytedance.com"},{"name":"yumeizhang","email":"zhangyumei.0319@bytedance.com"},{"name":"xyqnpm","email":"963945230@qq.com"},{"name":"chenyuling_99","email":"2897876309@qq.com"},{"name":"point.halo","email":"point.halo@outlook.com"},{"name":"zwlafk","email":"wlongtony@gmail.com"},{"name":"daiqiangreal","email":"daiqianghaha@foxmail.com"},{"name":"shijiatongxue","email":"imshijia@163.com"},{"name":"bytednpm","email":"bnpm@bytedance.com"},{"name":"wuhw","email":"15990176834@163.com"}],"_cnpm_publish_time":1692959431332,"dist-tags":{"2.55.5-hotfix-aria":"2.55.5-hotfix-aria","2.58.0-hotfix-aria":"2.58.0-hotfix-aria","alpha":"2.93.0-alpha.0","beta":"2.91.0-beta.0","custom":"2.38.3-alpha.2-3117-3120","hotfix":"2.38.3-alpha.2-patch-2254","latest":"2.105.0","meego-alpha":"2.38.4-alpha.2-3117-3120","patch-table":"2.38.3-alpha.2-patch-table","patch-tooltip":"2.70.1-alpha.1-patch-tooltip","test":"2.38.3-alpha.4"}}