@@ -240,21 +240,21 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
240240 </ Alert >
241241 ) }
242242 { showSpinner && (
243- < div className = "flex flex-col mt-4 h-52 p-4 rounded-xl bg-gray-50 dark:bg-gray-800 " >
244- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Balance</ div >
243+ < div className = "flex flex-col mt-4 h-52 p-4 rounded-xl bg-pk-surface-secondary " >
244+ < div className = "uppercase text-sm text-pk-content-tertiary " > Balance</ div >
245245 < Spinner className = "m-2 animate-spin" />
246246 </ div >
247247 ) }
248248 { showBalance && (
249- < div className = "flex flex-col mt-4 p-4 rounded-xl bg-gray-50 dark:bg-gray-800 " >
250- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Balance</ div >
249+ < div className = "flex flex-col mt-4 p-4 rounded-xl bg-pk-surface-secondary " >
250+ < div className = "uppercase text-sm text-pk-content-tertiary " > Balance</ div >
251251 < div className = "mt-1 text-xl font-semibold flex-grow" >
252252 < span className = "text-gray-900 dark:text-gray-100" >
253253 { balance . toLocaleString ( undefined , { maximumFractionDigits : 2 } ) }
254254 </ span >
255- < span className = "text-gray-400 dark:text-gray-500 " > Credits</ span >
255+ < span className = "text-pk-content-tertiary " > Credits</ span >
256256 </ div >
257- < div className = "mt-4 text-sm flex text-gray-400 dark:text-gray-500 " >
257+ < div className = "mt-4 text-sm flex text-pk-content-tertiary " >
258258 < span className = "flex-grow" >
259259 { typeof currentUsage === "number" &&
260260 typeof usageLimit === "number" &&
@@ -273,10 +273,10 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
273273 < div className = "mt-2 flex" >
274274 < ProgressBar value = { percentage } />
275275 </ div >
276- < div className = "bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 -m-4 p-4 mt-4 rounded-b-xl flex" >
276+ < div className = "bg-pk-surface-secondary border-t border-gray-200 dark:border-gray-700 -m-4 p-4 mt-4 rounded-b-xl flex" >
277277 < div className = "flex-grow" >
278- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Current Period</ div >
279- < div className = "text-sm font-medium text-gray-500 dark:text-gray-400 " >
278+ < div className = "uppercase text-sm text-pk-content-tertiary " > Current Period</ div >
279+ < div className = "text-sm font-medium text-pk-content-primary " >
280280 < span title = { billingCycleFrom . toDate ( ) . toUTCString ( ) . replace ( "GMT" , "UTC" ) } >
281281 { billingCycleFrom . format ( "MMM D, YYYY" ) }
282282 </ span > { " " }
@@ -302,29 +302,27 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
302302 ) }
303303 { showUpgradeTeam && (
304304 < >
305- < div className = "flex flex-col mt-4 p-4 rounded-t-xl bg-gray-50 dark:bg-gray-800 " >
306- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Current Plan</ div >
307- < div className = "mt-1 text-xl font-semibold flex-grow text-gray-600 dark:text-gray-400 " >
305+ < div className = "flex flex-col mt-4 p-4 rounded-t-xl bg-pk-surface-secondary " >
306+ < div className = "uppercase text-sm text-pk-content-tertiary " > Current Plan</ div >
307+ < div className = "mt-1 text-xl font-semibold flex-grow text-pk-content-secondary " >
308308 { freePlanName }
309309 </ div >
310- < div className = "mt-4 flex space-x-1 text-gray-400 dark:text-gray-500 " >
310+ < div className = "mt-4 flex space-x-1 text-pk-content-tertiary " >
311311 < div className = "m-0.5 w-5 h-5 text-orange-500" >
312312 < Check />
313313 </ div >
314314 < div className = "flex flex-col w-96" >
315- < span className = "font-bold text-gray-500 dark:text-gray-400" >
316- { usageLimit } credits
317- </ span >
315+ < span className = "font-bold text-pk-content-secondary" > { usageLimit } credits</ span >
318316 < span > { usageLimit / 10 } hours of Standard workspace usage.</ span >
319317 </ div >
320318 </ div >
321319 </ div >
322- < div className = "flex flex-col p-4 rounded-b-xl bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700" >
323- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Upgrade Plan</ div >
324- < div className = "mt-1 text-xl font-semibold flex-grow text-gray-800 dark:text-gray-100 " >
320+ < div className = "flex flex-col p-4 rounded-b-xl bg-pk-surface-secondary border-t border-gray-200 dark:border-gray-700" >
321+ < div className = "uppercase text-sm text-pk-content-tertiary " > Upgrade Plan</ div >
322+ < div className = "mt-1 text-xl font-semibold flex-grow text-pk-content-primary " >
325323 Pay-as-you-go
326324 </ div >
327- < div className = "mt-4 flex space-x-1 text-gray-400 dark:text-gray-500 " >
325+ < div className = "mt-4 flex space-x-1 text-pk-content-tertiary " >
328326 < div className = "flex flex-col" >
329327 < span > { priceInformation } </ span >
330328 </ div >
@@ -346,12 +344,12 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
346344 ) }
347345 { showManageBilling && (
348346 < div className = "max-w-xl flex space-x-4" >
349- < div className = "flex-grow flex flex-col mt-4 p-4 rounded-xl bg-gray-50 dark:bg-gray-800 " >
350- < div className = "uppercase text-sm text-gray-400 dark:text-gray-500 " > Current Plan</ div >
351- < div className = "mt-1 text-xl font-semibold flex-grow text-gray-800 dark:text-gray-100 " >
347+ < div className = "flex-grow flex flex-col mt-4 p-4 rounded-xl bg-pk-surface-secondary " >
348+ < div className = "uppercase text-sm text-pk-content-tertiary " > Current Plan</ div >
349+ < div className = "mt-1 text-xl font-semibold flex-grow text-pk-content-primary " >
352350 Pay-as-you-go
353351 </ div >
354- < div className = "mt-4 flex space-x-1 text-gray-400 dark:text-gray-500 " >
352+ < div className = "mt-4 flex space-x-1 text-pk-content-tertiary " >
355353 < Check className = "m-0.5 w-8 h-5 text-orange-500" />
356354 < div className = "flex flex-col" >
357355 < span > { priceInformation } </ span >
0 commit comments