Skip to content

Commit

Permalink
chore(tokens): remove validationmessage and label typography tokens (d…
Browse files Browse the repository at this point in the history
…igdir#2698)

fixes digdir#2676

---------

Co-authored-by: Michael Marszalek <[email protected]>
  • Loading branch information
Febakke and mimarz authored Oct 30, 2024
1 parent 35049eb commit bbcd95e
Show file tree
Hide file tree
Showing 22 changed files with 5 additions and 2,452 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-walls-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-theme": patch
---

tokens: Removed validationmessage and label typography styles
232 changes: 0 additions & 232 deletions apps/storefront/tokens/altinn/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3705,238 +3705,6 @@ export const typography = [
"long",
"xs"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 500,
lineHeight: "1.3",
fontSize: "1.3125rem",
letterSpacing: "0.5%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.medium}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.6}",
letterSpacing: "{letter-spacing.8}"
}
},
name: "--ds-label-lg",
attributes: {},
path: [
"typography",
"label",
"lg"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 500,
lineHeight: "1.3",
fontSize: "1.125rem",
letterSpacing: "0.5%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.medium}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.5}",
letterSpacing: "{letter-spacing.8}"
}
},
name: "--ds-label-md",
attributes: {},
path: [
"typography",
"label",
"md"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 500,
lineHeight: "1.3",
fontSize: "1rem",
letterSpacing: "0.25%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.medium}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.4}",
letterSpacing: "{letter-spacing.7}"
}
},
name: "--ds-label-sm",
attributes: {},
path: [
"typography",
"label",
"sm"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 500,
lineHeight: "1.3",
fontSize: "0.875rem",
letterSpacing: "0.15%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.medium}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.3}",
letterSpacing: "{letter-spacing.6}"
}
},
name: "--ds-label-xs",
attributes: {},
path: [
"typography",
"label",
"xs"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 400,
lineHeight: "1.3",
fontSize: "1.3125rem",
letterSpacing: "0.5%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.regular}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.6}",
letterSpacing: "{letter-spacing.8}"
}
},
name: "--ds-validation-message-lg",
attributes: {},
path: [
"typography",
"validation-message",
"lg"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 400,
lineHeight: "1.3",
fontSize: "1.125rem",
letterSpacing: "0.5%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.regular}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.5}",
letterSpacing: "{letter-spacing.8}"
}
},
name: "--ds-validation-message-md",
attributes: {},
path: [
"typography",
"validation-message",
"md"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 400,
lineHeight: "1.3",
fontSize: "1rem",
letterSpacing: "0.25%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.regular}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.4}",
letterSpacing: "{letter-spacing.7}"
}
},
name: "--ds-validation-message-sm",
attributes: {},
path: [
"typography",
"validation-message",
"sm"
]
},
{
$type: "typography",
$value: {
fontFamily: "Helvetica Neue",
fontWeight: 400,
lineHeight: "1.3",
fontSize: "0.875rem",
letterSpacing: "0.15%"
},
filePath: "../../design-tokens/semantic/style.json",
isSource: false,
original: {
$type: "typography",
$value: {
fontFamily: "{font.family}",
fontWeight: "{font-weight.regular}",
lineHeight: "{line-height.sm}",
fontSize: "{font-size.3}",
letterSpacing: "{letter-spacing.6}"
}
},
name: "--ds-validation-message-xs",
attributes: {},
path: [
"typography",
"validation-message",
"xs"
]
}
]

Expand Down
Loading

0 comments on commit bbcd95e

Please sign in to comment.