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

chore: default to dark mode and enable theme switcher in documentation #3380

Merged
merged 7 commits into from
Jun 26, 2020

Conversation

nicholasrice
Copy link
Contributor

@nicholasrice nicholasrice commented Jun 25, 2020

Description

For documentation, adds and wires a dark-mode logo, un-hides the theme switch, and defaults to dark mode.

Motivation & context

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Adding or modifying component(s) in @microsoft/fast-components checklist

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@nicholasrice nicholasrice force-pushed the users/nirice/fix-documentation-themeing branch from 90726a6 to a38bf9b Compare June 25, 2020 18:04
@EisenbergEffect EisenbergEffect mentioned this pull request Jun 25, 2020
35 tasks
Copy link
Contributor

@EisenbergEffect EisenbergEffect left a comment

Choose a reason for hiding this comment

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

Excellent. I commend this fine accomplishment 😄

@@ -24,10 +24,6 @@
padding: 0 var(--ifm-pre-padding);
}

div.react-toggle {
display: none;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A fine bit of code that is sadly no-longer needed ;)

@nicholasrice nicholasrice merged commit 8dc2506 into master Jun 26, 2020
@nicholasrice nicholasrice deleted the users/nirice/fix-documentation-themeing branch June 26, 2020 01:52
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