hugo-theme-relearn/exampleSite
Sören Weber 0505b36141
theme: fix flash of non-default variant, part I #757
implements the first part, working for configured variants;

for that, loading of stylesheets was overhauled by now
merging all configured variants into one big stylesheet for
each output format and loading this instead of one stylesheet
per configured variant;

previously @media print styles were applied on top of @media screen
styles; this is now strictly isolated, which doesn't require styles
like neon to revert styles for print anymore;

this change was also used to implement the minify parameter, to shrink
those generated stylesheets, making them shrink to 66% of their
unminified size for the exampleSite;

the theme switcher functionality is now completely independend of
variant.js; the switch is now handled by in-page javascript which
avoids waiting for external scripts to load, so switching can happen
as early as possible;

switching of themes is now implemented by just setting a data attribute
to the html element, were previously a complex mechanism of dynamically
loading of variant CSS files was implemented;

the call for variant.js was removed in this changeset, making the
generator broken and useless; this will be fixed with the next patch;
2024-12-06 07:38:05 +01:00
..
.frontmatter/database frontmatter: move frontmatter config for exampleSite out of root #843 2024-04-23 23:36:12 +02:00
config theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
content theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
i18n notice: improve accessibility of notice title #897 2024-11-30 19:10:58 +01:00
layouts logo: move default styles #924 2024-10-13 01:47:48 +02:00
static docs: switch GitHub buttons scheme according to menu background #615 2023-08-12 23:13:33 +02:00
frontmatter.json docs: distinguish front matter from Front Matter CMS #567 2024-10-11 16:47:30 +02:00
makeTransByConentDir.js theme: apply Prettier config #947 2024-11-15 23:38:25 +01:00
test-hugo.bat theme: Hugo 0.139 without verbose option 2024-11-18 19:10:26 +01:00
test-hugo.min.bat theme: Hugo 0.139 without verbose option 2024-11-18 19:10:26 +01:00