{"id":16244581,"url":"https://github.com/indexzero/postcss-global-scss-vars","last_synced_at":"2025-09-13T21:14:40.474Z","repository":{"id":57328079,"uuid":"55421255","full_name":"indexzero/postcss-global-scss-vars","owner":"indexzero","description":"Inject global variables into your scss using postcss","archived":false,"fork":false,"pushed_at":"2016-04-04T15:44:25.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T21:05:30.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/indexzero.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":"2016-04-04T15:11:05.000Z","updated_at":"2024-07-03T09:11:33.000Z","dependencies_parsed_at":"2022-09-18T17:50:47.120Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/postcss-global-scss-vars","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fpostcss-global-scss-vars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fpostcss-global-scss-vars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fpostcss-global-scss-vars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fpostcss-global-scss-vars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/postcss-global-scss-vars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221729941,"owners_count":16871146,"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-10T14:19:46.263Z","updated_at":"2024-10-27T20:32:44.802Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-global-scss-vars\n\nInject global variables into your scss using postcss. This is a `postcss` plugin for the `postcss-scss` syntax which prepends variables into any `scss` file. e.g.\n\n``` scss\n/* Any scss content */\n```\n\nbecomes\n\n``` scss\n$anyVariable: #000;\n$otherVariable: #FFF;\n$heyAVariable: #333;\n/* Any scss content */\n```\n\n## Usage\n\nSimple usage can be inferred from the tests:\n\n``` js\nvar postcss = require('postcss');\nvar syntax = require('postcss-scss');\nvar globalVars = require('postcss-global-scss-vars');\n\nvar injectVars = globalVars({\n  variables: {\n    anyVariable: '#000',\n    otherVariable: '#FFF',\n    heyAVariable: '#333'\n  }\n});\n\nvar processor = postcss([injectVars]);\nvar output = processor.process('/* Any scss content */', { syntax: syntax });\nconsole.log(output.css);\n```\n\n\n##### LICENSE: MIT\n##### AUTHOR: [Charlie Robbins](https://github.com/indexzero)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fpostcss-global-scss-vars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fpostcss-global-scss-vars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fpostcss-global-scss-vars/lists"}