add options for layout, theme and color settings

This commit is contained in:
Ben Phelps 2022-09-15 19:58:41 +03:00
parent 05427253b9
commit 93d5dd88ba
5 changed files with 97 additions and 60 deletions

View file

@ -61,6 +61,7 @@ export default function ColorToggle() {
{colors.map((color) => (
<button type="button" onClick={() => setColor(color)} key={color}>
<div
title={color}
className={classNames(
active === color ? "border-2" : "border-0",
`rounded-md w-5 h-5 border-black/50 dark:border-white/50 theme-${color} bg-theme-400`