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

Darkmode #1908

Merged
merged 5 commits into from
Apr 17, 2024
Merged

Darkmode #1908

merged 5 commits into from
Apr 17, 2024

Conversation

insectengine
Copy link
Collaborator

Added a clean dark mode for the site. To keep it simple, it detects the OS preference and sets the site via CSS.

Copy link

github-actions bot commented Mar 5, 2024

🙈 The PR is closed and the preview is expired.

@holly-cummins
Copy link
Contributor

Noted, will work on this for the extensions sub-site!

@@ -9,22 +9,34 @@ <h2>Open Source Utterly and Absolutely</h2>
<h2>What Makes Quarkus Different?</h2>
</div>
<div class="width-3-12 width-12-12-m">
<img src="{{site.baseurl}}/assets/images/about/icon-developerjoy.svg">
<picture>
<source srcset="{{site.baseurl}}/assets/images/about/icon-developerjoy-dark.svg" media="(prefers-color-scheme:dark)">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<source srcset="{{site.baseurl}}/assets/images/about/icon-developerjoy-dark.svg" media="(prefers-color-scheme:dark)">
<source srcset="{{site.baseurl}}/assets/images/about/icon-developerjoy-dark.svg" media="(prefers-color-scheme:dark)" />

<img src="{{site.baseurl}}/assets/images/about/icon-developerjoy.svg">
<picture>
<source srcset="{{site.baseurl}}/assets/images/about/icon-developerjoy-dark.svg" media="(prefers-color-scheme:dark)">
<img src="{{site.baseurl}}/assets/images/about/icon-developerjoy.svg">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<img src="{{site.baseurl}}/assets/images/about/icon-developerjoy.svg">
<img src="{{site.baseurl}}/assets/images/about/icon-developerjoy.svg" />

@gsmet
Copy link
Member

gsmet commented Apr 5, 2024

I rebased to experiment with the preview fixes.

@gsmet gsmet merged commit b35a092 into quarkusio:develop Apr 17, 2024
1 check passed
@insectengine insectengine deleted the darkmode branch April 17, 2024 14:46
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

Successfully merging this pull request may close these issues.

4 participants