Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zhanglun/lettura
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglun committed May 16, 2024
2 parents 7aec87f + 023d6fc commit 909e629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layout/Setting/Appearance/Accent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export const Accent = () => {

return (
<div className="flex gap-4 items-center">
{ACCENTS.map((accent: { name: string; hsl: string }) => {
return <AccentItem {...accent} active={accent.name === currentTheme} onClick={handleClick} />;
{ACCENTS.map((accent: { name: string; hsl: string }, i) => {
return <AccentItem {...accent} active={accent.name === currentTheme} onClick={handleClick} key={i} />;
})}
</div>
);
Expand Down
3 changes: 3 additions & 0 deletions src/styles/reading-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@

--reading-font-monospace: "Roboto Mono VF", "SFMono-Regular", Consolas,
"Liberation Mono", Menlo, Courier, monospace;

/* Text selection colour */
--text-selection-background-color: #3297FD /* default value chosen from https://stackoverflow.com/questions/16094837/what-is-the-browser-default-background-color-when-selecting-text */
}

.reading-content {
Expand Down

0 comments on commit 909e629

Please sign in to comment.