Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
misc.
Browse files Browse the repository at this point in the history
1. make theme toggle button smol
2. add buttonFontSize to styles sheet
  • Loading branch information
W3stside committed Nov 19, 2020
1 parent f56fb65 commit e708808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/storybook/decorators.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const ThemeToggler = (DecoratedStory: () => JSX.Element): JSX.Element =>
<ThemeProvider theme={theme}>
<Frame style={{ background: darkMode ? COLOURS.bgDark : COLOURS.bgLight }}>{DecoratedStory()}</Frame>
{/* Cheeky use of ButtonBase here :P */}
<ThemeButton kind={ButtonVariations.theme} onClick={handleDarkMode} mode={darkMode}>
<ThemeButton size="small" kind={ButtonVariations.theme} onClick={handleDarkMode} mode={darkMode}>
<FontAwesomeIcon icon={darkMode ? faSun : faMoon} />
</ThemeButton>
<br />
Expand Down
1 change: 1 addition & 0 deletions src/styles/styles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
buttonBorder: '0.1rem solid transparent',
borderRadius: '1.6rem',
buttonFontSize: '1rem',
}

0 comments on commit e708808

Please sign in to comment.