Skip to content

Commit

Permalink
GIX-1878: Fix TVL text color (#3306)
Browse files Browse the repository at this point in the history
# Motivation

TVL title text is not clearly visible in light theme. See screenshot of
"Before".

The reason is that `--text2-color` was not present in the light theme.

The solution is to use `--description-color`. `--text2-color` will be
removed because it's not used anywhere else.

# Changes

* Change the color of TotalValueLocked to `--description-color`.

# Tests

* Only CSS changes

# Todos

- [x] Add entry to changelog (if necessary).
  • Loading branch information
lmuntaner authored Sep 12, 2023
1 parent a13f453 commit 36c7ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-Nns-Dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The NNS Dapp is released through proposals in the Network Nervous System. Theref

* Fixed issues with SetDissolveDelay component.
* Fix sent transaction icon background color dark theme.
* Improve text color of total value locked's label.

#### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
gap: var(--padding-0_5x);
background: rgba(var(--focus-background-rgb), 0.8);
color: var(--text2-color);
color: var(--description-color);
.total {
color: var(--text-color);
Expand Down

0 comments on commit 36c7ce9

Please sign in to comment.