added 1 commit
<ul><li>10977c2e - Add a button to toggle dark mode</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=115389573&start_sha=572e6c6f1209e4b32d207538eecc9ce6deb6eeb3)
This changeset is a bit opinionated — I dropped the query param support and rewrote parts of the code for no real reason (I mean, there was a reason but my intents changed so I ended up writing what was already written). I feel like the code is a bit more readable now, but that is very subjective.
This changeset is a bit opinionated — I dropped the query param support and rewrote parts of the code for no real reason (I mean, there was a reason but my intents changed so I ended up writing what was already written). I feel like the code is a bit more readable now, but that is very subjective.
I support this change.
However, the button shows up like this now (the little arrow on the left of the language menu):

Is this really intended?
I see some CSS :before and :after, but it doesn't appear to be working.
I would imagine the icon would be something like this: https://materialdesignicons.com/icon/theme-light-dark
I am however just fine with replacing it with another icon. Cannot we use something from the Font Awesome as we already have in included on the web?
That's weird. I can see it as 
I am however just fine with replacing it with another icon. Cannot we use something from the Font Awesome as we already have in included on the web?
Anyhow, emoji are incredibly unreliable, especially on Linux. I'm working on the Fontawesome version.
Weird, I see it like this:

Anyhow, emoji are incredibly unreliable, especially on Linux. I'm working on the Fontawesome version.
@sijisu what's your opinion on this icon? For me, a light bulb implies help or docs, but not dark mode. However, if you are OK with, let's just merge it
@sijisu what's your opinion on this icon? For me, a light bulb implies help or docs, but not dark mode. However, if you are OK with, let's just merge it
added 1 commit
<ul><li>a33eaeee - Fixed color of pagination link.</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=116437819&start_sha=1eeff69f75351f209384bbd9832d52cb61bb1964)
added 1 commit
<ul><li>b3617e4e - Set the moon icon using a CSS class</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=116626226&start_sha=a33eaeeedbf74e6b82e0a9ce973ecaefe0a6c5e2)
added 1 commit
<ul><li>f1c790f6 - Improve accessibility of the dark mode button</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=116627425&start_sha=b3617e4ef0d0055cd6e6cd49ffa86a4418d88e2a)
added 1 commit
<ul><li>4160dc3a - Replace custom styles on dark mode button with Bulma's `is-arrowless`</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=116628352&start_sha=f1c790f63e52d2ffc8bf0380c839b69855199868)
@Greenscreener Since we have broaden the scope of this MR, please, set the $link variable in #content.dark-mode to #558be2 or so, to make it contrast enough. I would do it myself but my SASS skills are rather nonexistent.
@Greenscreener Since we have broaden the scope of this MR, please, set the `$link` variable in `#content.dark-mode` to `#558be2` or so, to make it contrast enough. I would do it myself but my SASS skills are rather nonexistent.
It's not really my decision, it's the way Bulma works...
An example from the docs:

See: [https://bulma.io/documentation/components/navbar/](https://bulma.io/documentation/components/navbar/)
added 1 commit
<ul><li>8518c3ce - Unified darkmode and footer link colour.</li></ul>
[Compare with previous version](/patek-devs/patek.cz/-/merge_requests/38/diffs?diff_id=116656769&start_sha=80ac584b16cdfb40a5fa5a8c0d28a23fe2751969)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Also drop support for setting it through the URL query parameter
Resolves #3
Also fix some contrast issues in dark mode.
Resolved #14
added 1 commit
10977c2e- Add a button to toggle dark modeCompare with previous version
This changeset is a bit opinionated — I dropped the query param support and rewrote parts of the code for no real reason (I mean, there was a reason but my intents changed so I ended up writing what was already written). I feel like the code is a bit more readable now, but that is very subjective.
I support this change.
However, the button shows up like this now (the little arrow on the left of the language menu):

Is this really intended?
I see some CSS :before and :after, but it doesn't appear to be working.
I would imagine the icon would be something like this: https://materialdesignicons.com/icon/theme-light-dark
That's weird. I can see it as
I am however just fine with replacing it with another icon. Cannot we use something from the Font Awesome as we already have in included on the web?
Weird, I see it like this:
Anyhow, emoji are incredibly unreliable, especially on Linux. I'm working on the Fontawesome version.
added 1 commit
08bc8493- Replaced emoji with FontAwesome icon.Compare with previous version
Now it should look like this:
approved this merge request
@sijisu what's your opinion on this icon? For me, a light bulb implies help or docs, but not dark mode. However, if you are OK with, let's just merge it
What do you suggest? Do you think this might look better?
Yeah, this is IMO what we want
The moon icon looks good to me!
added 1 commit
1eeff69f- Changed icon to moon.Compare with previous version
added 1 commit
a33eaeee- Fixed color of pagination link.Compare with previous version
Nice commit hash
Cool, I like this...
approved this merge request
approved this merge request
Sorry, it does not work for me:
Weird
added 1 commit
b3617e4e- Set the moon icon using a CSS classCompare with previous version
added 1 commit
f1c790f6- Improve accessibility of the dark mode buttonCompare with previous version
added 1 commit
4160dc3a- Replace custom styles on dark mode button with Bulma's `is-arrowless`Compare with previous version
@Greenscreener I've done some minor tweaks. Can you confirm it works for you as well?
added 1 commit
33d2332e- Fixed classes on dark-mode-toggler.Compare with previous version
What you've done is broken, because you copied over a wrong bit of code. This is how menu items without dropdowns should look.
added 1 commit
80ac584b- Resolved #14.Compare with previous version
Well, for me, this is not a link. That's why I decided to go with a div with
buttonrole. But we may use the<a>if you wantchanged the description
@Greenscreener Since we have broaden the scope of this MR, please, set the
$linkvariable in#content.dark-modeto#558be2or so, to make it contrast enough. I would do it myself but my SASS skills are rather nonexistent.It's not really my decision, it's the way Bulma works...
An example from the docs:

See: https://bulma.io/documentation/components/navbar/
IMO bad, but let's keep it like that
added 1 commit
8518c3ce- Unified darkmode and footer link colour.Compare with previous version
Resolved with
8518c3cechanged title from Add a button to toggle dark mode to Add a button to toggle dark mode{+ and polish darkmode in general.+}
I am very happy with the current state.
@Greenscreener @sijisu?
mentioned in merge request !42
Me too! Works miraculously for me. Kudos guys.
approved this merge request
approved this merge request
mentioned in commit
edf81d21bb