Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

matchbox_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matchbox_rails

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Matchbox for Rails

Matchbox design tokens for Rails applications.

This gem is based on: matchbox Matchbox is an open source design system and React component library, built for SparkPost's UI

Installation

Add this line to your application's Gemfile:

gem 'matchbox_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install matchbox_rails

Usage

After installing the gem you can add this line to your application.scss file:

@import "matchbox";

Now you can use the design tokens of Matchbox as SCSS variables.

.my-element {
 background: color(blue, 700);
 box-shadow: box-shadow(400);
}

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests.

To install this gem onto your local machine, run bundle exec rake install.

If you want to use the gem in development as part of your Rails application locally you can add it to your gemfile:

gem 'matchbox_rails', path: '/yourpath/matchbox_rails'

Publish

To publish a new version of this gem you need to be part of the TFE Engineering Team.

First build the gem gem build matchbox_rails.gemspec

Then use ``

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sparkpost/matchbox_rails.

License

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

FAQs

Package last updated on 28 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc