Skip to content

kuartz-org/vitrail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vitrail

Kuartz's Design system view components.

Prerequisites

  • Ruby v3
  • Rails v7
  • ViewComponent v3
  • tailwindcss-rails (the gem) v2

Installation

In your Gemfile, add this line:

gem "vitrail", "~> 1.0"

Then, run bundle install.

Finally, run the following command to install Vitrail's assets and configuration files in your project:

rails vitrail:install

This will:

  • Add default styles to the available Vitrail classes in lib/assets/stylesheets/vitrail
  • Add the Tailwind preset file in lib/assets/vitrail_preset.js
  • Load the Vitrail styles in your application.tailwind.css file
  • Add config to your tailwind.config.js file

License

The gem is available as open source under the terms of the MIT License.

About

Kuartz design system view components

Topics

Resources

License

Stars

Watchers

Forks

Contributors