Skip to content

Commit f37d2f4

Browse files
feat: update colors
1 parent 76cee97 commit f37d2f4

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

documentation/src/components/browser-window/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function BrowserWindow({
4242
className={clsx(
4343
"flex-shrink-0",
4444
"p-2",
45-
"rounded-[0.25rem]",
45+
"rounded",
4646
"flex items-center justify-start",
4747
"gap-2",
4848
"relative",
@@ -60,7 +60,7 @@ export default function BrowserWindow({
6060
className={clsx(
6161
"flex-1",
6262
"overflow-hidden",
63-
"rounded-[0.25rem]",
63+
"rounded",
6464
"bg-zinc-50 dark:bg-zinc-950",
6565
"p-0.5",
6666
!hasBottom && "rounded-bl-lg rounded-br-lg",
@@ -70,7 +70,7 @@ export default function BrowserWindow({
7070
className={clsx(
7171
"flex-1",
7272
"overflow-hidden",
73-
"rounded-[0.25rem]",
73+
"rounded",
7474
"bg-zinc-50 dark:bg-zinc-950",
7575
!hasBottom && "rounded-bl-lg rounded-br-lg",
7676
)}

documentation/src/components/live-preview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function Editor({ hidden, code }: { hidden: boolean; code: string }) {
154154
"flex items-center gap-2",
155155
"bg-zinc-50 dark:bg-zinc-900",
156156
visible && "rounded-t-[0.25rem]",
157-
!visible && "rounded-[0.25rem]",
157+
!visible && "rounded",
158158
!visible && "delay-200",
159159
"transition-[border-radius] ease-in-out duration-200",
160160
"group",

documentation/src/refine-theme/common-tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function TabList({
9696
"px-2 py-1.5",
9797
"flex items-center justify-center",
9898
"min-w-[70px]",
99-
"rounded-[0.25rem]",
99+
"rounded",
100100
"cursor-pointer",
101101
"transition-all duration-200 ease-in-out",
102102
"select-none",

documentation/src/refine-theme/common-theme-toggle.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ export const CommonThemeToggle = ({ className }: Props) => {
2424
"focus:outline-none",
2525
"relative",
2626
"w-10 h-10",
27-
"rounded-full",
28-
"border",
29-
"border-solid",
30-
"border-gray-300 dark:border-gray-700",
31-
"text-gray-500",
27+
"rounded",
28+
"text-zinc-500 dark:text-zinc-300",
29+
"border border-solid border-zinc-200 dark:border-zinc-700",
3230
"transition-colors",
3331
"duration-150",
3432
"ease-in-out",

documentation/src/refine-theme/doc-search-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const DocSearchButton = React.forwardRef<
7676
!isLanding && "bg-zinc-200 dark:bg-zinc-900",
7777
!isLanding && "text-zinc-500 dark:text-zinc-400",
7878
"py-0.5 px-1.5",
79-
"rounded-[0.25rem]",
79+
"rounded",
8080
"text-xs",
8181
"font-normal",
8282
"tracking-[-0.006rem]",

documentation/src/refine-theme/doc-toc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const DocTOC = () => {
9494
"overflow-auto",
9595
"h-[calc(100vh-69px)]",
9696
"rounded-tl-xl",
97-
"bg-gray-50 dark:bg-[#27272A80]",
97+
"bg-zinc-50 dark:bg-[#27272A80]",
9898
"p-4",
9999
!hasTOC && "invisible",
100100
)}

0 commit comments

Comments
 (0)