{"id":16327081,"url":"https://github.com/mrmlnc/material-shadows","last_synced_at":"2025-05-08T19:45:47.087Z","repository":{"id":19151423,"uuid":"22381960","full_name":"mrmlnc/material-shadows","owner":"mrmlnc","description":":thought_balloon: Mixins for Material Design Shadows","archived":false,"fork":false,"pushed_at":"2019-10-26T16:05:14.000Z","size":32,"stargazers_count":84,"open_issues_count":3,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-18T16:11:39.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","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/mrmlnc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-29T14:06:57.000Z","updated_at":"2024-06-25T11:21:18.000Z","dependencies_parsed_at":"2022-07-26T23:46:19.736Z","dependency_job_id":null,"html_url":"https://github.com/mrmlnc/material-shadows","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fmaterial-shadows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fmaterial-shadows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fmaterial-shadows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fmaterial-shadows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/material-shadows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253139985,"owners_count":21860470,"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-10-10T23:10:20.951Z","updated_at":"2025-05-08T19:45:47.062Z","avatar_url":"https://github.com/mrmlnc.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Design Shadows\n\n\u003e The paper shadows mixin-library for CSS pre-processors.\n\n![demo](https://cloud.githubusercontent.com/assets/7034281/17182925/1cfc8376-542e-11e6-96ea-a25138b9d32a.png)\n\n## Installation\n\n  * git: `git clone git://github.com/mrmlnc/material-shadows.git`;\n  * bower: `bower install --save material-shadows`\n  * npm: `npm install --save material-shadows`;\n\n## Supported languages\n\nSupport for all popular css preprocessors:\n\n  * [Less](http://lesscss.org/)\n  * [Sass](http://sass-lang.com/)\n  * [Stylus](http://learnboost.github.io/stylus/)\n\n## Usage\n\n```less\n// Less, SCSS, Stylus\n@import \"lib/material-color\";\n\n.my-selector {\n  .z-depth(); // equivalent to `.z-depth(2)` and `.z-depth-2dp()`\n\n  // Create class for `transition` property.\n  .z-depth-transition();\n\n  // Creating a class to an element in the focused state.\n  .z-depth-focus();\n}\n\n// Class generator\n.shadow {\n  .z-depth-classes();\n}\n```\n\n## Supported options\n\n#### z-depth\n\n**dp**\n\n  * Type: `Number`\n  * Default: `2`\n  * Available values: 2, 3, 4, 6, 8, 16, 24\n\nDepth shadow.\n\n#### z-depth-classes\n\n**transition**\n\n  * Type: `Boolean`\n  * Default: `false`\n\nCreate class for `transition` property.\n\n**focus**\n\n  * Type: `Boolean`\n  * Default: `false`\n\nCreating a class to an element in the focused state.\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/material-shadows/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fmaterial-shadows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fmaterial-shadows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fmaterial-shadows/lists"}