mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update and rename materialdark.php to material-dark.php
This commit is contained in:
parent
6b11b3593f
commit
bb0a82acbc
1 changed files with 9 additions and 9 deletions
|
@ -4,6 +4,14 @@ require_once '../../includes/functions.php';
|
|||
$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
|
||||
// Base color
|
||||
$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.
|
||||
?>
|
||||
|
||||
/*
|
||||
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');
|
||||
|
||||
body {
|
||||
|
@ -110,7 +110,7 @@ h5.card-title {
|
|||
}
|
||||
|
||||
.col {
|
||||
color: white;
|
||||
color: <?php echo $textColor; ?>;
|
||||
}
|
||||
|
||||
.card-header .col i.fa-tachometer-alt,
|
Loading…
Reference in a new issue