crumble-material v0.7.0
crumble-material
TODO: Write a description here
Installation
-
Add the dependency to your
shard.yml:dependencies: crumble-material: github: your-github-user/crumble-material -
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
- Fork it (https://github.com/your-github-user/crumble-material/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Stefan Bilharz - creator and maintainer
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