mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update linkquality.js
Added hard coded colors to material theme. Now it is more readable on dark and light versions.
This commit is contained in:
parent
5bd2ef1edc
commit
dd2c648a78
1 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,16 @@ if (theme == 'lightsout.css') {
|
|||
var bgColor2 = '#141414';
|
||||
var borderColor = 'rgba(37, 153, 63, 1)';
|
||||
var labelColor = 'rgba(37, 153, 63, 1)';
|
||||
} else if (theme == 'material-light.php') {
|
||||
var bgColor1 = 'rgba(255, 255, 255, 0.5)';
|
||||
var bgColor2 = 'rgba(0, 0, 0, 0.5)';
|
||||
var borderColor = '#f2f2fb';
|
||||
var labelColor = '#f2f2fb';
|
||||
} else if (theme == 'material-dark.php') {
|
||||
var bgColor1 = 'rgba(255, 255, 255, 0.5)';
|
||||
var bgColor2 = 'rgba(0, 0, 0, 0.5)';
|
||||
var borderColor = '#f2f2fb';
|
||||
var labelColor = '#f2f2fb';
|
||||
} else {
|
||||
var bgColor1 = '#d4edda';
|
||||
var bgColor2 = '#eaecf4';
|
||||
|
|
Loading…
Reference in a new issue