{"id":21232227,"url":"https://github.com/db-ui/base","last_synced_at":"2025-07-10T17:31:01.878Z","repository":{"id":46748835,"uuid":"489305842","full_name":"db-ui/base","owner":"db-ui","description":"Provides basic tokens and assets based on the DB UX Design System Version 2.","archived":false,"fork":false,"pushed_at":"2025-07-08T10:28:57.000Z","size":23733,"stargazers_count":8,"open_issues_count":34,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-08T11:39:45.837Z","etag":null,"topics":["designtokens","hacktoberfest","tailwindcss"],"latest_commit_sha":null,"homepage":"https://db-ui.github.io/base/","language":"Handlebars","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/db-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-06T10:06:28.000Z","updated_at":"2025-07-08T10:27:03.000Z","dependencies_parsed_at":"2023-11-21T04:23:11.270Z","dependency_job_id":"0a03e6dd-883e-4956-810f-ce7c877f01c6","html_url":"https://github.com/db-ui/base","commit_stats":{"total_commits":451,"total_committers":10,"mean_commits":45.1,"dds":0.3348115299334812,"last_synced_commit":"6638b2dae5523c3f8340692f0de67a63d069a6f9"},"previous_names":[],"tags_count":72,"template":false,"template_full_name":null,"purl":"pkg:github/db-ui/base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db-ui%2Fbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db-ui%2Fbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db-ui%2Fbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db-ui%2Fbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/db-ui","download_url":"https://codeload.github.com/db-ui/base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db-ui%2Fbase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264275049,"owners_count":23583240,"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":["designtokens","hacktoberfest","tailwindcss"],"created_at":"2024-11-20T23:50:07.981Z","updated_at":"2025-07-10T17:31:01.873Z","avatar_url":"https://github.com/db-ui.png","language":"Handlebars","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2025 DB Systel GmbH\n\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# DB UI Base\n\n[![REUSE status](https://api.reuse.software/badge/github.com/db-ui/base)](https://api.reuse.software/info/github.com/db-ui/base)\n[![REUSE Compliance Check](https://github.com/db-ui/base/actions/workflows/99-reuse-compliance-check.yml/badge.svg)](https://github.com/db-ui/base/actions/workflows/99-reuse-compliance-check.yml) Creates copyright \u0026 license annotations with [REUSE](https://git.fsfe.org/reuse/tool)\n\n\u003e [!IMPORTANT]\n\u003e We've released the new stable version of the [DB UX Design System v3](https://github.com/db-ux-design-system/core-web), which is the successor to this generation of DB Design Systems.\n\u003e Especially for new projects, we strongly recommend building on [DB UX Design System v3](https://github.com/db-ux-design-system/core-web).\u003c!-- markdownlint-disable MD033 --\u003e\n\u003e The new version has some great benefits and optimisations, especially in terms of accessibility testing, further and better framework support and ongoing development.\u003cbr\u003e\n\u003c!-- markdownlint-enable MD033 --\u003e\n\u003e Please note that we won't be providing any new features from now on, only bug fixes until EOL at the end of 2026.\n\nWith DB UI Base we provide you with basic Design Tokens and assets based on the [DB UX Design System v2](https://marketingportal.extranet.deutschebahn.com/marketingportal/Design-Anwendungen/db-ux-design-system/version-2/Components), that can be shared across web and native apps projects.\n\nFor more information, have a look at our [hosted patternlab](https://db-ui.github.io/base/).\n\n## Deutsche Bahn brand\n\nAs we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound to clear guidelines and restrictions even when being used with the code that we're providing with this product; Deutsche Bahn fully reserves all rights and ownership regarding the Deutsche Bahn brand, even though that we're providing the code of DB UI products free to use and release it under the Apache 2.0 license.\nPlease have a look at our [brand portal](https://marketingportal.extranet.deutschebahn.com/) for any further questions and whom to contact on any brand issues. As these assets and visual guidelines are retrieved from our Deutsche Bahn Marketingportal, you'll agree with the [\"Allgemeine Nutzungsbedingungen für das DB-Marketingportal\" (german)](https://marketingportal.extranet.deutschebahn.com/marketingportal/Nutzungsbedingungen-9702684#) in case of using them.\n\nFor any usage outside of Deutsche Bahn websites and applications you must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.\n\nThis especially relates to the files in the directories `/assets/` and `source/images` and `source/favicon.ico` as well.\n\n## How to consume\n\n### General `npm` context\n\nInstall DB UI Base like this:\n\n```bash\nnpm i -save @db-ui/base\n```\n\n#### Tailwind\n\nInstall Tailwind based on your framework: [Installations](https://tailwindcsscom/docs/installation), but don't use `npx tailwindcss init`.\n\nInstead, run this command in your project:\n\n```bash\nnode ./node_modules/@db-ui/base/build/tailwind/tailwind-config-generator.mjs\n```\n\nThis will create your `tailwind.config.js`.\n\n---\n\nIf you don't want to have a customizable config, you can also use the default tailwind-config by running:\n\n```bash\nnode ./node_modules/@db-ui/base/build/tailwind/tailwind-config-generator.mjs default\n```\n\n---\n\nThe config contains all colors, fonts and spacings. Make sure to check the official guidelines for spacings (1 unit === 16px).\n\n## How it works / to contribute\n\nContributions are very welcome, please refer to the [contribution guide](CONTRIBUTING.md).\n\nAll of the style tokens and assets are in this package. Make any changes to suit your needs. This package has iOS, Android, and web code, and is based on [Amazon Style Dictionary](https://amzn.github.io/style-dictionary/) Complete Example.\n\nTo get started, run\n\n```shell\nnpm install\nnpm run build\n```\n\nThe `npm build` task is what performs the style dictionary build steps to generate the files for each platform. Every time you change something in the style dictionary, like changing colors or adding tokens, you will have to run this command again to generate the files.\n\n\u003c!-- markdownlint-disable MD026 --\u003e\n\n## Third party acknowledgments – many kudos for that !!!\n\n\u003c!-- markdownlint-enable MD026 } --\u003e\n\n- [open privacy by opr.vc](https://opr.vc)\n\n## Code of conduct\n\nWe as members, contributors, and leaders pledge to make participation in our\ncommunity a harassment-free experience for everyone – have a look at our [Contributor Covenant Code of Conduct](CODE-OF-CONDUCT.md).\n\n## License\n\nThe DB source code is licensed under the Apache License, Version 2.0, January 2004;\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the Apache License at \u003chttps://apache.org/licenses/LICENSE-2.0\u003e. The DB source code\ndoes not include any DB specific design assets like fonts, icons, trademarks, brandings, etc.\n\n[Apache 2.0 license](LICENSES/Apache-2.0.txt)\n\nAll Deutsche Bahn AG (hereinafter “DB”) specific design assets like fonts, icons,\ntrademarks, brandings, etc. (hereinafter “DB Designs”) are licensed under the following\nlicense agreement (the “DB Designs License”):\n\n[DB Designs License](LICENSES/LicenseRef-DB-Designs-License.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdb-ui%2Fbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdb-ui%2Fbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdb-ui%2Fbase/lists"}