mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02: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
@ -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 New Issue
Block a user