{"id":23452315,"url":"https://github.com/maxam2017/form.css","last_synced_at":"2026-03-20T01:27:26.370Z","repository":{"id":42714309,"uuid":"291354062","full_name":"maxam2017/form.css","owner":"maxam2017","description":"A classless CSS library for form","archived":false,"fork":false,"pushed_at":"2022-12-06T20:36:22.000Z","size":1103,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T19:46:44.866Z","etag":null,"topics":["classless-css"],"latest_commit_sha":null,"homepage":"https://maxam2017.github.io/form.css/","language":"SCSS","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/maxam2017.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":"2020-08-29T21:45:32.000Z","updated_at":"2023-03-07T11:16:47.000Z","dependencies_parsed_at":"2023-01-23T23:03:02.015Z","dependency_job_id":null,"html_url":"https://github.com/maxam2017/form.css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxam2017/form.css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fform.css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fform.css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fform.css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fform.css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxam2017","download_url":"https://codeload.github.com/maxam2017/form.css/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fform.css/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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":["classless-css"],"created_at":"2024-12-24T01:14:51.074Z","updated_at":"2026-01-21T22:31:22.144Z","avatar_url":"https://github.com/maxam2017.png","language":"SCSS","readme":"\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eForm.css ⚡️\u003c/h3\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://img.shields.io/badge/language-CSS-563d7c\"/\u003e\n   \u003cimg src=\"https://img.shields.io/github/license/maxam2017/form.css\"/\u003e\n\u003c/p\u003e\n\n## Overview\n\n\u003e This project is still under construction 🚧\n\nA CSS library for form fields. It's simple and **classless**.\n\n[Demo 👨🏻‍💻](https://maxam2017.github.io/form.css/)\n\n## Installation\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://maxam2017.github.io/form.css/css/form.css\" /\u003e\n```\n\n## Documentation\n\n### Theme\n\n#### Scheme\n\n- Support two common color scheme: `light` and `dark`.\n- By default, we use [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme).\n- Simply put attribute `data-theme` on `\u003cbody/\u003e` for override default theme.\n\n  - Ex. override to dark mode\n    ```html\n    \u003cbody data-theme=\"dark\"\u003e\u003c/body\u003e\n    ```\n\n#### Customize your own theme\n\nWe provide some css-variables to customize theme color.\n\n| css-variable                 | default value(light) | default value(dark) |\n| ---------------------------- | :------------------: | :-----------------: |\n| `--primary-color`            |    `51, 151, 207`    |   `51, 151, 207`    |\n| `--default-text-color`       |      `0, 0, 0`       |   `255, 255, 255`   |\n| `--default-background-color` |   `255, 255, 255`    |      `0, 0, 0`      |\n\n\u003e For easily modify theme color without compiling by sass processor, we only put `r,b,a` parameters into css-variable\n\n### Components\n\n#### Normal Input\n\n- Ex.\n  ```html\n  \u003cinput /\u003e\n  ```\n\n#### Switch\n\n- material-ui style\n- simply add attribute `data-type=\"switch\"` on checkbox input\n- Ex.\n  ```html\n  \u003cinput type=\"checkbox\" data-type=\"switch\" /\u003e\n  ```\n\n#### Checkbox\n\n- material-ui style\n- Ex.\n  ```html\n  \u003cinput type=\"checkbox\" /\u003e\n  ```\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxam2017%2Fform.css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxam2017%2Fform.css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxam2017%2Fform.css/lists"}