crumble-material v0.7.0

crumble-material

TODO: Write a description here

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      crumble-material:
        github: your-github-user/crumble-material
    
  2. Run shards install

Usage

require "crumble-material"

Include the shard stylesheets in your layout as usual. All CSS emitted by this shard is wrapped in @layer crumble-material.

If your app defines cascade layer order up front, declare the shard layer before your app overrides so local styles can win without selector hacks:

class AppStyle < CSS::Stylesheet
  layer_order :reset, :crumble_material, :app

  layer :app do
    rule ".my-component" do
      color :rebeccapurple
    end
  end
end

Place your own overrides in a layer ordered after :crumble_material, such as :app above.

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/crumble-material/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

crumble-material

Owner
Statistic
  • 0
  • 0
  • 0
  • 3
  • 5
  • 10 days ago
  • May 30, 2024
License

MIT License

Links
Synced at

Fri, 20 Mar 2026 17:08:47 GMT

Languages