Skip to content

Commit

Permalink
feat(ui): set "foreground": "primaryForeground"
Browse files Browse the repository at this point in the history
This really should have been set from the beginning,
these changes ensure that all text elements follow
the flavour's chosen `text` colour.
  • Loading branch information
sgoudham committed Oct 24, 2023
1 parent 5c8115a commit 2081831
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

### Added

- (UI): **Set all `foreground` elements to use `text` colour.** This really should have been set from the beginning,
you may notice that UI text elements are lighter and contrast less with the background. (i.e. Mocha thus far has
been using `#FFFFFF` instead of the intended text colour `#cdd6f4` in the user interface)

### Changed

### Deprecated
Expand Down
1 change: 1 addition & 0 deletions generateFlavours/ui.theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"ui": {
"*": {
"arc": "7",
"foreground": "primaryForeground",
"background": "primaryBackground",
"borderColor": "borderColor",
"disabledBackground": "primaryBackground",
Expand Down

0 comments on commit 2081831

Please sign in to comment.