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

Move theme toggler to a partial #39807

Merged
merged 5 commits into from Mar 20, 2024
Merged

Move theme toggler to a partial #39807

merged 5 commits into from Mar 20, 2024

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Mar 19, 2024

Description

Motivation & Context

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues


TODO:

  • Fix toggler in examples

@XhmikosR XhmikosR force-pushed the xmr/theme-toggler branch 2 times, most recently from 52fa751 to e329f60 Compare March 19, 2024 16:14
@XhmikosR XhmikosR marked this pull request as ready for review March 19, 2024 16:18
@@ -94,12 +94,17 @@
z-index: 1500;
}

.bd-mode-toggle .bi {
Copy link
Member Author

Choose a reason for hiding this comment

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

I plan to move all this inline CSS to an external file and inline it after processing it through Sass. That's for later, though.

@julien-deramond julien-deramond self-requested a review March 20, 2024 16:42
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Just a minor modification in comment. The rest LGTM. It's a good idea to make this theme toggler a partial.

site/layouts/partials/theme-toggler.html Outdated Show resolved Hide resolved
@XhmikosR XhmikosR merged commit d1636a7 into main Mar 20, 2024
13 checks passed
@XhmikosR XhmikosR deleted the xmr/theme-toggler branch March 20, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants