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

Add default override value to ADR #1119

Merged
merged 1 commit into from
Dec 11, 2024
Merged
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
6 changes: 6 additions & 0 deletions contributor-docs/adrs/adr-004-token-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ This ADR provides a solution for thoses cases by allowing to specifiy specific o
}
```

### Default value

The `$value` property always represents the `light` theme value, which we define to be the default. Any theme that does not specify an override, will use the default value from the `$value` property.

### Advanced overrides

To allow for more advanced overrides, you can provide an object with multiple properties instead of a value string.

```json5
Expand Down
Loading