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

@okta/nim

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okta/nim

Okta's design system

  • 0.1.0-beta.2407.g46f83be
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@okta/nim

This package provides the necessary SCSS and fonts to utilize Nim, Okta's design system.

For guidance on how and when to implement individual components, please see our online docs.

What's Included

dist/nim.css - A precompiled version of Nim for those who don't need the benefits of Sass.

src/scss - The SCSS source files for Nim, ready to be @import'd into your project.

src/scss/nim.scss - The main compilation sheet for Nim.

Getting Started

Install Nim

Using yarn:

$ yarn add @okta/nim

If you prefer npm, use the following command instead:

$ npm install --save @okta/nim

SCSS

Usage of the Nim Sass files assumes the use of a SCSS pre-processor. All Sass files use the *.scss file extension and syntax.

Autoprefixer

Make sure your asset pipeline utilizes autoprefixer to ensure vendor prefixes are automatically added to your compiled CSS.

Importing SCSS files

To add a Nim to your build, import the compilation sheet directly.

@import 'node_modules/nim/src/scss/nim';

This will import all functions, mixins, abstracts, components, and layouts into your build.

If you are looking for a more limited selection, you can also import select components, etc individually.

Contributing

Linting

Nim utilizes stylelint for our live linting as well as our lint tests.

You can check the current syntax rule configuration in stylelint.json.

FAQs

Package last updated on 30 Apr 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