Socket
Book a DemoInstallSign in
Socket

atag

Package Overview
Dependencies
Maintainers
4
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atag

A UI Web Components Library

latest
npmnpm
Version
0.1.54
Version published
Weekly downloads
7
Maintainers
4
Weekly downloads
 
Created
Source

atag

A UI Web Components Library

run dev

npm i
npm start # served at localhost:9001/atag.js

run build

npm run build # build to dist/atag.js

run test

npm test

主题方案

atag 组件通过 css 变量方式支持主题切换,目前可用的变量:

  • --color-primary,默认 #ff5500
  • --color-warn,默认 #fb9025
  • --button-primary-background-color-from,默认 #ff8800
  • --button-primary-background-color-to,默认 #ff5500
  • --button-primary-text-color,默认 #ffffff
  • --button-warn-background-color-from,默认 #fbca2f
  • --button-warn-background-color-to,默认 #fb9025
  • --button-warn-text-color,默认 #ffffff
  • --button-default-background-color-from,默认 #ffffff
  • --button-default-background-color-to,默认 #ffffff
  • --button-default-text-color,默认 #ff5500
  • --button-border-radius,默认 40px

使用:

:host {
  color: var(--color-primary-2);
}

FAQs

Package last updated on 10 Jun 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