Add Forgejo theme and homepage
This commit is contained in:
commit
92363fca9b
31 changed files with 4044 additions and 0 deletions
31
themes/theme-forgejo-auto.css
Normal file
31
themes/theme-forgejo-auto.css
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* theme-forgejo-auto.css (custom override)
|
||||
* ─────────────────────────────────────────────────────────────────────────
|
||||
* The built-in Forgejo auto palette (snapshot: _base-forgejo-auto.css) plus
|
||||
* the shared neumorphic/soft-UI layer, with light/dark shadow primitives that
|
||||
* follow the OS colour-scheme preference.
|
||||
*
|
||||
* Overrides the built-in theme so the soft look applies to anyone who picked
|
||||
* "forgejo-auto". Palette frozen from Forgejo 15.0.0.
|
||||
*/
|
||||
|
||||
@import url("./_base-forgejo-auto.css");
|
||||
@import url("./theme-neumorphism.css");
|
||||
|
||||
/* Light (default) primitives */
|
||||
:root {
|
||||
--nm-shadow-dark: rgba(0, 0, 0, 0.16);
|
||||
--nm-shadow-light: rgba(255, 255, 255, 0.95);
|
||||
--nm-divider-color: rgba(0, 0, 0, 0.08);
|
||||
--nm-radius: 14px;
|
||||
--nm-radius-sm: 10px;
|
||||
}
|
||||
|
||||
/* Dark primitives when the OS asks for dark */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--nm-shadow-dark: rgba(0, 0, 0, 0.62);
|
||||
--nm-shadow-light: rgba(255, 255, 255, 0.05);
|
||||
--nm-divider-color: rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue