diff --git a/src/app/components/mobile/mobile.component.html b/src/app/components/mobile/mobile.component.html
index 73d80f8..59ad952 100644
--- a/src/app/components/mobile/mobile.component.html
+++ b/src/app/components/mobile/mobile.component.html
@@ -1,6 +1,6 @@
diff --git a/src/styles.scss b/src/styles.scss
index a0f2da4..8441454 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -1,3 +1,28 @@
+:root {
+ --primary-gradient: linear-gradient(to bottom, #3362bc, #4f7cd1, #3362bc);
+ --shadow-color: rgba(1, 29, 96, 0.37);
+}
+
+.theme-light-blue {
+ --primary-gradient: linear-gradient(to bottom, #2a0f39, #491375, #241345);
+ --shadow-color: rgb(10, 1, 43);
+}
+
+.theme-light-orange {
+ --primary-gradient: linear-gradient(to bottom, #673e1b, #9c6b37, #633718);
+ --shadow-color: rgb(43, 19, 1);
+}
+
+.theme-light-pink {
+ --primary-gradient: linear-gradient(to bottom, #78424c, #7a4d54, #90505a);
+ --shadow-color: rgb(32, 16, 18);
+}
+
+.theme-dark-grey {
+ --primary-gradient: linear-gradient(to bottom, #2f4f37, #456c37, #2f4f37);
+ --shadow-color: rgba(0, 0, 0, 0.5);
+}
+
@font-face {
font-family: 'Comfortaa';
src: url('assets/Comfortaa-VariableFont_wght.ttf');
@@ -14,6 +39,7 @@ body {
border: none;
font-size: 150%;
font-family: 'Comfortaa', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ transition: background 0.5s ease;
}
.gradient {
@@ -23,7 +49,8 @@ body {
right: 0;
bottom: 0;
z-index: -1;
- background-image: linear-gradient(to bottom, #3362bc, #3d6cc7, #4776d1, #5181dc, #5a8be7, #5a8be7, #5b8ae7, #5b8ae7, #527fdc, #4975d1, #406ac7, #3760bc);
+ background-image: var(--primary-gradient);
+ transition: background-image 0.5s ease;
}
.generators {
@@ -38,9 +65,10 @@ body {
.generator {
margin: 1em;
background: rgba( 255, 255, 255, 0.15 );
- box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
+ box-shadow: 0 8px 32px 0 var(--shadow-color);
border-radius: 3px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
+ transition: box-shadow 0.5s ease;
}
.container {
@@ -138,9 +166,10 @@ input[type="text"] {
color: white;
background: rgba(255, 255, 255, 0.15);
- box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
+ box-shadow: 0 8px 32px 0 var(--shadow-color);
border-radius: 3px;
- border: 1px solid rgba( 255, 255, 255, 0.20 );
+ border: 1px solid rgba(255, 255, 255, 0.20);
+ transition: box-shadow 0.5s ease;
&.ng-valid {
border-bottom: 3px solid #87e17a
@@ -165,9 +194,10 @@ input[type="number"] {
color: white;
background: rgba(255, 255, 255, 0.15);
- box-shadow: 0 8px 32px 0 rgba( 0, 38, 135, 0.37 );
+ box-shadow: 0 8px 32px 0 var(--shadow-color);
border-radius: 3px;
- border: 1px solid rgba( 255, 255, 255, 0.20 );
+ border: 1px solid rgba(255, 255, 255, 0.20);
+ transition: box-shadow 0.5s ease;
}
input::-webkit-outer-spin-button,