Violet 1.1.1 Documentation

Welcome to the Violet documentation!

Contents

Getting Started

Violet is a CSS framework designed for use by the Lexteam website.

With the coming releases Violet aims to become a more customisable framework that can be used by more than just the Lexteam website.

Installation

Distribution Install

To do a distribution install, you just need to add the Violet css file to your project

https://www.lexteam.xyz/violet/release/1.1.1/violet.css
https://www.lexteam.xyz/violet/release/1.1.1/violet.min.css

SCSS Install

To do a SCSS install, you can use our CLI tool.

npm install lex-violet --global

Now you have the CLI tool installed, you can install Violet to any directory.

violet install

You can now proceed to import Violet to your code

@import "violet/violet";

When a new version of Violet is released, all you have to do is run:

npm update lex-violet and violet update