Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tokens): remove validationmessage and label typography tokens #2698

Merged
merged 3 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading