feat: remove emphasis color and auto generate theme color

This commit is contained in:
DIYgod
2023-02-27 17:19:36 +00:00
parent e73a21ec4c
commit a629fdebae
9 changed files with 14 additions and 27 deletions
@@ -84,11 +84,6 @@ export default function SettingsCSSPage() {
--theme-color: #4f46e5;
</span>
</p>
<p className="pl-2">
<span className="bg-zinc-200 rounded-lg px-2">
--theme-color-emphasis: #4338ca;
</span>
</p>
<p className="pl-2">
<span className="bg-zinc-200 rounded-lg px-2">
--header-height: auto;
+3 -7
View File
@@ -348,13 +348,9 @@ export default function Home() {
{showcaseSites.data?.map((site: any) => (
<li className="inline-flex align-middle" key={site.handle}>
<UniLink
href={
site.custom_domain
? `https://${site.custom_domain}`
: getSiteLink({
subdomain: site.handle,
})
}
href={getSiteLink({
subdomain: site.handle,
})}
className="inline-flex align-middle w-full"
>
<CharacterFloatCard siteId={site.handle}>