Skip to content

Commit

Permalink
feat(tokens): rename dark to strong and light to subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosvik committed Apr 15, 2024
1 parent 4086d56 commit 220a676
Show file tree
Hide file tree
Showing 6 changed files with 1,130 additions and 1,054 deletions.
2,134 changes: 1,105 additions & 1,029 deletions design-tokens/$themes.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions design-tokens/Base/Semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"value": "{colors.grey.200}",
"type": "color"
},
"dark": {
"strong": {
"value": "{colors.grey.600}",
"type": "color"
},
"dark-hover": {
"strong-hover": {
"value": "{colors.grey.700}",
"type": "color"
},
Expand Down Expand Up @@ -237,11 +237,11 @@
"value": "{colors.blue.900}",
"type": "color"
},
"dark": {
"strong": {
"value": "{colors.blue.900}",
"type": "color"
},
"dark-hover": {
"strong-hover": {
"value": "{colors.blue.700}",
"type": "color"
}
Expand Down
6 changes: 3 additions & 3 deletions design-tokens/Brand/Altinn.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"value": "{brand.alt1.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt1.800}",
"type": "color"
}
Expand All @@ -175,7 +175,7 @@
"value": "{brand.alt2.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt2.900}",
"type": "color"
}
Expand All @@ -193,7 +193,7 @@
"value": "{brand.alt3.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt3.800}",
"type": "color"
}
Expand Down
6 changes: 3 additions & 3 deletions design-tokens/Brand/Brreg.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"value": "{brand.alt1.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt1.700}",
"type": "color"
}
Expand All @@ -172,7 +172,7 @@
"value": "{brand.alt2.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt2.700}",
"type": "color"
}
Expand All @@ -190,7 +190,7 @@
"value": "{brand.alt3.300}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt3.700}",
"type": "color"
}
Expand Down
24 changes: 12 additions & 12 deletions design-tokens/Brand/Digdir.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,55 +142,55 @@
"semantic": {
"surface": {
"first": {
"light": {
"subtle": {
"value": "{brand.alt1.200}",
"type": "color"
},
"light-hover": {
"subtle-hover": {
"value": "{brand.alt1.300}",
"type": "color"
},
"light-active": {
"subtle-active": {
"value": "{brand.alt1.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt1.800}",
"type": "color"
}
},
"second": {
"light": {
"subtle": {
"value": "{brand.alt2.200}",
"type": "color"
},
"light-hover": {
"subtle-hover": {
"value": "{brand.alt2.300}",
"type": "color"
},
"light-active": {
"subtle-active": {
"value": "{brand.alt2.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt2.900}",
"type": "color"
}
},
"third": {
"light": {
"subtle": {
"value": "{brand.alt3.200}",
"type": "color"
},
"light-hover": {
"subtle-hover": {
"value": "{brand.alt3.300}",
"type": "color"
},
"light-active": {
"subtle-active": {
"value": "{brand.alt3.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt3.800}",
"type": "color"
}
Expand Down
6 changes: 3 additions & 3 deletions design-tokens/Brand/Tilsynet.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"value": "{brand.alt1.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt1.800}",
"type": "color"
}
Expand All @@ -148,7 +148,7 @@
"value": "{brand.alt2.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt2.900}",
"type": "color"
}
Expand All @@ -166,7 +166,7 @@
"value": "{brand.alt3.400}",
"type": "color"
},
"dark": {
"strong": {
"value": "{brand.alt3.800}",
"type": "color"
}
Expand Down

0 comments on commit 220a676

Please sign in to comment.