Sleep

CION: Style system boilerplate for Vue.js

.CION concept body vue.js.CION is a layout device construct mostly for Vue.js treatments. You can easily use it as a starting factor for constructing your own concept system.Use the system's parts to solve usual UI concerns like layout, typography, presenting information or data input.The device takes advantage of layout mementos, a living styleguide with combined regulation recreation spaces and multiple-use elements for usual UI jobs.Residing Styleguide: View the styleguide adapt to your layout unit as you continue.Part Information: Autogenerated documentation for your components with included playground.Basic Elements: Includes some basic parts to assist you get going.Initial steps.Create:.Download and install the boilerplate.git clone https://github.com/visualjerk/vue-cion-design-system.git your-system-name.Mount its own addictions.cd your-system-name &amp &amp anecdote put in.Beginning the development hosting server.anecdote dev.Concept symbols specify the look of your layout system at the most basic degree.To obtain a comprehension of what design tokens are, open src/system/tokens/ font-size. yml in your publisher.As you may observe, every font-size market value is exemplified through a purposeful title. As opposed to hardcoding worths in your codebase you can easily merely pertain to the name of each token.Adjusting colors.Open src/system/tokens/ color.yml in your editor.Through default our team use HSL to illustrate color gifts. This helps making consistent colors throughout the request. If you don't understand HSL however, check out at the HSL Shade Picker.Colour tones.So as to maintain the colour token data DRY, foundation colors are actually listed under "aliases". Each alias stands for hue + concentration. Try to change the market value for "teal" as well as see exactly how that impacts the styleguide.Different colors gifts.The actual different colors symbols are listed under "props". Make an effort modifying the "color-primary" as well as its own variants to make use of blue as opposed to teal and also view the result on the styleguide.Developing your style.Have a look at the instances inside src/system/tokens/ _ instances to get a tip of what is achievable. You can make an effort to overwrite the gifts in the main folder along with those in the instances subfolders.Now you can start to create your personal concept through adjusting the concept souvenirs to your preference.Usage.It is highly recommended to combine your design device as an exclusive dependence through NPM. However, when very first starting, it is easier to keep it as a subfolder inside your application venture.Clone the design unit to a subfolder of your project and also install it's reliances.cd/ path/to/your/ project.git duplicate https://github.com/visualjerk/vue-cion-design-system.git design-system.cd design-system &amp &amp yarn mount.Incorporate it as a reliance to your job.cd/ path/to/your/ task.anecdote include data:./ design-system.Import and also use it in your treatment entry (ex lover. main.js).import Vue from 'vue'....bring in DesignSystem from 'vue-cion-design-system'.import 'vue-cion-design-system/ dist/system. css'.Vue.use( DesignSystem).This venture entertains on GitHub. Developed by visualjerk.