{"id":18783914,"url":"https://github.com/sparkpost/matchbox_rails","last_synced_at":"2026-03-19T06:22:17.925Z","repository":{"id":56882933,"uuid":"452721293","full_name":"SparkPost/matchbox_rails","owner":"SparkPost","description":"Matchbox design tokens for Rails applications","archived":false,"fork":false,"pushed_at":"2022-01-28T15:37:20.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-30T06:16:31.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SparkPost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-27T14:46:16.000Z","updated_at":"2022-01-28T11:50:43.000Z","dependencies_parsed_at":"2022-08-20T22:31:02.326Z","dependency_job_id":null,"html_url":"https://github.com/SparkPost/matchbox_rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fmatchbox_rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fmatchbox_rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fmatchbox_rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fmatchbox_rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SparkPost","download_url":"https://codeload.github.com/SparkPost/matchbox_rails/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699579,"owners_count":19682574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:41:09.377Z","updated_at":"2025-12-20T20:30:15.490Z","avatar_url":"https://github.com/SparkPost.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matchbox for Rails\nMatchbox design tokens for Rails applications.\n\nThis gem is based on: [matchbox](https://github.com/SparkPost/matchbox)\nMatchbox is an open source design system and React component library, built for\n[SparkPost's UI](https://github.com/SparkPost/2web2ui)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'matchbox_rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install matchbox_rails\n\n## Usage\n\nAfter installing the gem you can add this line to your application.scss file:\n\n```scss\n@import \"matchbox\";\n```\n\nNow you can use the design tokens of Matchbox as SCSS variables.\n\n```scss\n.my-element {\n background: color(blue, 700);\n box-shadow: box-shadow(400);\n}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\nIf you want to use the gem in development as part of your Rails application locally you can add it to your gemfile:\n\n`gem 'matchbox_rails', path: '/yourpath/matchbox_rails'`\n\n## Publish\n\nTo publish a new version of this gem you need to be part of the TFE Engineering Team.\n\nFirst build the gem `gem build matchbox_rails.gemspec`\n\nThen use `gem push matchbox_rails-0.1.0.gem`\n\nAdd your credentials.\n\nDone.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/sparkpost/matchbox_rails.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fmatchbox_rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkpost%2Fmatchbox_rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fmatchbox_rails/lists"}