Skip to content

Commit

Permalink
touch up
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed May 6, 2024
1 parent c99872b commit 835729d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $tr: 5px;
cursor: pointer;
* {
height: 4px;
background: #dff;
background: var(--text-color);
border-radius: 50%;
border: 1px solid #5555;
}
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/client/header/header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

.author,
.themeswitch {
all: unset;
box-shadow: 0 1px 8px -5px var(--text-color);
padding: 15px 20px;
gap: 20px;
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/client/header/theme-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export default function ThemeSwitch() {
}
}, [colorSchemePref]);
return (
<p className={styles.themeswitch} onClick={toggle} role="button">
<button className={styles.themeswitch} onClick={toggle}>
<ColorSwitch />
<span className="mb">{colorSchemePref}</span>
</p>
</button>
);
}

0 comments on commit 835729d

Please sign in to comment.