Skip to content

Commit

Permalink
style(board): theme color (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
purusott authored Feb 13, 2025
1 parent fcc56e1 commit b959d6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tavla/pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ function BoardPage({
<div className="root" data-theme={updatedBoard.theme ?? 'dark'}>
<Head>
<title>{title}</title>
<meta
name="theme-color"
content={
updatedBoard.theme === 'dark'
? '#000000'
: '#ffffff'
}
/>
</Head>
<div className="rootContainer">
<Header
Expand Down

0 comments on commit b959d6b

Please sign in to comment.