Socket
Socket
Sign inDemoInstall

artistry

Package Overview
Dependencies
1
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    artistry

A powerful and configurable stylesheet


Version published
Weekly downloads
103
increased by692.31%
Maintainers
1
Install size
326 kB
Created
Weekly downloads
 

Readme

Source

Artistry

Build Status npm version

A powerful and configurable stylesheet

Artistry is a collection of commonly used widget styles, such as buttons, modals, tabs, etc. Each has been designed to work together seamlessly and efficiently. It is also designed to work independently of any JavaScript framework.

Simplicity of Design

The core philosophy of Artistry is: HTML first, CSS second, JavaScript third.

  • First, we keep the HTML structures simple, with less tags, less nesting, and more meaning. As a developer, you should focus on your data and your content, not a hundred nested <div> tags.
  • Second, we let CSS classes do the styling and animating. Adding just a few classes here is enough to style every widget. In most cases this is enough. All of the animation is powered by CSS.
  • Third, we keep JavaScript to an absolute minimum. Most often, it is used to simply toggle a class on and off.

Ease of Integration

Because Artistry is mostly powered by HTML and CSS, with very limited JavaScript, it is very easy to integrate with a wide range of JavaScript frameworks.

Flexible Configuration

Almost every aspect of the stylesheet is configurable. Using Stylus, configuration can be done either inside the .styl files or with a .json file. These changes can either be done globally, or to individual widgets. And the widgets have been designed to work together. So if for example you want to change the spacing of the entire stylesheet, you can set it in one place, and everything will be adjusted automatically.

Keywords

FAQs

Last updated on 16 Jun 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc