Commit graph

26 commits

Author SHA1 Message Date
Sören Weber
ec88e24f46
variant: fix :root nesting selector for modified variants #974
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-12-19 23:37:28 +01:00
Sören Weber
f1701957c3
variant: fix import resolution for modified variants #974 2024-12-19 23:01:42 +01:00
Sören Weber
deee4ae6b7
theme: fix flash of non-default variant, part II #757
adapt the variant generator to previous changes;
interestingly, the new mechanism caused the variant generator
to be greatly simplified; something, I didn't expect beforehand
2024-12-08 00:17:03 +01:00
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
Sören Weber
8da8ed8614
children: use LinkTitle instead of Title #939 2024-10-25 00:10:36 +02:00
Sören Weber
10fb679d67
menu: support for external links #148 2024-10-24 23:34:42 +02:00
Sören Weber
11bc52f2df
theme: fix failed attempt #926 2024-10-13 14:21:19 +02:00
Sören Weber
0c81706cf5
theme: remove duplicate path warning #926 2024-10-13 13:55:53 +02:00
Sören Weber
b07d21c8e7
math: adhere to Hugo's default config params #923 2024-10-11 16:47:26 +02:00
Sören Weber
14d290cf63
theme: merge variant.css in theme.css #922
- for improving maintainability
- preparing for font switch
2024-10-11 16:47:22 +02:00
Sören Weber
85191809ea
docs: rename chapter 1 #567 2024-10-11 16:47:18 +02:00
Sören Weber
a1ab7ecb2d
theme: remove author deprecation warning #919 2024-10-11 16:46:48 +02:00
Sören Weber
997e5c41d6
taxonomy: avoid error if all term pages are hidden #685 2024-10-11 16:46:47 +02:00
Sören Weber
7e28003401
docs: change anchor naming scheme #917 2024-10-11 16:46:46 +02:00
Sören Weber
5356b3b15a
theme: restructure release notes #917 2024-10-11 16:46:41 +02:00
Sören Weber
415d3a4c60
arrownav: fix for hidden pages #685
two consecutive hidden siblings resulted in wrong next page
2024-10-11 16:45:48 +02:00
Sören Weber
ac56a45abc
notice: remove warning after rebase #913 2024-10-11 16:45:47 +02:00
Sören Weber
c5db84c5db
theme: add migration layer #891 2024-10-11 16:45:46 +02:00
Sören Weber
828a44d347
arrownav: inline meta calculation #685 2024-10-11 16:45:45 +02:00
Sören Weber
56c1f6a841
theme: optimize relearn-meta and menu caching #685 2024-10-11 16:45:44 +02:00
Sören Weber
d2c86cc8da
menu: optimize performance #685 2024-10-11 16:45:43 +02:00
Sören Weber
07cd94cc09
arrownav: optimize #891 2024-10-11 16:45:43 +02:00
Sören Weber
825f547781
dependencies: optimize #891 2024-10-11 16:45:43 +02:00
Sören Weber
a7d090b667
theme: harmonize querying hiddenstem #891 2024-10-11 16:45:42 +02:00
Sören Weber
8692fc4988
theme: broadly renaming template files #891 2024-10-11 16:45:40 +02:00
Sören Weber
70e51b0c26
notice: support user defined box styles #913 2024-09-12 07:55:24 +02:00