0.7.0 • Published 3 years ago

@okta/odyssey v0.7.0

Weekly downloads
217
License
Apache-2.0
Repository
-
Last release
3 years ago

@okta/odyssey

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

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

What's included

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

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

src/scss/odyssey.scss - The main compilation sheet for Odyssey.

Getting started

Install Odyssey

Using yarn:

$ yarn add @okta/odyssey

If you prefer npm, use the following command instead:

$ npm install --save @okta/odyssey

SCSS

Usage of the Odyssey 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 Odyssey to your build, import the compilation sheet directly.

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

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

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

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

0.7.0

3 years ago

0.6.0

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

5 years ago