mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
Migrate to new subdomain
This commit is contained in:
parent
d4ca4d8ec0
commit
c2ab213e77
2 changed files with 15 additions and 15 deletions
|
@ -189,34 +189,34 @@
|
|||
Available rulesets
|
||||
</h3>
|
||||
<dl>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" disabled checked class="ruleset-toggle" name="ruleset-base" onclick="toggleStyle('less:bluelib-dist-base:root')"> Base</label></dt>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" disabled checked class="ruleset-toggle" name="ruleset-base" onclick="toggleStyle('less:dist-base:root')"> Base</label></dt>
|
||||
<dd>
|
||||
The base <i>ruleset</i>, providing the layout and basic high contrast theming.
|
||||
</dd>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" checked class="ruleset-toggle" name="ruleset-classic" onclick="toggleStyle('less:bluelib-dist-classic:root')"> Classic</label></dt>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" checked class="ruleset-toggle" name="ruleset-classic" onclick="toggleStyle('less:dist-classic:root')"> Classic</label></dt>
|
||||
<dd>
|
||||
Inspired by the older Bluelib versions, with semi-transparent panels and rounded borders.
|
||||
</dd>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" checked class="ruleset-toggle" name="ruleset-glass" onclick="toggleStyle('less:bluelib-dist-glass:root')"> Glass</label></dt>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" checked class="ruleset-toggle" name="ruleset-glass" onclick="toggleStyle('less:dist-glass:root')"> Glass</label></dt>
|
||||
<dd>
|
||||
Made to celebrate the addition of <code>backdrop-filter</code> to Firefox, makes panels have a <q>stained glass</q> background.
|
||||
</dd>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-fun" onclick="toggleStyle('less:bluelib-dist-fun:root')"> Fun</label></dt>
|
||||
<dt><label class="fade"><input type="checkbox" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-fun" onclick="toggleStyle('less:dist-fun:root')"> Fun</label></dt>
|
||||
<dd>
|
||||
Experimental <i>ruleset</i> with bizzare or buggy but fun rules. Unsupported, do not use in production!
|
||||
</dd>
|
||||
<dt>Colors</dt>
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled checked class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:bluelib-dist-colors-royalblue:root', 'fabrice-nerfin-puHQJZd3MDg-unsplash.jpg')"> Royal Blue</label></dt>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled checked class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:dist-colors-royalblue:root', 'fabrice-nerfin-puHQJZd3MDg-unsplash.jpg')"> Royal Blue</label></dt>
|
||||
<dd>
|
||||
<a href="https://github.com/Steffo99">Steffo</a>'s signature color theme, based upon RYG⁵'s logo colors.
|
||||
</dd>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:bluelib-dist-colors-amber:root', 'anastasiia-chepinska-lcfH0p6emhw-unsplash-edited.jpg')"> Gestione Amber</label></dt>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:dist-colors-amber:root', 'anastasiia-chepinska-lcfH0p6emhw-unsplash-edited.jpg')"> Gestione Amber</label></dt>
|
||||
<dd>
|
||||
<a href="https://github.com/Nemesis-FT">Nemesis</a>' own color theme, with a "coffee-like" look.
|
||||
</dd>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:bluelib-dist-colors-pixeldawn:root', 'pixeldawn-viktya.png')"> Pixel Dawn</label></dt>
|
||||
<dt><label class="fade"><input type="radio" autocomplete="off" disabled class="ruleset-toggle" name="ruleset-colors" onclick="selectColor('less:dist-colors-pixeldawn:root', 'pixeldawn-viktya.png')"> Pixel Dawn</label></dt>
|
||||
<dd>
|
||||
A theme developed in collaboration with Viktya, featuring a pixelated beach-side sunrise.
|
||||
</dd>
|
||||
|
|
|
@ -24,11 +24,11 @@ async function sleepUntilLessIsDone() {
|
|||
|
||||
|
||||
const enabledByDefault = [
|
||||
"less:bluelib-dist-base:root",
|
||||
"less:bluelib-dist-classic:root",
|
||||
"less:bluelib-dist-glass:root",
|
||||
"less:bluelib-dist-colors-royalblue:root",
|
||||
"less:bluelib-dist-fonts-fira-ghpages:root",
|
||||
"less:dist-base:root",
|
||||
"less:dist-classic:root",
|
||||
"less:dist-glass:root",
|
||||
"less:dist-colors-royalblue:root",
|
||||
"less:dist-fonts-fira-ghpages:root",
|
||||
]
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ async function enableChanges() {
|
|||
await sleepUntilLessIsDone()
|
||||
|
||||
lessStyles = [...document.styleSheets].filter(
|
||||
(s) => s.ownerNode.id.startsWith("less:bluelib-dist")
|
||||
(s) => s.ownerNode.id.startsWith("less:dist")
|
||||
).map(
|
||||
(s) => ({[s.ownerNode.id]: s})
|
||||
).reduce(
|
||||
|
@ -52,7 +52,7 @@ async function enableChanges() {
|
|||
console.debug("Found Less stylesheets:", lessStyles)
|
||||
|
||||
lessColors = [...document.styleSheets].filter(
|
||||
(s) => s.ownerNode.id.startsWith("less:bluelib-dist-colors")
|
||||
(s) => s.ownerNode.id.startsWith("less:dist-colors")
|
||||
).map(
|
||||
(s) => ({[s.ownerNode.id]: s})
|
||||
).reduce(
|
||||
|
@ -62,7 +62,7 @@ async function enableChanges() {
|
|||
console.debug("Found Less colors:", lessColors)
|
||||
|
||||
lessFonts = [...document.styleSheets].filter(
|
||||
(s) => s.ownerNode.id.startsWith("less:bluelib-dist-fonts")
|
||||
(s) => s.ownerNode.id.startsWith("less:dist-fonts")
|
||||
).map(
|
||||
(s) => ({[s.ownerNode.id]: s})
|
||||
).reduce(
|
||||
|
|
Loading…
Reference in a new issue