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

@afp/toolkit-styles

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@afp/toolkit-styles

This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.

  • 1.3.3
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Toolkit-styles

This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.

Installation

Installation via npm
npm install @afp/toolkit-styles

Then in your entry js

import '@afp/toolkit-styles/dist/index.bundle.css'

Requirements

  • NodeJS

Developement

Just npm run dev, then open /index.html (yes, just double-click) with your browser. Feel free to modify this file to add new markup, and to modify styles in the scss folder.

Node watch these files and automatically rebuild the CSS styles in dist/ folder.

The build process also allow fonts and images (like icons).

Build and publish

Not very necessary, but you can build without watch with npm run build. Then you can publish your module with npm publish.

Contributing

The colors should be set in colors.scss

Every other variables that must be accessible in toolkit ui or toolkit tools should be set in variables.scss. But don't apply styles in that file.

Styles should be applied in every component file (inputs.scss, buttons.scss) and the main file (main.scss).

Don't modify index.scss. It just includes the necessary lines to init the project.

FAQs

Package last updated on 07 Feb 2018

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