{"name":"@douyinfe/semi-theme-default","version":"2.0.1","keywords":["semi-theme","scss"],"author":{"name":"huangzhijing.pixel@bytedance.com"},"license":"MIT","_id":"@douyinfe/semi-theme-default@2.0.1","dist":{"shasum":"30577877ea8955e5909d95e385d73ddcf13ba6dd","tarball":"http://registry-npm.ywwl.com/@douyinfe/semi-theme-default/download/@douyinfe/semi-theme-default-2.0.1.tgz","fileCount":9,"integrity":"sha512-1AGDCcpqCIDyu3wGMCd8lBZbHNFTy2xI2iuh55LyxTQjyDVXlNOBnyh7PC5aThI7s5qt8arRYUpCb5I7pwwqcA==","signatures":[{"sig":"MEUCIAUw3PN7t4buRuMl16B6SkC4715mVj0HwxHb+3v2MZj+AiEAhVj2laSJahLl9Fu9mf75/cYXJxMYC6tFpxVf2931GZc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36038,"size":8892,"noattachment":false,"key":"/@douyinfe/semi-theme-default/-/@douyinfe/semi-theme-default-2.0.1.tgz"},"main":"semi.scss","_unpkg":true,"gitHead":"2d22a6fe549a12e0a072dd07c915f15bb2443d75","_npmUser":{"name":"wuhw","email":"15990176834@163.com"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"semi-theme-default","directories":{},"sideEffects":"*.scss","_nodeVersion":"14.18.1","dependencies":{"glob":"^7.1.6"},"_hasShrinkwrap":false,"devDependencies":{"path":"^0.12.7"},"_npmOperationalInternal":{"tmp":"tmp/semi-theme-default_2.0.1_1635761488308_0.9556810509293443","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":1635761488452,"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":1635761488452,"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"}}