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',