Skip to content

add config overrides for focus.* and linkVisited #4181

@Barsnes

Description

@Barsnes

These are the only colors now missing from overrides in our config.

linkVisited should be fine to add, and I think it should work like this:

"overrides": {
  "linkVisited": { "light": "HEX", "dark": "HEX" }
}

LinkVisited is done


Focus is a bit harder, since I think we need to change our tokens.
focus.inner and focus.outer is currently only in the semantic layer, but if we want a theme to be able to override these, it needs to move to the primitive and theme layer as well.

Metadata

Metadata

Assignees

Labels

cli@digdir/designsystemet

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions