{"id":23999032,"url":"https://github.com/sysvale/cuida","last_synced_at":"2026-01-12T10:35:55.551Z","repository":{"id":37517404,"uuid":"294750648","full_name":"Sysvale/cuida","owner":"Sysvale","description":"A design system built by Sysvale, using storybook and Vue components","archived":false,"fork":false,"pushed_at":"2025-04-08T17:18:25.000Z","size":26648,"stargazers_count":22,"open_issues_count":31,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T16:06:25.368Z","etag":null,"topics":["design-system","scss","storybook","ui-components","vite","vue","vue-components","vue2","vue3","vuejs"],"latest_commit_sha":null,"homepage":"https://main--6168a1779cac8c003ab99c2d.chromatic.com","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sysvale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-09-11T16:49:29.000Z","updated_at":"2025-04-08T17:17:19.000Z","dependencies_parsed_at":"2024-12-04T18:35:34.433Z","dependency_job_id":"eb50c63b-2804-438d-9429-8a05113d4a6f","html_url":"https://github.com/Sysvale/cuida","commit_stats":{"total_commits":2520,"total_committers":35,"mean_commits":72.0,"dds":0.5805555555555555,"last_synced_commit":"d08e047ccc77f241b1dc044ca9df1676a933954f"},"previous_names":[],"tags_count":629,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sysvale%2Fcuida","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sysvale%2Fcuida/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sysvale%2Fcuida/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sysvale%2Fcuida/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sysvale","download_url":"https://codeload.github.com/Sysvale/cuida/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065287,"owners_count":21041871,"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":["design-system","scss","storybook","ui-components","vite","vue","vue-components","vue2","vue3","vuejs"],"created_at":"2025-01-07T23:27:53.612Z","updated_at":"2026-01-12T10:35:55.541Z","avatar_url":"https://github.com/Sysvale.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sysvale.github.io/cuida\"\u003e\n    \u003cimg src=\"https://framerusercontent.com/images/xz7CrU73qctPY2Vm79XMnTAVM.svg\" alt=\"Cuida logo\" width=\"250\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp align=\"center\"\u003eA design system built by Sysvale, using Vue components\u003c/p\u003e\n  \u003cp align=\"center\"\u003ehttps://cuida.sysvale.com/\u003c/p\u003e\n\u003c/div\u003e\n\n## Instalando\n\n- O Cuida pode ser instalado com o npm:\n\n```bash\nnpm i @sysvale/cuida\n```\n\n## Usando\n\n- Para usar o cuida, importe a biblioteca no seu entry point, provavelmente vai ser seu main.js ou app.js:\n\n```js\nimport Cuida from \"@sysvale/cuida\";\n```\n\n- Importe os estilos do Cuida:\n```js\nimport '@sysvale/cuida/dist/style.css';\n```\n\n- E instale o Cuida:\n\n```js\napp.use(Cuida);\n```\n\n- Exponha os utils do Cuida:\n\n```js\nconst cdsUtils = Cuida.utils;\napp.provide('cdsUtils', cdsUtils);\n```\n\n- Agora para utilizar os componentes, basta usá-los no seu template. Como exemplo, para usar a Badge:\n\n```html\n\u003ccds-badge variant=\"gray\"\u003e Conteúdo \u003c/cds-badge\u003e\n```\n\n- Para utilizar os tokens do Cuida instale o sass-embedded\n\n```bash\nnpm install -D sass-embedded\n```\n\ne importe o arquivo de tokens na sua tag script.\n```html\n\u003cstyle lang=\"scss\" scoped\u003e\n  @import 'node_modules/@sysvale/cuida/dist/@sysvale/tokens.scss';\n  ...\n\u003c/style\u003e\n```\n\n## Desenvolvendo\n\n### Configurando o projeto\n\n- Clone o repositório:\n\n```bash\ngit clone https://github.com/Sysvale/cuida.git\n```\n\n- Instale as dependências e suba o container docker:\n\n```bash\ndocker-compose up -d\n```\n\nA documentação estará disponível na porta `5173`, em [http://localhost:5173/](http://localhost:5173).\n\n- Caso não queira usar docker, instale as dependências com:\n\n```bash\nnpm i\n```\n\n### Executando o Cuida\n\n- Para executar a documentação local, execute:\n\n```bash\nnpm run docs:dev\n```\n\n### Testando-o\n\n- Utilizando o docker:\n\n```bash\ndocker-compose exec cuida npm run test\n```\n\nou\n\n```bash\n./on-server.sh npm run test\n```\n\n- Sem o docker:\n\n```bash\nnpm run test\n```\n\n- Para utilizar o ui do vitest:\n```bash\nnpm run test:ui\n```\n\n- Para visualizar o detalhamento da cobertura de testes, use o comando abaixo:\n```bash\nnpx open-cli coverage/index.html\n```\n## Contribuindo\n\nPara informações sobre como contribuir com o projeto, acesse o [CONTRIBUTING.MD](https://github.com/Sysvale/cuida/blob/main/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysvale%2Fcuida","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysvale%2Fcuida","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysvale%2Fcuida/lists"}