Rename card variables to "raised"

This commit is contained in:
Andreas Nedbal 2020-05-03 20:10:50 +02:00
parent 02cc1c418d
commit 241b8cbdcb
4 changed files with 6 additions and 6 deletions

View File

@ -54,9 +54,9 @@ $avatar-sizes: (
:root {
--background: #f0edf4;
--card-bg: #ffffff;
--card-cap-bg: #f7f7f7;
--input-bg: #ffffff;
--raised-bg: #ffffff;
--raised-accent: #f7f7f7;
/**
NOTE for all *-text variables

View File

@ -41,7 +41,7 @@
.list-group-item {
margin-top: map-get($spacers, 2);
background-color: var(--card-cap-bg);
background-color: var(--raised-accent);
p {
margin-bottom: 0;

View File

@ -1,7 +1,7 @@
.card {
margin-bottom: map-get($spacers, 3);
box-shadow: $box-shadow-sm;
background-color: var(--card-bg);
background-color: var(--raised-bg);
p:only-child {
margin-bottom: 0;
@ -10,5 +10,5 @@
.card-header,
.card-footer {
background-color: var(--card-cap-bg);
background-color: var(--raised-accent);
}

View File

@ -64,7 +64,7 @@ module ThemeHelper
'info_text' => 'info-text',
'success_color' => 'success',
'success_text' => 'success-text',
'panel_color' => 'card-bg',
'panel_color' => 'raised-bg',
'background_color' => 'background',
'background_text' => 'body-text',
'input_color' => 'input-bg',