Skip to content

Commit

Permalink
Merge branch 'main' into css/chip-p
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes authored Apr 10, 2024
2 parents 21866ee + e870720 commit f9a2f6e
Show file tree
Hide file tree
Showing 19 changed files with 129 additions and 57 deletions.
16 changes: 8 additions & 8 deletions apps/storefront/tokens/altinn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2526,15 +2526,15 @@ export const typography = [
path: ['typography', 'heading', 'xxsmall'],
},
{
value: "400 1.875rem/1.6 'Inter'",
value: "400 1.875rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f4}',
},
type: 'typography',
Expand All @@ -2544,15 +2544,15 @@ export const typography = [
path: ['typography', 'ingress', 'large'],
},
{
value: "400 1.5rem/1.6 'Inter'",
value: "400 1.5rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f3}',
},
type: 'typography',
Expand All @@ -2562,15 +2562,15 @@ export const typography = [
path: ['typography', 'ingress', 'medium'],
},
{
value: "400 1.3125rem/1.6 'Inter'",
value: "400 1.3125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f2}',
},
type: 'typography',
Expand All @@ -2580,15 +2580,15 @@ export const typography = [
path: ['typography', 'ingress', 'small'],
},
{
value: "400 1.125rem/1.6 'Inter'",
value: "400 1.125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f1}',
},
type: 'typography',
Expand Down
16 changes: 8 additions & 8 deletions apps/storefront/tokens/brreg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2544,15 +2544,15 @@ export const typography = [
path: ['typography', 'heading', 'xxsmall'],
},
{
value: "400 1.875rem/1.6 'Inter'",
value: "400 1.875rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f4}',
},
type: 'typography',
Expand All @@ -2562,15 +2562,15 @@ export const typography = [
path: ['typography', 'ingress', 'large'],
},
{
value: "400 1.5rem/1.6 'Inter'",
value: "400 1.5rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f3}',
},
type: 'typography',
Expand All @@ -2580,15 +2580,15 @@ export const typography = [
path: ['typography', 'ingress', 'medium'],
},
{
value: "400 1.3125rem/1.6 'Inter'",
value: "400 1.3125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f2}',
},
type: 'typography',
Expand All @@ -2598,15 +2598,15 @@ export const typography = [
path: ['typography', 'ingress', 'small'],
},
{
value: "400 1.125rem/1.6 'Inter'",
value: "400 1.125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f1}',
},
type: 'typography',
Expand Down
16 changes: 8 additions & 8 deletions apps/storefront/tokens/digdir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2520,15 +2520,15 @@ export const typography = [
path: ['typography', 'heading', 'xxsmall'],
},
{
value: "400 1.875rem/1.6 'Inter'",
value: "400 1.875rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f4}',
},
type: 'typography',
Expand All @@ -2538,15 +2538,15 @@ export const typography = [
path: ['typography', 'ingress', 'large'],
},
{
value: "400 1.5rem/1.6 'Inter'",
value: "400 1.5rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f3}',
},
type: 'typography',
Expand All @@ -2556,15 +2556,15 @@ export const typography = [
path: ['typography', 'ingress', 'medium'],
},
{
value: "400 1.3125rem/1.6 'Inter'",
value: "400 1.3125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f2}',
},
type: 'typography',
Expand All @@ -2574,15 +2574,15 @@ export const typography = [
path: ['typography', 'ingress', 'small'],
},
{
value: "400 1.125rem/1.6 'Inter'",
value: "400 1.125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f1}',
},
type: 'typography',
Expand Down
16 changes: 8 additions & 8 deletions apps/storefront/tokens/tilsynet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2466,15 +2466,15 @@ export const typography = [
path: ['typography', 'heading', 'xxsmall'],
},
{
value: "400 1.875rem/1.6 'Inter'",
value: "400 1.875rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f4}',
},
type: 'typography',
Expand All @@ -2484,15 +2484,15 @@ export const typography = [
path: ['typography', 'ingress', 'large'],
},
{
value: "400 1.5rem/1.6 'Inter'",
value: "400 1.5rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f3}',
},
type: 'typography',
Expand All @@ -2502,15 +2502,15 @@ export const typography = [
path: ['typography', 'ingress', 'medium'],
},
{
value: "400 1.3125rem/1.6 'Inter'",
value: "400 1.3125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f2}',
},
type: 'typography',
Expand All @@ -2520,15 +2520,15 @@ export const typography = [
path: ['typography', 'ingress', 'small'],
},
{
value: "400 1.125rem/1.6 'Inter'",
value: "400 1.125rem/1.7 'Inter'",
type: 'typography',
filePath: '../../design-tokens/Base/Semantic.json',
isSource: false,
original: {
value: {
fontFamily: '{fontFamilies.inter}',
fontWeight: '{fontWeights.regular}',
lineHeight: '{lineHeights.600}',
lineHeight: '{lineHeights.700}',
fontSize: '{font-size.f1}',
},
type: 'typography',
Expand Down
10 changes: 5 additions & 5 deletions design-tokens/Base/Semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.600}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f4}"
},
"type": "typography"
Expand All @@ -528,7 +528,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.600}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f3}"
},
"type": "typography"
Expand All @@ -537,7 +537,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.600}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f2}"
},
"type": "typography"
Expand All @@ -546,7 +546,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.600}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f1}"
},
"type": "typography"
Expand Down Expand Up @@ -1026,4 +1026,4 @@
"type": "boxShadow"
}
}
}
}
6 changes: 6 additions & 0 deletions packages/css/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.3-alpha.0](https://github.com/digdir/designsystemet/compare/@digdir/[email protected]...@digdir/[email protected]) (2024-04-09)

### Features

- 🎨 Use new sizing scale for typography and components ([#1696](https://github.com/digdir/designsystemet/issues/1696)) ([61b1af7](https://github.com/digdir/designsystemet/commit/61b1af79d96049b664c3fd5725fdffe0f34b27cb))

## [0.3.2](https://github.com/digdir/designsystemet/compare/@digdir/[email protected]...@digdir/[email protected]) (2024-04-08)

### Bug Fixes
Expand Down
11 changes: 10 additions & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-css",
"version": "0.3.2",
"version": "0.3.3-alpha.0",
"description": "CSS for Designsystemet",
"author": "Designsystemet team",
"repository": "https://github.com/digdir/designsystemet",
Expand All @@ -13,6 +13,14 @@
"publishConfig": {
"access": "public"
},
"browserslist": [
"cover 90% in NO",
"last 2 versions",
"Firefox ESR",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"keywords": [
"css",
"designsystem",
Expand All @@ -24,6 +32,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
"cssnano": "^6.0.2",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/css/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module.exports = {
preset: 'default',
}),
require('./postcss-layers'),
require('autoprefixer'),
],
};
4 changes: 4 additions & 0 deletions packages/react-old/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.7-alpha.0](https://github.com/digdir/designsystemet/compare/@digdir/[email protected]...@digdir/[email protected]) (2024-04-09)

**Note:** Version bump only for package @digdir/design-system-react

## [0.53.6](https://github.com/digdir/designsystemet/compare/@digdir/[email protected]...@digdir/[email protected]) (2024-04-08)

**Note:** Version bump only for package @digdir/design-system-react
Expand Down
Loading

0 comments on commit f9a2f6e

Please sign in to comment.