Skip to content

Commit

Permalink
Add unicode emoji example
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewbi committed Jul 27, 2020
1 parent c753320 commit 1c92cc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,16 @@ module.exports = {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
switchConfig: {
darkIcon: '🌙',
darkIconStyle: {
marginLeft: '2px',
},
lightIcon: '\u2600', // Supports some unicode characters
lightIconStyle: {
marginLeft: '1px',
},
},
},
announcementBar: {
id: 'supportus',
Expand Down

0 comments on commit 1c92cc1

Please sign in to comment.