add: light theme

This commit is contained in:
Alex
2025-02-18 11:31:01 +01:00
parent 743493517b
commit f1fe64855d
2 changed files with 248 additions and 80 deletions

View File

@@ -1,4 +1,6 @@
:root {
--white: #ffffff;
--black: #000000;
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
--pink: #f5c2e7;
@@ -26,6 +28,69 @@
--mantle: #181825;
--crust: #11111b;
--modal-backdrop: rgba(49, 50, 68, 0.45); /* For Mocha theme */
/* Bright theme (Latte) colors */
--bright-white: #000000;
--bright-black: #ffffff;
--bright-rosewater: #dc8a78;
--bright-flamingo: #dd7878;
--bright-pink: #ea76cb;
--bright-mauve: #8839ef;
--bright-red: #d20f39;
--bright-maroon: #e64553;
--bright-peach: #fe640b;
--bright-yellow: #df8e1d;
--bright-green: #40a02b;
--bright-teal: #179299;
--bright-sky: #04a5e5;
--bright-sapphire: #209fb5;
--bright-blue: #1e66f5;
--bright-lavender: #7287fd;
--bright-text: #4c4f69;
--bright-subtext1: #5c5f77;
--bright-subtext0: #6c6f85;
--bright-overlay2: #7c7f93;
--bright-overlay1: #8c8fa1;
--bright-overlay0: #9ca0b0;
--bright-surface2: #acb0be;
--bright-surface1: #bcc0cc;
--bright-surface0: #ccd0da;
--bright-base: #eff1f5;
--bright-mantle: #e6e9ef;
--bright-crust: #dce0e8;
--bright-modal-backdrop: rgba(220, 224, 232, 0.45);
}
[data-theme='bright'] {
--white: var(--bright-white);
--black: var(--bright-black);
--rosewater: var(--bright-rosewater);
--flamingo: var(--bright-flamingo);
--pink: var(--bright-pink);
--mauve: var(--bright-mauve);
--red: var(--bright-red);
--maroon: var(--bright-maroon);
--peach: var(--bright-peach);
--yellow: var(--bright-yellow);
--green: var(--bright-green);
--teal: var(--bright-teal);
--sky: var(--bright-sky);
--sapphire: var(--bright-sapphire);
--blue: var(--bright-blue);
--lavender: var(--bright-lavender);
--text: var(--bright-text);
--subtext1: var(--bright-subtext1);
--subtext0: var(--bright-subtext0);
--overlay2: var(--bright-overlay2);
--overlay1: var(--bright-overlay1);
--overlay0: var(--bright-overlay0);
--surface2: var(--bright-surface2);
--surface1: var(--bright-surface1);
--surface0: var(--bright-surface0);
--base: var(--bright-base);
--mantle: var(--bright-mantle);
--crust: var(--bright-crust);
--modal-backdrop: var(--bright-modal-backdrop);
}
@font-face {
@@ -247,7 +312,7 @@ li strong {
transition:
border-color 0.3s ease-in-out,
background-color 0.3s ease-in-out;
color: white;
color: var(--white);
text-transform: uppercase;
font-weight: 500;
padding: 18px 28px;
@@ -264,7 +329,7 @@ li strong {
transition:
border-color 0.3s ease-in-out,
background-color 0.3s ease-in-out;
color: white;
color: var(--white);
text-transform: uppercase;
font-weight: 500;
padding: 18px 28px;
@@ -274,14 +339,14 @@ li strong {
border: 1px solid var(--mauve);
}
.button-colorful:hover {
background-color: #c907ff;
border-color: #c907ff;
background-color: var(--bright-mauve);
border-color: var(--bright-mauve);
}
.button-orange {
transition:
border-color 0.3s ease-in-out,
background-color 0.3s ease-in-out;
color: white;
color: var(--white);
text-transform: uppercase;
font-weight: 500;
padding: 18px 28px;
@@ -291,14 +356,14 @@ li strong {
border: 1px solid var(--peach);
}
.button-orange:hover {
background-color: #ca3f12;
border-color: #ca3f12;
background-color: var(--bright-peach);
border-color: var(--bright-peach);
}
.button-colorful:disabled {
transition:
border-color 0.3s ease-in-out,
background-color 0.3s ease-in-out;
color: white;
color: var(--white);
text-transform: uppercase;
font-weight: 500;
padding: 18px 28px;
@@ -338,7 +403,7 @@ li strong {
.container {
transition: opacity 0.2s ease-in-out;
color: white;
color: var(--white);
letter-spacing: 0;
opacity: 1;
}
@@ -348,7 +413,7 @@ li strong {
flex-grow: 1;
}
.container .content .step-title {
color: #fff;
color: var(--white);
font-size: 20px;
font-weight: 500;
line-height: 86px;
@@ -449,7 +514,7 @@ li strong {
.btn.primary {
background-color: var(--blue);
border-color: var(--blue);
color: white;
color: var(--white);
}
.btn.primary:hover {
@@ -460,7 +525,7 @@ li strong {
.btn.danger {
background-color: var(--red);
border-color: var(--red);
color: white;
color: var(--white);
}
.btn.danger:hover {
@@ -508,7 +573,7 @@ li strong {
}
.footer-branding-container {
color: white;
color: var(--white);
font-weight: 300;
margin-bottom: 73px;
}
@@ -527,7 +592,7 @@ li strong {
align-items: center;
justify-content: center;
margin-bottom: 16px;
color: white;
color: var(--white);
}
.footer-branding-container .footer-branding .footer-crafted-by-container span {
display: inline-block;
@@ -541,12 +606,12 @@ li strong {
}
.footer-branding-container .footer-branding .footer-copyright {
color: #696969;
color: var(--overlay0);
letter-spacing: 0.5px;
}
.footer-container {
width: 100%;
color: white;
color: var(--white);
box-sizing: border-box;
display: flex;
justify-content: center;
@@ -575,7 +640,7 @@ li strong {
#000 1deg calc(360deg / var(--n) - var(--g) - 1deg),
#0000 calc(360deg / var(--n) - var(--g)) calc(360deg / var(--n))
),
radial-gradient(farthest-side, #0000 calc(98% - var(--b)), #000 calc(100% - var(--b)));
radial-gradient(farthest-side, #0000 calc(98% - var(--b)), var(--black) calc(100% - var(--b)));
-webkit-mask: var(--_m);
mask: var(--_m);
-webkit-mask-composite: destination-in;