Socket
Book a DemoInstallSign in
Socket

at-theme

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

at-theme

at主题包

latest
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

at-theme(at主题变量包)

目录结构

.
├── README.md
├── apsara // 天基主题
│   ├── css
│   │   └── index.css // css变量版本
│   ├── js
│   │   └── index.js // js版本
│   ├── less
│   │   └── index.less // less版本
│   └── scss  // 原始scss版本
│       ├── index.scss
│       ├── mixins
│       │   └── font.scss
│       └── variables
│           ├── color.scss
│           ├── radius.scss
│           └── shadow.scss
├── apsara-dark // 天基暗色主题
│   ├── css
│   │   └── index.css
│   ├── js
│   │   └── index.js
│   ├── less
│   │   └── index.less
│   └── scss
│       ├── index.scss
│       ├── mixins
│       │   └── font.scss
│       └── variables
│           ├── color.scss
│           ├── radius.scss
│           └── shadow.scss
├── common // 一些通用常量
│   └── variables
│       ├── color.scss
│       ├── font-family.scss
│       ├── radius.scss
│       ├── shadow.scss
│       └── size.scss
├── package.json
├── scripts
│   ├── config.js
│   ├── convert-variable.js
│   ├── format.js
│   └── sass-extract-js
│       ├── plugin.js
│       └── transform-vars.js
├── teambition // tb主题
│   ├── css
│   │   └── index.css
│   ├── js
│   │   └── index.js
│   ├── less
│   │   └── index.less
│   └── scss
│       ├── index.scss
│       ├── mixins
│       │   └── font.scss
│       └── variables
│           ├── color.scss
│           ├── radius.scss
│           └── shadow.scss
└── teambition-dark // tb暗色主题
    ├── css
    │   └── index.css
    ├── js
    │   └── index.js
    ├── less
    │   └── index.less
    └── scss
        ├── index.scss
        ├── mixins
        │   └── font.scss
        └── variables
            ├── color.scss
            ├── radius.scss
            └── shadow.scss

构建

npm run build会根据各个主题的scss版本生成对应的less、css、js版本。

发布

修改版本号并执行npm publish进行发布

使用(以天基scss版本为例)

@import at-theme/apsara/scss/index.scss

Keywords

at

FAQs

Package last updated on 22 Nov 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.