Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 0.1.54
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
51
decreased by-22.73%
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc