{"id":21158236,"url":"https://github.com/simbo/stylus-mixins","last_synced_at":"2025-09-04T05:38:26.164Z","repository":{"id":57154845,"uuid":"134749879","full_name":"simbo/stylus-mixins","owner":"simbo","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-24T19:10:38.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T13:03:16.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/simbo.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":"2018-05-24T17:44:43.000Z","updated_at":"2018-05-24T19:10:39.000Z","dependencies_parsed_at":"2022-09-07T00:51:35.732Z","dependency_job_id":null,"html_url":"https://github.com/simbo/stylus-mixins","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simbo/stylus-mixins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fstylus-mixins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fstylus-mixins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fstylus-mixins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fstylus-mixins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbo","download_url":"https://codeload.github.com/simbo/stylus-mixins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fstylus-mixins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259804834,"owners_count":22913900,"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-20T12:18:59.371Z","updated_at":"2025-06-20T02:32:58.890Z","avatar_url":"https://github.com/simbo.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"stylus-mixins\n=============\n\n  \u003e A personal collection of Stylus mixins.\n\n[![npm package version](https://img.shields.io/npm/v/@simbo/stylus-mixins.svg?style=flat-square)](https://www.npmjs.com/package/@simbo/stylus-mixins)\n[![Travis CI build status](https://travis-ci.org/simbo/stylus-mixins.svg?branch=master)](https://travis-ci.org/simbo/stylus-mixins/builds)\n\n---\n\n\n## Installation\n\n`stylus-mixins` is a user scoped npm package. You can install it…\n\n``` sh\n# …using npm\nnpm install @simbo/stylus-mixins\n# …or yarn\nyarn add @simbo/stylus-mixins\n```\n\n\n## Usage\n\n``` stylus\n/* require all mixins… */\n@require 'path/to/node_modules/stylus-mixins'\n\n/* …or only those you need… */\n@require 'path/to/node_modules/stylus-mixins/mixins/md-shadow'\n\n/* …and call them where needed: */\n.my-container\n  mdShadow()\n```\n\n\n## Mixins\n\n\n### `mdShadow($depth = 2, $alphaMultiplier = 1, $inset = false)`\n\nMaterial design shadows with umbra, penumbra and ambient shadow\n\n[./mixins/md-shadow](./mixins/md-shadow.styl)\n\n\n### `ratioExpander($ratio = 1)`\n\nCreates a peudo element expander to maintain aspect ratio\n\n[./mixins/ratio-expander](./mixins/ratio-expander.styl)\n\n\n### `textEllipsis()`\n\nEllipsis overflow for single-line text\n\n[./mixins/text-ellipsis](./mixins/text-ellipsis.styl)\n\n\n## License\n\n[MIT \u0026copy; Simon Lepel](http://simbo.mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fstylus-mixins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbo%2Fstylus-mixins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fstylus-mixins/lists"}