Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/enhance/update-readme-screen-ima…
Browse files Browse the repository at this point in the history
…ge' into enhance/update-readme-screen-image
  • Loading branch information
Jonghakseo committed Nov 5, 2023
2 parents b50d0c9 + 534927d commit 1e8b9e5
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 1e8b9e5

Please sign in to comment.