Skip to content

Commit

Permalink
enchance/ update popup page styles (#249)
Browse files Browse the repository at this point in the history
Co-authored-by: JongHak Seo <[email protected]>
  • Loading branch information
PatrykKuniczak and Jonghakseo authored Nov 5, 2023
1 parent 89dde54 commit b828840
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/pages/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,31 @@ const Popup = () => {
const theme = useStorage(exampleThemeStorage);

return (
<div className="App">
<header className="App-header">
<div
className="App"
style={{
backgroundColor: theme === 'light' ? '#fff' : '#000',
}}>
<header className="App-header" style={{ color: theme === 'light' ? '#000' : '#fff' }}>
<img src={logo} className="App-logo" alt="logo" />
<p className="">
Edit <code>src/pages/popup/Popup.tsx</code> and save to reload.
</p>
<a className="App-link" href="https://reactjs.org" target="_blank" rel="noopener noreferrer">
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
style={{ color: theme === 'light' && '#0281dc', marginBottom: '10px' }}>
Learn React!
</a>
<button
style={{
color: theme === 'light' ? '#fff' : '#000',
backgroundColor: theme === 'light' ? '#fff' : '#000',
color: theme === 'light' ? '#000' : '#fff',
}}
onClick={exampleThemeStorage.toggle}>
Toggle theme: [{theme}]
Toggle theme
</button>
</header>
</div>
Expand Down

0 comments on commit b828840

Please sign in to comment.