{"id":18416648,"url":"https://github.com/altinn/designsystem","last_synced_at":"2025-04-05T02:10:04.956Z","repository":{"id":10966554,"uuid":"56853814","full_name":"Altinn/DesignSystem","owner":"Altinn","description":"Altinn designsystem","archived":false,"fork":false,"pushed_at":"2025-04-04T07:39:43.000Z","size":386050,"stargazers_count":40,"open_issues_count":18,"forks_count":17,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-05T02:09:30.879Z","etag":null,"topics":["css","html","javascript","nodejs","pattern-lab"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altinn.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":"2016-04-22T12:28:59.000Z","updated_at":"2024-08-08T14:05:23.000Z","dependencies_parsed_at":"2023-12-03T09:41:19.567Z","dependency_job_id":"9293adb2-e20d-4546-8bc7-b108d2241f35","html_url":"https://github.com/Altinn/DesignSystem","commit_stats":{"total_commits":2728,"total_committers":62,"mean_commits":44.0,"dds":0.814516129032258,"last_synced_commit":"ea2fdbd63f656b99e4e8b4dfaa9bab930c3459a0"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2FDesignSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2FDesignSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2FDesignSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2FDesignSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altinn","download_url":"https://codeload.github.com/Altinn/DesignSystem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["css","html","javascript","nodejs","pattern-lab"],"created_at":"2024-11-06T04:06:25.299Z","updated_at":"2025-04-05T02:10:04.937Z","avatar_url":"https://github.com/Altinn.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Altinn Design System\n\n⚠️⚠️⚠️ _**DEPRECATED**_ ⚠️⚠️⚠️  \n**The [design system v2](https://github.com/Altinn/altinn-design-system) ([npm](https://www.npmjs.com/package/@altinn/altinn-design-system)) supersedes this project. Consider moving your project to rely on the newer design system instead of this one.**\n\n\u003chr\u003e\n\nThis design system is based on [Pattern Lab](https://patternlab.io/) code and [atomic design principles](http://bradfrost.com/blog/post/atomic-web-design/).\nThe [repo](https://github.com/Altinn/DesignSystem) contains the source code and configuration for building and running the design system locally and for creating distribution files.\n\nYou can always test the [live version](https://altinn.github.io/DesignSystem) of the latest build, or download the [altinn-designsystem](https://www.npmjs.com/package/altinn-designsystem) npm package.\n\n\n## Dependencies\n\nMake sure that [Node.js](https://nodejs.org) (version 14 or newer) is installed. The package manager [npm](https://www.npmjs.com/) will be included.\n\n## Setup\n```shell\ngit clone https://github.com/Altinn/DesignSystem.git\n```\n\nNavigate to the root of the code and run:\n```shell\nnpm install\n```\n\n## Run\n\nThe design system is divided into three projects: Altinn.no (Infoportal and Portal), Altinn Digital and common.\n\nTo run the design system for altinn.no\n\n```shell\nnpm run start:altinn\n```\n\nTo run the design system for Altinn Digital\n\n```shell\nnpm run start:altinndigital\n```\n\nTo run the design system for components that are common to all projects\n\n```shell\nnpm run start:common\n```\n\nThe command will build and run the design system locally on \u003chttp://127.0.0.1:3000\u003e and automatically rebuild if the source code is changed.\n\n## Distribution\n\nThe /dist folder contains css, javascript, fonts and images for distribution via the [npm package](https://www.npmjs.com/package/altinn-designsystem).\n\nTo update the /dist folder\n\n```shell\nnpm run dist\n```\n\n## GitHub pages\n\nTo update the [live version](https://altinn.github.io/DesignSystem/) of the design system\n\n```shell\nnpm run update:gh-pages\n```\nthen commit and push the changes to git.\n\n## Source code\n\nThe source code is structured as follows:\n\n###/_patternlab\nPatternLab specific files: patterns, meta, data and config.\n\nEach project has its own folder. Common components should only be changed in the /common folder, where they will automatically be copied to all other projects. Changes to common components anywhere else will be automatically overwritten.\n\n###/css\nChanges to css should be made in the scss files under /css/scss. The css files will be automatically updated.\n\n###/fonts\n\n###/images\n\n###/js\nJavaScript files are divided into /production and /prototype and bundled automatically. To add new files to a bundle update the config under /scripts/build-config.json","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Fdesignsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltinn%2Fdesignsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Fdesignsystem/lists"}