-
Notifications
You must be signed in to change notification settings - Fork 336
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
Implement dark mode #2338
+319
−50
Merged
Implement dark mode #2338
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
4e1278b
Implement dark mode
jayhesselberth e6a3dba
Merge branch 'main' into dark-mode
jayhesselberth ce1885d
Merge branch 'main' into dark-mode
jayhesselberth dfe878d
Merge branch 'main' into dark-mode
jayhesselberth 75c73e4
Merge branch 'main' into dark-mode
jayhesselberth 56a5f31
port over some tweaks from rstudio/bslib
02e13ff
include search in navbar right
jayhesselberth 907c8df
document and news bullet
jayhesselberth 00576bf
acknowledge @gadenbuie
jayhesselberth 1d320dc
add bootstrap icons css
jayhesselberth 401be6b
Merge commit '6757fe4f8270db56cb098838b8610c2adb2569d6'
hadley 8a5bf60
Static lightswitcher menu made with navbar menu
hadley cd17170
Simplify css
hadley 27eb176
Re-do scss with eye to #2573
hadley 393e164
Merge commit '36db6570616631aabae3f9c4cc71588489519f7f'
hadley cb18b29
Conditionally set navbar bg
hadley d70081f
Explanatory comment
hadley cd55c5f
Revert menu changes
hadley 0bce689
Only add lilghtswitch if needed
hadley d5f14e4
Test (and fix) theme errors
hadley 0775200
Use a variable
hadley 9ad1d30
Remove dark mode content for now
hadley dc1b802
Make an explicit switch for light switch and document
hadley b63cfd8
Update test
hadley 57e82f0
Generate buttons instead of broken links
hadley 2ca8a11
WS
hadley 38092ef
Use opacity for foreground colours
hadley e30adb6
Better approach for navbar colour
hadley 2d0a7b9
Revert unrelated change
hadley dd0602b
Make search styling more like navbars
hadley 87aabeb
Better strategy for TOC highlights
hadley 78cc4dd
More search polishing
hadley d57f700
More news polishing
hadley 83341f2
More polishing
hadley cb2dee8
Merge commit '98d30d834b33ce896310ee7a9ae89de11809d8e2'
hadley d06820d
Use same technique for TOC and nav bar
hadley e196064
Polish navbar colouring
hadley a02e726
Hopefully last search tweak
hadley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jayhesselberth marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed these files so that it's possible to generate the lightswitch menu using our internal code. The primary advantage is simplicity, but it also ensures that if the lightswitch is placed on the right, the menu is automatically right aligned.