doc88git / flux-style-guide

Design by Doc88 for Vue.js

Home Page:https://doc88.com.br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flux Style Guide

Design by Doc88 for Vue.js

Documentation

This documentation, at this moment, is found in the repository itself using the StoryBook for Vue.

Check the storybook for flux here!

yarn storybook

Instalation

# Instalation
$ yarn add @doc88/flux-style-guide

You can use with Vue.js 2.x and Nuxt.js 2.x.

Nuxt.js

We create the file plugins/flux-style-guide.js:

import Vue from 'vue'
import FluxStyleGuide from "@doc88/flux-style-guide"

Vue.use(FluxStyleGuide)

Then we add the file path inside the plugins key of our nuxt.config.js:

export default {
  plugins: ['~/plugins/flux-style-guide']
}

Vue.js

import Vue from 'vue'
import FluxStyleGuide from "@doc88/flux-style-guide"

Vue.use(FluxStyleGuide)

CSS Sass Configuration

To use a simple configuration

@import '~@doc88/flux-style-guide/src/assets/f-style-guide.scss';

To customize styles

@import '~@doc88/flux-style-guide/src/assets/f-variables';

/*
Custom variables
*/

@import '~@doc88/flux-style-guide/src/assets/f-reset';
@import '~@doc88/flux-style-guide/src/assets/f-root';
@import '~@doc88/flux-style-guide/src/assets/f-colors';
@import '~@doc88/flux-style-guide/src/assets/f-sizes';
@import '~@doc88/flux-style-guide/src/assets/f-transitions';
@import '~@doc88/flux-style-guide/src/assets/settings/settings';

@import '~@doc88/flux-style-guide/src/assets/f-base';

Update

# Update dependence
$ yarn upgrade-interactive --latest

Contribuition

About

Design by Doc88 for Vue.js

https://doc88.com.br


Languages

Language:JavaScript 55.0%Language:Vue 37.9%Language:SCSS 6.8%Language:HTML 0.2%Language:Stylus 0.1%Language:Dockerfile 0.0%