File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ export const ImagePickerPopover = observer(function ImagePickerPopover(props: Pr
212212 < Tab . Panel className = "mt-4 h-full w-full space-y-4" >
213213 { ( unsplashImages || ! unsplashError ) && (
214214 < >
215- < div className = "flex gap-x-2" >
215+ < div className = "flex items-center gap-x-2" >
216216 < Controller
217217 control = { control }
218218 name = "search"
@@ -235,7 +235,7 @@ export const ImagePickerPopover = observer(function ImagePickerPopover(props: Pr
235235 />
236236 ) }
237237 />
238- < Button variant = "primary" onClick = { ( ) => setSearchParams ( formData . search ) } >
238+ < Button variant = "primary" size = "xl" onClick = { ( ) => setSearchParams ( formData . search ) } >
239239 Search
240240 </ Button >
241241 </ div >
Original file line number Diff line number Diff line change 1- import type { FC } from "react" ;
21import { observer } from "mobx-react" ;
32import { Tab } from "@headlessui/react" ;
43// plane imports
@@ -122,7 +121,7 @@ export const CycleProgressStats = observer(function CycleProgressStats(props: TC
122121 className = { cn (
123122 `flex w-full items-center justify-between gap-2 rounded-md p-1` ,
124123 roundedTab ? `rounded-3xl` : `rounded-md` ,
125- noBackground ? `` : `bg-surface -2` ,
124+ noBackground ? `` : `bg-layer -2` ,
126125 size === "xs" ? `text-11` : `text-13`
127126 ) }
128127 >
@@ -131,7 +130,9 @@ export const CycleProgressStats = observer(function CycleProgressStats(props: TC
131130 className = { cn (
132131 `p-1 w-full text-primary outline-none focus:outline-none cursor-pointer transition-all` ,
133132 roundedTab ? `rounded-3xl border border-subtle` : `rounded-sm` ,
134- stat . key === currentTab ? "bg-surface-1 text-tertiary" : "text-placeholder hover:text-tertiary"
133+ stat . key === currentTab
134+ ? "bg-layer-transparent-active text-secondary"
135+ : "text-placeholder hover:text-secondary"
135136 ) }
136137 key = { stat . key }
137138 onClick = { ( ) => setCycleTab ( stat . key ) }
Original file line number Diff line number Diff line change 1- import type { FC } from "react" ;
21import { observer } from "mobx-react" ;
32import { Tab } from "@headlessui/react" ;
43import { useTranslation } from "@plane/i18n" ;
@@ -120,7 +119,7 @@ export const ModuleProgressStats = observer(function ModuleProgressStats(props:
120119 className = { cn (
121120 `flex w-full items-center justify-between gap-2 rounded-md p-1` ,
122121 roundedTab ? `rounded-3xl` : `rounded-md` ,
123- noBackground ? `` : `bg-surface -2` ,
122+ noBackground ? `` : `bg-layer -2` ,
124123 size === "xs" ? `text-11` : `text-13`
125124 ) }
126125 >
@@ -129,7 +128,9 @@ export const ModuleProgressStats = observer(function ModuleProgressStats(props:
129128 className = { cn (
130129 `p-1 w-full text-primary outline-none focus:outline-none cursor-pointer transition-all` ,
131130 roundedTab ? `rounded-3xl border border-subtle` : `rounded-sm` ,
132- stat . key === currentTab ? "bg-surface-1 text-tertiary" : "text-placeholder hover:text-tertiary"
131+ stat . key === currentTab
132+ ? "bg-layer-transparent-active text-secondary"
133+ : "text-placeholder hover:text-secondary"
133134 ) }
134135 key = { stat . key }
135136 onClick = { ( ) => setModuleTab ( stat . key ) }
You can’t perform that action at this time.
0 commit comments