Giter Site home page Giter Site logo

odyssey's Introduction

@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.

odyssey's People

Contributors

edburyenegren-okta avatar ggreer avatar johnatanuribe-okta avatar oktauploader-okta avatar ramkrishn123 avatar santhoshbalakrishnan-okta avatar stevennguyen-okta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.