File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ import tailwindConfig from '@/tailwind.config';
22
33const colors = tailwindConfig . theme . colors ;
44export const themeConfig = {
5+ typography : {
6+ '--font-primary' : 'var(--font-open-sans)' ,
7+ } ,
58 colors : {
69 light : {
710 '--text-color-primary' : colors . neutral [ 900 ] ,
Original file line number Diff line number Diff line change 1+ import classNames from 'classnames' ;
12import type { FC , PropsWithChildren } from 'react' ;
23import { isValidElement } from 'react' ;
34
@@ -27,7 +28,7 @@ const Skeleton: FC<PropsWithChildren<SkeletonProps>> = ({
2728 < span
2829 tabIndex = { - 1 }
2930 aria-hidden = "true"
30- className = { ` ${ styles . skeleton } ${ className } ` }
31+ className = { classNames ( styles . skeleton , className ) }
3132 data-inline-skeleton = { isValidElement ( children ) ? undefined : true }
3233 >
3334 { children }
Original file line number Diff line number Diff line change 8686 dark:border-neutral-900;
8787}
8888
89- .searchButtonSkeleton {
90- @apply flex-grow;
89+ span .searchButtonSkeleton {
90+ @apply my-px
91+ mr-2
92+ flex-grow
93+ rounded-xl;
94+
95+ & : empty {
96+ @apply h-10;
97+ }
9198}
9299
93100.ghIconWrapper {
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ import style from './index.module.css';
2020
2121const SearchButton = dynamic ( ( ) => import ( '@/components/Common/Search' ) , {
2222 ssr : false ,
23- loading : ( ) => < Skeleton className = { style . searchButtonSkeleton } loading /> ,
23+ loading : ( ) => (
24+ < Skeleton className = { style . searchButtonSkeleton } loading = { true } />
25+ ) ,
2426} ) ;
2527
2628const navInteractionIcons = {
You can’t perform that action at this time.
0 commit comments