Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatically switch themes #54

Open
Neon-44 opened this issue Apr 14, 2023 · 2 comments
Open

automatically switch themes #54

Neon-44 opened this issue Apr 14, 2023 · 2 comments

Comments

@Neon-44
Copy link

Neon-44 commented Apr 14, 2023

on Firefox, it doesn't automatically switch themes but you have to reload the page.

would it be possible to automatically recognise when the user switches to dark mode and adjust the webpage?

@sukalaper
Copy link

on Firefox, it doesn't automatically switch themes but you have to reload the page.

would it be possible to automatically recognise when the user switches to dark mode and adjust the webpage?

Hello, here I also use Firefox but it works to switch themes well. First, can I have a look at your config.yml?

@Neon-44
Copy link
Author

Neon-44 commented Apr 17, 2023

sure, here you go:
left out baseURL etc.
but i have declared further up:

baseURL: []
languageCode: []
title: []
theme: PaperModX

copy paste from config (deleted commented out parts for readability)

params:
 TocSide: right
 ShowToc: true
 ShowReadingTime: true
 DefaultTheme: auto

outputs:
  home:
    - HTML
    - RSS
    - JSON # is necessary

i should also note:
on Firefox on Android it works, but not on Firefox Flatpak Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants