mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update and rename materialdark.php to material-dark.php
This commit is contained in:
parent
6b11b3593f
commit
bb0a82acbc
@ -4,6 +4,14 @@ require_once '../../includes/functions.php';
|
|||||||
$color = getColorOpt();
|
$color = getColorOpt();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
/*
|
||||||
|
Theme Name: Material Dark
|
||||||
|
Author: @marek-guran
|
||||||
|
Author URI: https://github.com/marek-guran
|
||||||
|
Description: Inspired by Google's Material You Design
|
||||||
|
License: GNU General Public License v3.0
|
||||||
|
*/
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Base color
|
// Base color
|
||||||
$baseColor = $color; // Replace this with your desired color value
|
$baseColor = $color; // Replace this with your desired color value
|
||||||
@ -57,14 +65,6 @@ $backgroundColor = darkenColor($baseColor, 90);
|
|||||||
// Now you can use these color variables in your CSS or any other parts of your PHP code.
|
// Now you can use these color variables in your CSS or any other parts of your PHP code.
|
||||||
?>
|
?>
|
||||||
|
|
||||||
/*
|
|
||||||
Theme Name: Material Dark
|
|
||||||
Author: @marek-guran
|
|
||||||
Author URI: https://github.com/marek-guran
|
|
||||||
Description: Inspired by Google's Material Design
|
|
||||||
License: GNU General Public License v3.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
@import url('all.css');
|
@import url('all.css');
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -110,7 +110,7 @@ h5.card-title {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.col {
|
.col {
|
||||||
color: white;
|
color: <?php echo $textColor; ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header .col i.fa-tachometer-alt,
|
.card-header .col i.fa-tachometer-alt,
|
Loading…
x
Reference in New Issue
Block a user