{"id":13504546,"url":"https://github.com/toeverything/design","last_synced_at":"2025-04-05T00:06:24.513Z","repository":{"id":164349740,"uuid":"637602857","full_name":"toeverything/design","owner":"toeverything","description":"Design System for AFFiNE and BlockSuite","archived":false,"fork":false,"pushed_at":"2025-03-14T09:37:55.000Z","size":24129,"stargazers_count":38,"open_issues_count":4,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T23:06:55.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toeverything.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":"2023-05-08T02:43:13.000Z","updated_at":"2025-03-24T08:36:03.000Z","dependencies_parsed_at":"2023-09-25T06:00:30.728Z","dependency_job_id":"71763c1a-0d8a-4391-87f8-44da6d1c6e9e","html_url":"https://github.com/toeverything/design","commit_stats":{"total_commits":232,"total_committers":20,"mean_commits":11.6,"dds":0.7155172413793103,"last_synced_commit":"c8b240af7df35791d8c119bd0b404ee9c680d2ae"},"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdesign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdesign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdesign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toeverything%2Fdesign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toeverything","download_url":"https://codeload.github.com/toeverything/design/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266563,"owners_count":20910836,"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-08-01T00:00:45.492Z","updated_at":"2025-04-05T00:06:24.495Z","avatar_url":"https://github.com/toeverything.png","language":"TypeScript","readme":"# Design\n\n\u003e Design System for the BlockSuite/AFFiNE.\n\n## Modules\n\n- [`@toeverything/theme`](packages/theme): Theme for the [AFFiNE](https://github.com/toeverything/AFFiNE) and [Blocksuite](https://github.com/toeverything/blocksuite).\n- [`@toeverything/components`](packages/components): Basic components for the [AFFiNE](https://github.com/toeverything/AFFiNE) and [Blocksuite](https://github.com/toeverything/blocksuite).\n\n## Components doc\n\nhttps://toeverything.github.io/design/\n\n## Theme usage\n\n### Import\n\nimport css in top level\n\n- In css\n  ```css\n  @import '@toeverything/theme/style.css';\n  ```\n- In js\n  ```js\n  import '@toeverything/theme/style.css';\n  ```\n\n### Use variable in TypeScript\n\n```ts\nimport { cssVar } from '@toeverything/theme';\nimport { cssVarV2 } from '@toeverything/theme/v2';\n```\n\n### Presets\n\n- **Preset Typography**:\n  Styles are included in `@toeverything/theme/style.css`.\n\n  ```ts\n  import { style } from '@vanilla-extract/css';\n  import { headlineRegular } from '@toeverything/theme/typography';\n\n  const myStyle = style([\n    headlineRegular,\n    {\n      // ...others\n    },\n  ]);\n  ```\n\n## License\n\n[MPL-2.0](LICENSE)\n","funding_links":[],"categories":["Design"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdesign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoeverything%2Fdesign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoeverything%2Fdesign/lists"}