Skip to content

Commit 44ba08a

Browse files
ljemmoedleeks87
authored andcommitted
add an inverse border-alt token for the inversed divider (HR) component
1 parent b538eb9 commit 44ba08a

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

data/tokens/components/container.json

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,30 @@
221221
"$value": "{mode.color.generic.txt.severe}",
222222
"$description": "for headings, paragraph txt etc "
223223
},
224+
"inverse": {
225+
"border-alt": {
226+
"$type": "color",
227+
"$value": "{mode.color.generic.fg.inverse.firm}"
228+
},
229+
"bg-default": {
230+
"$type": "color",
231+
"$value": "{mode.color.generic.bg.inverse.nought}"
232+
},
233+
"border-default": {
234+
"$type": "color",
235+
"$value": "{mode.color.generic.fg.inverse.soft}"
236+
},
237+
"txt-alt": {
238+
"$type": "color",
239+
"$value": "{mode.color.generic.txt.inverse.faint}",
240+
"$description": "for subheadings etc"
241+
},
242+
"txt-default": {
243+
"$type": "color",
244+
"$value": "{mode.color.generic.txt.inverse.severe}",
245+
"$description": "for headings, paragraph txt etc "
246+
}
247+
},
224248
"priority": {
225249
"bg-ai": {
226250
"$type": "color",
@@ -250,26 +274,6 @@
250274
"$type": "color",
251275
"$value": "{mode.color.status.positive.default}"
252276
}
253-
},
254-
"inverse": {
255-
"bg-default": {
256-
"$type": "color",
257-
"$value": "{mode.color.generic.bg.inverse.nought}"
258-
},
259-
"border-default": {
260-
"$type": "color",
261-
"$value": "{mode.color.generic.fg.inverse.soft}"
262-
},
263-
"txt-alt": {
264-
"$type": "color",
265-
"$value": "{mode.color.generic.txt.inverse.faint}",
266-
"$description": "for subheadings etc"
267-
},
268-
"txt-default": {
269-
"$type": "color",
270-
"$value": "{mode.color.generic.txt.inverse.severe}",
271-
"$description": "for headings, paragraph txt etc "
272-
}
273277
}
274278
},
275279
"size": {

0 commit comments

Comments
 (0)