TV / Highlighted Rows / too little contrast in dark theme
Posted: 2024-11-03 09:30
Are you using any dark theme and seen this readability problem, too, when selecting one or multiple records:
The reason is, AppGini uses warning-background-color and warning-text-color from the selected theme for highlighted table rows which, in my case, means grey text on orange background.
This is the relevant CSS style, generated by AppGini code:
I'm just sharing this small change with you for getting better contrast:
Put it in any place like
This is how it looks like now:
---
Feel free to replace
The reason is, AppGini uses warning-background-color and warning-text-color from the selected theme for highlighted table rows which, in my case, means grey text on orange background.
This is the relevant CSS style, generated by AppGini code:
I'm just sharing this small change with you for getting better contrast:
Code: Select all
.highlighted-record * {
color: white !important;
background-color: steelblue !important;
}
<style>...</style>
section in hooks/header-extras.php
or an external stylesheet file.This is how it looks like now:
---
Feel free to replace
steelblue
by any other (dark) color or change both, background-color
and color
as you wish.