{"id":21849734,"url":"https://github.com/fl3nkey/stylus-variable-loader","last_synced_at":"2025-04-14T15:02:01.964Z","repository":{"id":57373841,"uuid":"139453573","full_name":"FL3NKEY/stylus-variable-loader","owner":"FL3NKEY","description":"📝 A stylus variables loader for webpack.","archived":false,"fork":false,"pushed_at":"2018-07-03T06:35:20.000Z","size":41,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T03:51:09.230Z","etag":null,"topics":["javascript","stylus","variable","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/FL3NKEY.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-07-02T14:20:10.000Z","updated_at":"2022-08-18T15:23:10.000Z","dependencies_parsed_at":"2022-09-11T07:12:18.176Z","dependency_job_id":null,"html_url":"https://github.com/FL3NKEY/stylus-variable-loader","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/FL3NKEY%2Fstylus-variable-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL3NKEY%2Fstylus-variable-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL3NKEY%2Fstylus-variable-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FL3NKEY%2Fstylus-variable-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FL3NKEY","download_url":"https://codeload.github.com/FL3NKEY/stylus-variable-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248903834,"owners_count":21180828,"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":["javascript","stylus","variable","webpack"],"created_at":"2024-11-28T00:14:17.850Z","updated_at":"2025-04-14T15:02:01.928Z","avatar_url":"https://github.com/FL3NKEY.png","language":"JavaScript","readme":"# stylus-variable-loader\n\nThis is an experimental thing, be careful.\n\n## Usage\n\n``` stylus\n//vars.styl\n$size = 12px;\n$padding = 10px 12px;\n$color = #FFF;\n$expr-color = alpha($color, 0.5);\n$button = {\n\t$color: white,\n\t$background: black,\n\t$font-size: 1.2em\n}\n```\n\n``` js\n//vars.js\nimport variables from '!!stylus-variable-loader!./path-to/vars.styl';\n\nconsole.log(variables);\n\n{\n    '$size': '12px',\n    '$padding': '10px 12px',\n    '$color': '#FFF',\n    '$expr-color': 'rgba(255, 255, 255, 0.5)',\n    '$button': {\n        '$color': 'white',\n        '$background': 'black',\n        '$font-size': '1.2em'\n    }\n}\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl3nkey%2Fstylus-variable-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffl3nkey%2Fstylus-variable-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl3nkey%2Fstylus-variable-loader/lists"}