This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Court McFadzean edited this page Mar 3, 2020
·
7 revisions
Add these lines in your application's Gemfile:
gem 'sage', git: 'https://github.com/Kajabi/sage.git'
gem 'autoprefixer-rails'
And then execute:
$ bundle
Or install it yourself:
$ gem install sage_design_system
Mount Sage routes into your routes file:
mount Sage::Engine => "/sage"
Add these lines to your asset initializer: config/initializers/assets.rb
# Sage Design System Styles
Rails.application.config.assets.precompile += %w( sage.css )
Rails.application.config.assets.precompile += %w( sage_docs.css )
#Sage Design System Images
Rails.application.config.assets.precompile += %w( sage/sage.svg )
Import Sage styles in app/assets/stylesheets/application.scss:
@import "sage";
Getting Started
- Welcome
- Introduction
- Setup
- Installation
- Contributing
- Git/code workflow
- Local development In Kajabi-Products
- Updating Sage version and integrating into Kajabi
Guidelines
- Voice & Tone
- Product language
- Code Conventions
- JS & Test Binding Conventions
- Understanding and Maintaining Type Specs
- Updating Icons
- Using z-index
- Accessibility
- Browser support
- Color Spaces/Profiles
- Sharing In-progress Work
- Deprecation
Updates