.CION style system vue.js.CION is actually a concept system create primarily for Vue.js treatments. You can easily use it as a starting point for constructing your personal design body.Use the body's elements to deal with common UI issues like layout, typography, displaying records or even data input.The unit takes advantage of layout tokens, a living styleguide with integrated code recreation spaces as well as recyclable components for typical UI tasks.Living Styleguide: Observe the styleguide adapt to your concept device as you continue.Element Records: Autogenerated records for your components along with incorporated play ground.Standard Elements: Features some standard elements to help you get started.First steps.Create:.Download and install the boilerplate.git duplicate https://github.com/visualjerk/vue-cion-design-system.git your-system-name.Mount its own dependencies.cd your-system-name & & anecdote mount.Begin the development hosting server.yarn dev.Layout symbols describe the look of your concept device at one of the most essential degree.To obtain a realization of what style gifts are, open up src/system/tokens/ font-size. yml in your publisher.As you may observe, every font-size worth is actually embodied by a relevant title. Rather than hardcoding market values in your codebase you can just pertain to the name of each token.Changing different colors.Open up src/system/tokens/ color.yml in your editor.Through default our company use HSL to define colour mementos. This helps creating steady colours throughout the request. If you do not recognize HSL however, look at the HSL Shade Picker.Shade hues.To keep the shade token data DRY, foundation hues are actually noted under "aliases". Each alias stands for color + concentration. Make an effort to adjust the worth for "teal" and also find exactly how that has an effect on the styleguide.Shade souvenirs.The real different colors mementos are actually specified under "props". Make an effort altering the "color-primary" and also its variants to make use of blue instead of teal and observe the effect on the styleguide.Developing your design.Take a look at the instances inside src/system/tokens/ _ examples to obtain a concept of what is actually achievable. You may try to overwrite the gifts in the main file with those in the instances subfolders.Now you can easily start to produce your own style by adjusting the style mementos to your flavor.Usage.It is encouraged to combine your style system as a private addiction through NPM. Nevertheless, when 1st starting, it is much easier to maintain it as a subfolder inside your app task.Clone the design device to a subfolder of your task as well as mount it's dependencies.compact disc/ path/to/your/ project.git duplicate https://github.com/visualjerk/vue-cion-design-system.git design-system.compact disc design-system & & anecdote set up.Add it as a reliance to your project.cd/ path/to/your/ project.yarn incorporate documents:./ design-system.Bring in and also utilize it in your treatment access (ex. main.js).bring in Vue coming from 'vue'....import DesignSystem from 'vue-cion-design-system'.bring in 'vue-cion-design-system/ dist/system. css'.Vue.use( DesignSystem).This job is hosted on GitHub. Created through visualjerk.