Separated the modern theme script into it's own file.

This commit is contained in:
Miguel Astor
2026-03-03 03:56:39 -04:00
parent b56b7176a8
commit afd11fba3a
9 changed files with 712 additions and 600 deletions

View File

@@ -1,3 +1,17 @@
/***************************************************************************************************
* Copyright (C) 2026 by WallyHackenslacker wallyhackenslacker@noreply.git.hackenslacker.space *
* *
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without *
* fee is hereby granted. *
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS *
* SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE *
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES *
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, *
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE *
* OF THIS SOFTWARE. *
****************************************************************************************************/
:root {
--bg-base: #e0e5ec;
--bg-primary: #e0e5ec;
@@ -124,12 +138,12 @@ body {
}
.theme-toggle .icon-auto::before {
content: '\2600\FE0F';
content: '☀️';
clip-path: inset(0 50% 0 0);
}
.theme-toggle .icon-auto::after {
content: '\D83C\DF19';
content: '🌙';
clip-path: inset(0 0 0 50%);
}