Skip to content

Commit

Permalink
Merge branch 'main' into chore/storefront-clean-components
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear authored Sep 29, 2023
2 parents c09b8c5 + d512ee2 commit 2445512
Show file tree
Hide file tree
Showing 61 changed files with 2,813 additions and 1,272 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ module.exports = {
'react/display-name': 'off',
'import/no-unresolved': 'error',
'import/namespace': ['error', { allowComputed: true }],
'import/no-named-as-default': 'off',
'@next/next/no-html-link-for-pages': ['error', '/storefront/pages/'],
'import/order': [
'warn',
{
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@

---

## Quick links

- [Storefront](https://designsystemet.no)
- [Storybook](https://digdir.github.io/designsystem/)

## About the design system 📖

The Common Designsystem is a collection of important design elements and building blocks that can be used when creating different services. It's like a toolbox that everyone can use to work together and create the best foundation for public services across the country. By using this Designsystem, we aim to create consistent and user-friendly experiences in digital solutions for public services, making them more efficient and reliable.
Expand Down
914 changes: 490 additions & 424 deletions design-tokens/$themes.json

Large diffs are not rendered by default.

150 changes: 0 additions & 150 deletions design-tokens/Base/Semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,76 +78,6 @@
"checked": {
"value": "{colors.blue.700}",
"type": "color"
},
"primary": {
"subtle": {
"value": "{colors.blue.100}",
"type": "color"
},
"subtle-hover": {
"value": "{colors.blue.200}",
"type": "color"
},
"default": {
"value": "{colors.blue.700}",
"type": "color"
},
"hover": {
"value": "{colors.blue.800}",
"type": "color"
},
"active": {
"value": "{colors.blue.900}",
"type": "color",
"description": "Standard farge for handlinger"
},
"no_fill": {
"value": "{colors.white}",
"type": "color"
},
"no_fill-hover": {
"value": "{colors.blue.100}",
"type": "color"
},
"no_fill-active": {
"value": "{colors.blue.200}",
"type": "color"
}
},
"secondary": {
"subtle": {
"value": "{colors.grey.100}",
"type": "color"
},
"subtle-hover": {
"value": "{colors.grey.200}",
"type": "color"
},
"default": {
"value": "{colors.blue.900}",
"type": "color"
},
"hover": {
"value": "rgba({colors.blue.900}, 0.9)",
"type": "color"
},
"active": {
"value": "rgba({colors.blue.900}, 0.8)",
"type": "color",
"description": "Standard farge for handlinger"
},
"no_fill": {
"value": "{colors.white}",
"type": "color"
},
"no_fill-hover": {
"value": "rgba({colors.blue.900}, 0.1)",
"type": "color"
},
"no_fill-active": {
"value": "rgba({colors.blue.900}, 0.2)",
"type": "color"
}
}
},
"success": {
Expand Down Expand Up @@ -304,50 +234,6 @@
"dark-hover": {
"value": "{colors.blue.700}",
"type": "color"
},
"primary": {
"subtle": {
"value": "{colors.blue.200}",
"type": "color"
},
"subtle-hover": {
"value": "{colors.blue.400}",
"type": "color"
},
"default": {
"value": "{colors.blue.700}",
"type": "color"
},
"hover": {
"value": "{colors.blue.800}",
"type": "color"
},
"active": {
"value": "{colors.blue.900}",
"type": "color"
}
},
"secondary": {
"subtle": {
"value": "{colors.grey.200}",
"type": "color"
},
"subtle-hover": {
"value": "{colors.grey.300}",
"type": "color"
},
"default": {
"value": "{colors.blue.900}",
"type": "color"
},
"hover": {
"value": "{colors.blue.900}",
"type": "color"
},
"active": {
"value": "{colors.blue.900}",
"type": "color"
}
}
},
"neutral": {
Expand Down Expand Up @@ -490,42 +376,6 @@
"on_action": {
"value": "{colors.white}",
"type": "color"
},
"primary": {
"default": {
"value": "{colors.blue.700}",
"type": "color"
},
"hover": {
"value": "#004e95",
"type": "color"
},
"active": {
"value": "#00315d",
"type": "color"
},
"on_action": {
"value": "{colors.white}",
"type": "color"
}
},
"secondary": {
"default": {
"value": "{colors.blue.900}",
"type": "color"
},
"hover": {
"value": "{colors.blue.900}",
"type": "color"
},
"active": {
"value": "{colors.blue.900}",
"type": "color"
},
"on_action": {
"value": "{colors.white}",
"type": "color"
}
}
},
"warning": {
Expand Down
Loading

0 comments on commit 2445512

Please sign in to comment.