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

@oasislabs/style

Package Overview
Dependencies
Maintainers
12
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oasislabs/style

Oasis Labs Styling

  • 2.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by275%
Maintainers
12
Weekly downloads
 
Created
Source

Oasis Style

Universal Oasis styling.

Usage

Import oasis.scss into the top-level component. The project must be able to build scss files correctly (using scss-loader in webpack for example)

// src/main.ts
import '@oasislabs/style';

Import variables.scss into style/variables.scss (or vueConfig css.loaderOptions.scss.additionalData)

// src/style/variables.scss

// Override Vuetify
// This is auto loaded https://vuetifyjs.com/en/features/sass-variables/#vue-cli-install
// Explore variables https://vuetifyjs.com/en/features/sass-variables/#variable-api
@import "@oasislabs/style/scss/utilities/variables.scss";

Import and use any component available in styles/vue/components

// src/component.vue
import { Button } from '@oasislabs/style/vue/components';

Development

To help facilitate the development of new components, Storybook has been added.

When developing new components, create a story along with it.

To run storybook,

npm install
npm run storybook

Today, Storybook is set up for Vue, but it can also be added for other frameworks in the future.

FAQs

Package last updated on 21 Feb 2023

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