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

@wework/oui-scss

Package Overview
Dependencies
Maintainers
11
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wework/oui-scss

WeWork UI + Styles

  • 0.0.3
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
11
Weekly downloads
 
Created
Source

npm version

Oui Sass

Setup

npm install @wework/oui-scss --save-dev

To include all of Oui's styles in your project, import like so:

@import "@wework/oui-scss/src/oui"

It is optional to use both Normalize-scss and Eric Meyer's Reset CSS. You should include them before importing Oui:

@import "@wework/oui-scss/src/reset"
@import "@wework/oui-scss/src/normalize"
@import "@wework/oui-scss/src/oui"

If you would like to use our default font, Proxima Nova, include the following script tag in the head of your html:

<script src="//fast.fonts.net/jsapi/bc942a26-8ea5-4d85-b69e-a4afa56b5011.js"></script>

Directory Structure

(truncated, only showing one component in src, for the sake of simplicity)

├── docs
│   ├── styleguide
│   │   ├── styleguide.jade
│   │   ├── styleguide.jsx
│   │   ├── styleguide.scss
│   ├── entry.js
│   ├── index.html
├── node_modules
├── public
├── src
│   ├── components
│   │   ├── header
│   │   │   ├── header.jade
│   │   │   ├── header.jsx
│   │   │   ├── header.scss
│   │   ├── index.js
  • docs/ - Imports all components necessary for the docs into Styleguide.jsx. entry.js is our entry point for webpack. When npm run build is executed, this folder is compiled to serve up our documentation in public in the browser at localhost:8080.
  • public/ - Generated by webpack. Compiled and minified docs for reference.
  • src/components - Where everything we need to build beautiful websites lives.

Build

  • npm run build to both delete the public folder and rebuild it.

    • Run npm run build:clean to remove public folder
    • Run npm run build:all to build public folder
  • npm start to view the documentation on localhost:8080.

Keywords

FAQs

Package last updated on 09 Feb 2016

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