Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@douyinfe/semi-theme-default

Package Overview
Dependencies
Maintainers
10
Versions
569
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@douyinfe/semi-theme-default

semi-theme-default

latest
npmnpm
Version
2.95.1
Version published
Weekly downloads
26K
47.53%
Maintainers
10
Weekly downloads
 
Created
Source

The default theme package of Semi Design.

By default, the theme package will be automatically installed as dependence of @douyinfe/semi-foundation.

You can make a custom theme through Semi Design System.

Directory Structure

├── package.json
├── scripts            // Relevant compilation script
│   ├── build-css.js
│   └── processor.js
├── scss             
│   ├── _font.scss     // Font-related scss mixin
│   ├── _palette.scss  // Global original color palette(css variable)
│   ├── global.scss    // Global Design Token(css variable, including light and dark mode)
│   ├── index.scss     // Entry
│   ├── mixin.scss     // Extra mixin(e.g, shadow)
│   └── variables.scss // Sizing,spacing,zindex and font related design token
└── semi.scss          // Unified compilation entry for node-sass or dart-sass consumption

Design Token stratification principle

Theme scheme

  • No need to switch at runtime, carried by sass variable
  • Need to support runtime switching, such as the color variable related to the dark mode, carried by css variable

Design Token

License

MIT

Keywords

semi-theme

FAQs

Package last updated on 21 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts