Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csstyle

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csstyle

clean, simple styling for styling the web.

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
121
increased by80.6%
Maintainers
2
Weekly downloads
 
Created
Source

csstyle

Clean, simple, for styling the web.

csstyle is a modern approach for crafting beautifully maintainable stylesheets. Keeping CSS clean and organized is really hard. csstyle provides a higher-level abstraction for writing modular CSS. Written for Sass, it makes your CSS readable and semantic, generates your selectors for you, and automatically handles things like specificity and nesting.

csstyle makes your project's styling refreshingly consistent

Getting Started

Install csstyle via npm or yarn.

$ npm install --save-dev csstyle
$ yarn add --dev csstyle

Next, you need to add the app id to your html tag. You can use another id if you like, but you will need to configure this in your csstyle settings.

<!DOCTYPE html>
<html id="app" lang="en">
...
</html>

Lastly, you'll need to import csstyle in your main sass file.

@import '~csstyle/csstyle';

Now you're set and can start creating components with options & parts, adding in tweaks and locations as needed. Enjoy!

Documentation

Documentation for csstyle can be found here.

License

csstyle is open-sourced software licensed under the MIT license.

Keywords

FAQs

Package last updated on 21 Feb 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