{"id":43429957,"url":"https://github.com/npolar/mdc","last_synced_at":"2026-02-02T19:16:56.892Z","repository":{"id":56012673,"uuid":"207549385","full_name":"npolar/mdc","owner":"npolar","description":"Material Design Components","archived":false,"fork":false,"pushed_at":"2020-12-13T20:32:42.000Z","size":1074,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T23:01:00.172Z","etag":null,"topics":["ecmascript","ecmascript-2019","lit-element","lit-html","material-design","web-components"],"latest_commit_sha":null,"homepage":"https://mdc.npolar.now.sh/","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/npolar.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":"2019-09-10T12:09:59.000Z","updated_at":"2020-12-13T20:32:45.000Z","dependencies_parsed_at":"2022-08-15T11:20:51.587Z","dependency_job_id":null,"html_url":"https://github.com/npolar/mdc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/npolar/mdc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npolar%2Fmdc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npolar%2Fmdc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npolar%2Fmdc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npolar%2Fmdc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npolar","download_url":"https://codeload.github.com/npolar/mdc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npolar%2Fmdc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29017941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T18:51:31.335Z","status":"ssl_error","status_checked_at":"2026-02-02T18:49:20.777Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ecmascript","ecmascript-2019","lit-element","lit-html","material-design","web-components"],"created_at":"2026-02-02T19:16:56.227Z","updated_at":"2026-02-02T19:16:56.887Z","avatar_url":"https://github.com/npolar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @npolar/mdc – material design components\n\n@npolar/mdc is a collection ECMAScript2019 custom elements, built with [LitElement](https://lit-element.polymer-project.org/) and [lit-html](https://lit-html.polymer-project.org/) on top of:\n\n- [Material Components for the web](https://github.com/material-components/material-components-web)\n- [Material Web Components](https://github.com/material-components/material-components-web-components)\n\n## Develop\n\n```\n$ git clone git@github.com:npolar/mdc.git \u0026\u0026 cd mdc\n$ yarn\n$ yarn dev\n```\n\nLive-server: http://localhost:7777\n\n## Quality assurrance\n\nES2019-compliance is enforced using [ESLint](https://eslint.org/). See [.eslintrc](.eslintrc.json)\n\n[![Build Status](https://travis-ci.com/npolar/mdc.svg?branch=master)](https://travis-ci.com/npolar/mdc)\n\n```\nyarn eslint\n```\n\n## Build\n\n```\nyarn build\n```\n\n## Install\n\n```sh\n$ cd ~/my-project\n$ yarn add https://github.com/npolar/mdc\n$ cd node_modules/@npolar/mdc \u0026\u0026 yarn \u0026\u0026 cd -\n```\n\n## Use\n\n### Colors\n\n```html\n\u003cstyle\u003e\n  :root {\n    --mdc-theme-primary: #000;\n    --mdc-theme-secondary: rgb(18, 79, 120);\n    --mdc-theme-on-primary: #fff;\n    --mdc-theme-on-secondary: #66bb6a;\n    --mdc-theme-error: #b00020;\n  }\n\u003c/style\u003e\n```\n\nSee [mdc-theme](https://github.com/material-components/material-components-web/tree/master/packages/mdc-theme) documentation for further customisations.\n\n### Fonts\n\nHaving 0 run-time dependencies means: bring ~~your own~~`@npolar/mdc`'s fonts.\n\nTwo fonts are included in the `asset/font` folder:\n\n- [Inter](https://rsms.me/inter/)\n- [Material Icons](https://material.io/resources/icons/?style=baseline)\n\nTo self-host these fonts, first copy the css files and the font definitions into your project's build / web root (here `dist` in `~/my-project`):\n\n```bash\n$ cd ~/my-project\n$ mkdir -p dist/@npolar/mdc\n$ cp -r node_modules/@npolar/mdc/asset/* dist/@npolar/mdc/\n```\n\nThen, add links to the font stylesheets in your `\u003chead\u003e` element:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"/@npolar/mdc/css/style/material-icons.css\" /\u003e\n\u003clink rel=\"stylesheet\" href=\"/@npolar/mdc/css/style/typography.css\" /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpolar%2Fmdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpolar%2Fmdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpolar%2Fmdc/lists"}