{"id":19864308,"url":"https://github.com/tachyons-css/palette-generator","last_synced_at":"2025-05-02T05:31:05.724Z","repository":{"id":66177034,"uuid":"125917546","full_name":"tachyons-css/palette-generator","owner":"tachyons-css","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-25T22:53:33.000Z","size":125,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-06T22:42:56.937Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tachyons-css.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-19T20:40:22.000Z","updated_at":"2022-11-07T12:43:04.000Z","dependencies_parsed_at":"2023-02-20T17:15:25.850Z","dependency_job_id":null,"html_url":"https://github.com/tachyons-css/palette-generator","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/tachyons-css%2Fpalette-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fpalette-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fpalette-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fpalette-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachyons-css","download_url":"https://codeload.github.com/tachyons-css/palette-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251992730,"owners_count":21677020,"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-11-12T15:18:13.929Z","updated_at":"2025-05-02T05:31:05.164Z","avatar_url":"https://github.com/tachyons-css.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Palette Generator\n\nThis is a little hacky app to generate color palettes for Tachyons.\n\nTODO:\n\n- Add step param \n- Add color mode param\n- Add option for hue definitions\n- Output options\n  - sass, css, vars, json, js\n- Auto-trim first step in scale array\n\n\n\n# Elements\n\nPrototyping kit.\n\nEasily style html elements with values from your design system.\n\nMade with:\n\n- Create-react-app \n- Styled-System \n- Glamorous\n\n## Getting started\n\n```\ngit clone git@github.com:mrmrs/elements.git\n```\n\n```\nnpm i \u0026\u0026 npm start\n```\n\n### Component example\n\n#### H1.js\n\n```js\nimport glamorous from 'glamorous'\nimport { space, width, fontSize, color } from 'styled-system'\n\nconst H1 = glamorous.h1(space,  width, fontSize, color, {\n  lineHeight: 1.25,\n})\n\nH1.defaultProps = {\n  fontSize: 3,4,5\n}\n\nexport default H1\n```\n\nReference the component in your jsx like so\n```jsx\n\u003cH1 fontSize={[ 2,3,5 ]}\u003eFirst heading\u003c/H1\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Fpalette-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachyons-css%2Fpalette-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Fpalette-generator/lists"}