{"id":13807382,"url":"https://github.com/luxzeitlos/ember-css-vars","last_synced_at":"2025-05-14T00:31:20.600Z","repository":{"id":34290578,"uuid":"170756786","full_name":"luxzeitlos/ember-css-vars","owner":"luxzeitlos","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-10T16:54:16.000Z","size":2378,"stargazers_count":4,"open_issues_count":24,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-21T09:25:24.663Z","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/luxzeitlos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-14T20:54:53.000Z","updated_at":"2020-07-31T13:23:10.000Z","dependencies_parsed_at":"2023-01-15T05:55:40.391Z","dependency_job_id":null,"html_url":"https://github.com/luxzeitlos/ember-css-vars","commit_stats":null,"previous_names":["luxferresum/ember-css-vars"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxzeitlos%2Fember-css-vars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxzeitlos%2Fember-css-vars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxzeitlos%2Fember-css-vars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxzeitlos%2Fember-css-vars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luxzeitlos","download_url":"https://codeload.github.com/luxzeitlos/ember-css-vars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046287,"owners_count":22005569,"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-08-04T01:01:24.872Z","updated_at":"2025-05-14T00:31:15.590Z","avatar_url":"https://github.com/luxzeitlos.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Modifiers"],"readme":"ember-css-vars\n==============================================================================\n\nA [ember modifier](https://emberjs.github.io/rfcs/0373-Element-Modifier-Managers.html) to apply [css variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables).\nThis gives a save way to expose data from javascript to css.\n\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.13 or above\n* Ember CLI v3.13 or above\n* Node.js v10 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-css-vars\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\n**css**\n```\n#myElement {\n  background: var(--my-color);\n}\n```\n\n**hbs**\n```\n\u003cdiv id=\"myElement\" {{css-vars my-color=\"blue\"}}\u003e\n  This will have a blue background\n\u003c/div\u003e\n```\n\nLimitations\n------------------------------------------------------------------------------\nBecause element modifiers do not run in FastBoot mode `{{css-vars}}` has no\neffect when run in FastBoot mode.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxzeitlos%2Fember-css-vars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluxzeitlos%2Fember-css-vars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxzeitlos%2Fember-css-vars/lists"}