{"id":15987083,"url":"https://github.com/seanmcp/material-design-css-variables","last_synced_at":"2025-04-04T21:43:01.853Z","repository":{"id":97283235,"uuid":"141291000","full_name":"SeanMcP/material-design-css-variables","owner":"SeanMcP","description":"🎨 CSS variables for Google's Material Design palette","archived":false,"fork":false,"pushed_at":"2018-07-17T13:32:39.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T06:24:02.236Z","etag":null,"topics":["css","css-variables","material-design"],"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/SeanMcP.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T13:06:34.000Z","updated_at":"2021-06-18T11:18:42.000Z","dependencies_parsed_at":"2023-03-23T08:04:32.485Z","dependency_job_id":null,"html_url":"https://github.com/SeanMcP/material-design-css-variables","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/SeanMcP%2Fmaterial-design-css-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Fmaterial-design-css-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Fmaterial-design-css-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeanMcP%2Fmaterial-design-css-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeanMcP","download_url":"https://codeload.github.com/SeanMcP/material-design-css-variables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256072,"owners_count":20909240,"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":["css","css-variables","material-design"],"created_at":"2024-10-08T03:20:43.026Z","updated_at":"2025-04-04T21:43:01.831Z","avatar_url":"https://github.com/SeanMcP.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# material-design-css-variables\n🎨 CSS variables for Google's Material Design\n\n## How to use\n\n1. Download or copy [material-design-colors.css](./material-design-colors.css) and add it to your project's styles directory\n\n2. Import the document at the top of your main stylesheet:\n    \n```css\n/* main.css */\n\n@import './material-design-colors.css';\n```\n\n3. Reference the material variables using [CSS's `var()` function](https://developer.mozilla.org/en-US/docs/Web/CSS/var):\n\n```css\nbody {\n  background: var(--blue500);\n  color: var(--gray50);\n}\n```\n\n## Use with other CSS variables\n\nIf you want to use Material Design CSS Variables in addition to your own CSS variables, make sure to import `material-design-colors.css` **first**:\n\n```css\n/* main.css */\n\n@import './material-design-colors.css';\n@import './other-variables.css';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmcp%2Fmaterial-design-css-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanmcp%2Fmaterial-design-css-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmcp%2Fmaterial-design-css-variables/lists"}