8000 GitHub - kuartz-org/vitrail: Kuartz design system view components
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kuartz-org/vitrail

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

0