New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@globalbrain/sefirot

Package Overview
Dependencies
Maintainers
1
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globalbrain/sefirot

Vue Components for Global Brain Design System.

  • 0.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
353
increased by145.14%
Maintainers
1
Weekly downloads
 
Created
Source

Sefirot

Travis CI codecov License

This repository contains Vue Components for Global Brain Design System. Components are meant to be clean, sophisticated, and scalable.

The project is currently heavily under development and may drastically change while in progress.

Getting Started

Install Sefirot via npm or yarn.

$ npm install @globalbrain/sefirot

$ yarn add @globalbrain/sefirot

Now you may import components under lib directly and use them in your Vue Component.

<template>
  <div>
    <SButton label="BUTTON" />
  </div>
</template>

<script>
import SButton from '@globalbrain/sefirot/lib/components/buttons/SButton'

export default {
  components: {
    SButton
  }
}
</script>

When compiling your project, don't forget to transpire the code. For example, in Nuxt, you should define the following settings at nuxt.config.js.

export default {
  // ...

  build: {
    transpile: ['@globalbrain/sefirot']
  }

  // ...
}

Also, Sefirot assumes you have your CSS variables defined at @/assets/styles/variables. Make sure to copy styles to your project on the same location. In addition, Sefirot uses postcss plugins, postcss-nested and postcss-css-variables. Make sure to define them in your postcss config. Again for Nuxt, you should define:

export default {
  // ...

  build: {
    transpile: ['@globalbrain/sefirot'],

    postcss: {
      plugins: {
        'postcss-nested': {},
        'postcss-css-variables': {},
      }
    }
  }

  // ...
}

Contribution

We're really excited that you are interested in contributing to Sefirot. Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.

Code style guide

Sefirot follows official Vue Style Guide. But always remember to follow the "Golden Rule" below.

Every line of code should appear to be written by a single person, no matter the number of contributors.
@mdo

Keywords

FAQs

Package last updated on 03 Jul 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