diff --git a/src/components/EasyGuideLink.tsx b/src/components/EasyGuideLink.tsx index e91047ab8..368ff4c0d 100644 --- a/src/components/EasyGuideLink.tsx +++ b/src/components/EasyGuideLink.tsx @@ -2,7 +2,7 @@ export default function EasyGuideLink() { return (
diff --git a/src/components/gitbook/Details.tsx b/src/components/gitbook/Details.tsx index 45c373ce7..e541c8235 100644 --- a/src/components/gitbook/Details.tsx +++ b/src/components/gitbook/Details.tsx @@ -31,7 +31,7 @@ export default function Details( open={open()} onOpenChange={setOpen} class={clsx( - "group/details my-4 border rounded [&[data-expanded]>button>.chevron]:(transform-origin-c transform-rotate-90) hover:border-orange", + "group/details my-4 border rounded-md [&[data-expanded]>button>.chevron]:(transform-origin-c transform-rotate-90) hover:border-orange", locals.class, )} > diff --git a/src/components/gitbook/Tabs.tsx b/src/components/gitbook/Tabs.tsx index 5d757d539..66da79bc9 100644 --- a/src/components/gitbook/Tabs.tsx +++ b/src/components/gitbook/Tabs.tsx @@ -42,7 +42,7 @@ export default function Tabs( return ( @@ -65,7 +65,7 @@ export default function Tabs( {(title) => ( {children.get(title)?.()} diff --git a/src/layouts/gnb/VersionSwitch.tsx b/src/layouts/gnb/VersionSwitch.tsx index ba3fb948b..03a8865a3 100644 --- a/src/layouts/gnb/VersionSwitch.tsx +++ b/src/layouts/gnb/VersionSwitch.tsx @@ -52,7 +52,7 @@ export function VersionSwitch(props: VersionSwitchProps) { else navigate("/"); }} class={clsx( - "bg-slate-1 border-slate-2 text-[13px] leading-[15.6px] text-slate-5 p-1 diff --git a/src/layouts/sidebar/search.tsx b/src/layouts/sidebar/search.tsx index 0a6a6aec9..72d3ae3e2 100644 --- a/src/layouts/sidebar/search.tsx +++ b/src/layouts/sidebar/search.tsx @@ -197,7 +197,7 @@ export function SearchScreen(props: SearchScreenProps) { > -
  • -
    +
  • +
    {item.title} - + {item.description}
    -
    +
    ( + {text} } @@ -270,7 +270,7 @@ export function SearchScreen(props: SearchScreenProps) { - + {text} diff --git a/src/styles/article.css b/src/styles/article.css index 1ab20821e..b549ffe6d 100644 --- a/src/styles/article.css +++ b/src/styles/article.css @@ -15,11 +15,14 @@ article code { article mark { background: none; } +article strong { + font-weight: 600; +} article pre.shiki { width: 100%; margin: 1em 0; padding: 1em 0; - border-radius: 0.75em; + border-radius: 0.375rem; background-color: white; overflow-x: auto; border: 1px solid rgba(209, 213, 219); /* border-slate-2 */