Reskin the dapp to match the new design (#55)
* Reskin the dapp to match the new design * Update theme for button * Update auth package * Add transition for smoother darklight mode * Update styling to be more responsive * Match to design * Remove empty whitespace
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
:root {
|
||||
--primary-bg: #1e1e1e;
|
||||
--secondary-bg: #272a2a;
|
||||
--qr-bg: #141414;
|
||||
--text-color: white;
|
||||
--wc-btn-bg: #19324d;
|
||||
--wc-btn-brdr: #0f4b8a;
|
||||
--wc-btn-clr: #66b1ff;
|
||||
}
|
||||
|
||||
* {
|
||||
transition: background 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background-color: #141414 !important;
|
||||
color: white !important;
|
||||
color: var(--text-color) !important;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
@@ -26,3 +39,50 @@ a {
|
||||
background: black;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-primary {
|
||||
background: var(--primary-bg);
|
||||
}
|
||||
|
||||
.bg-qr {
|
||||
background: var(--qr-bg);
|
||||
}
|
||||
|
||||
.bg-secondary {
|
||||
background: var(--secondary-bg);
|
||||
}
|
||||
|
||||
.wc-button {
|
||||
background: var(--wc-btn-bg) !important;
|
||||
border: solid 1px var(--wc-btn-brdr);
|
||||
color: var(--wc-btn-clr) !important;
|
||||
}
|
||||
|
||||
.theme-switcher-dark > span > span {
|
||||
background: url("/moon.svg") no-repeat #66b1ff !important;
|
||||
}
|
||||
|
||||
.theme-switcher-light > span > span {
|
||||
background: url("/sun.svg") no-repeat #66b1ff !important;
|
||||
}
|
||||
|
||||
.theme-switcher > span {
|
||||
border: solid 2px white;
|
||||
}
|
||||
|
||||
.theme-switcher-light > span {
|
||||
background: url("/moon.svg") no-repeat #3b4040 !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: 90% center !important;
|
||||
}
|
||||
|
||||
.theme-switcher-dark > span {
|
||||
background: url("/sun.svg") no-repeat #3b4040 !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: 10% center !important;
|
||||
}
|
||||
|
||||
.theme-switcher > span > span {
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: center center !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user