aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/styles.css')
-rw-r--r--ufund-ui/src/styles.css45
1 files changed, 34 insertions, 11 deletions
diff --git a/ufund-ui/src/styles.css b/ufund-ui/src/styles.css
index 75d6b36..a1902fd 100644
--- a/ufund-ui/src/styles.css
+++ b/ufund-ui/src/styles.css
@@ -1,17 +1,38 @@
/* You can add global styles to this file, and also import other style files */
:root {
- color-scheme: /*light*/ dark;
+ color-scheme: dark;
}
* {
box-sizing: border-box;
+ color: var(--foreground-color);
+ transition: all ease-in-out .3s;
+}
+
+[theme="light"] {
+ --background-color: #e6e4df;
+ --foreground-color: #000000;
+ --highlight-color: #cf9451;
+ --hover-color: #d8cdc0;
+ --opacity-cr: 1;
+ --opacity-jf: 0;
+}
+
+[theme="dark"] {
+ --background-color: #000715;
+ --foreground-color: #ffffff;
+ --highlight-color: #6091e8;
+ --hover-color: #394559;
+ --opacity-cr: 0;
+ --opacity-jf: 1;
}
html, body {
margin: 0;
height: 100%;
- background-color: light-dark(white, #000715);
+ background-color: var(--background-color);
+ color: var(--foreground-color);
}
body {
@@ -25,37 +46,39 @@ input {
border-radius: 5px;
border-style: solid;
border-width: 1px;
- background-color: light-dark(#ebebeb, #3a3a3a);
+ background-color: var(--background-color);
&:hover {
- background-color: light-dark(#e1e1e1, #444444);
+ background-color: var(--hover-color);
}
}
button, input[type=button], input[type=reset], input[type=submit], .button {
- font-size: 14pt;
+ font-size: 12pt;
padding: 6px 16px;
border-radius: 9999px;
border-style: none;
- background-color: light-dark(#ebebeb, #3a3a3a);
+ font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ background-color: var(--background-color);
display: flex;
gap: 5px;
text-align: center;
justify-content: center;
&:hover {
- background-color: light-dark(#e1e1e1, #444444);
+ background-color: var(--hover-color);
}
}
.button2 {
- text-transform: uppercase;
- border: 1px solid #5cdbff;
+ /* text-transform: uppercase; */
+ border: 3px solid var(--highlight-color);
padding: 10px 25px;
+ font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 12pt;
- font-weight: 600;
+ font-weight: 700;
background-color: transparent;
- text-shadow: #5cdbff 0 0 50px;
+ text-shadow: var(--highlight-color) 0 0 50px;
}
.icon {