feat: remove emphasis color and auto generate theme color
This commit is contained in:
@@ -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
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user