{"id":26967254,"url":"https://github.com/arkitektum/dibk-design","last_synced_at":"2026-04-08T12:05:11.317Z","repository":{"id":34436667,"uuid":"155234168","full_name":"Arkitektum/dibk-design","owner":"Arkitektum","description":"Shared components for DIBK applications","archived":false,"fork":false,"pushed_at":"2026-03-09T08:28:20.000Z","size":46031,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-09T12:41:50.124Z","etag":null,"topics":["design","react","styled-components","webpack"],"latest_commit_sha":null,"homepage":"https://arkitektum.github.io/dibk-design/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arkitektum.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-29T15:20:00.000Z","updated_at":"2026-03-09T08:25:30.000Z","dependencies_parsed_at":"2026-02-20T11:03:45.550Z","dependency_job_id":null,"html_url":"https://github.com/Arkitektum/dibk-design","commit_stats":null,"previous_names":[],"tags_count":299,"template":false,"template_full_name":null,"purl":"pkg:github/Arkitektum/dibk-design","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkitektum%2Fdibk-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkitektum%2Fdibk-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkitektum%2Fdibk-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkitektum%2Fdibk-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arkitektum","download_url":"https://codeload.github.com/Arkitektum/dibk-design/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkitektum%2Fdibk-design/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"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":["design","react","styled-components","webpack"],"created_at":"2025-04-03T08:50:26.961Z","updated_at":"2026-04-08T12:05:11.293Z","avatar_url":"https://github.com/Arkitektum.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DIBK design\n\nShared components for DIBK applications\n\n## Getting Started\n\n1.  **Install Dependencies**\n\n    This project uses [pnpm](https://pnpm.io/) as the package manager.\n    ```bash\n    pnpm install\n    ```\n\n2.  **Run Storybook for Development**\n\n    To view and work on components in isolation, run the Storybook development server:\n    ```bash\n    pnpm run storybook\n    ```\n    This will open Storybook in your browser, usually at `http://localhost:6006`.\n\n## Building for Production\n\nWhen you need to create a distributable version of the library or the Storybook site, use the following commands.\n\n### Build Library\nBundles the library for production and generates TypeScript types. The output is saved to the `/dist` folder.\n```bash\npnpm run build\n```\n\n### Build TypeScript Types\nOnly generates the TypeScript declaration files (`.d.ts`).\n```bash\npnpm run build:types\n```\n\n### Build Storybook\nBuilds the Storybook as a static web application. The output is saved to the `/storybook-static` folder.\n```bash\npnpm run build-storybook\n```\n\n## Styles \u0026 tokens\n\nThis package ships two CSS entrypoints:\n\n- `dibk-design/theme.css` — Tailwind-friendly theme tokens (via `@theme`)\n- `dibk-design/tokens.css` — plain CSS variables for non-Tailwind apps\n\n### Use with Tailwind (recommended)\n\nImport the theme tokens in your global CSS:\n\n```css\n@import \"tailwindcss\";\n@import \"dibk-design/theme.css\";\n```\n\n### Use without Tailwind\n\nImport the plain tokens instead:\n\n```css\n@import \"dibk-design/tokens.css\";\n```\n\n## Use with Next.js\n\n1. Import the CSS entrypoint in your `globals.css`\n\n```css\n@import \"tailwindcss\";\n@import \"dibk-design/theme.css\";\n```\n\n2. Import component from the library\n\n```jsx\n\"use client\"\nimport React from 'react'\nimport { Button } from 'dibk-design'\n\nconst Home = () =\u003e {\n  return (\n    \u003cmain\u003e\n      \u003cButton onClick={() =\u003e {}} size=\"small\" color=\"primary\" content=\"Button\"\u003e\n          I'm a button\n      \u003c/Button\u003e\n    \u003c/main\u003e\n  )\n}\n\nexport default Home\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkitektum%2Fdibk-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkitektum%2Fdibk-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkitektum%2Fdibk-design/lists"}