SCSS: Move depression/elevation variables to proper files

This commit is contained in:
Molkobain
2021-04-11 12:59:43 +02:00
parent 605165fc5a
commit e45fd92022
5 changed files with 59 additions and 23 deletions

View File

@@ -16,12 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
*/
$ibo-depression-100: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15) !default;
:root{
--ibo-elevation-100: #{$ibo-depression-100};
}
%ibo-depression-100{
box-shadow: $ibo-depression-100;
}

View File

@@ -16,20 +16,6 @@
* You should have received a copy of the GNU Affero General Public License
*/
$ibo-elevation-100: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.12) !default;
$ibo-elevation-200: 0 2px 4px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.15) !default;
$ibo-elevation-300: 0 3px 6px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15) !default;
$ibo-elevation-400: 0 5px 10px rgba(0, 0, 0, 0.05), 0 15px 25px rgba(0, 0, 0, 0.15) !default;
$ibo-elevation-500: 0 20px 40px rgba(0, 0, 0, 0.20) !default;
:root{
--ibo-elevation-100: #{$ibo-elevation-100};
--ibo-elevation-200: #{$ibo-elevation-200};
--ibo-elevation-300: #{$ibo-elevation-300};
--ibo-elevation-400: #{$ibo-elevation-400};
--ibo-elevation-500: #{$ibo-elevation-500};
}
%ibo-elevation-100{
box-shadow: $ibo-elevation-100;
}