forked from cerc-io/snowballtools-base
format prettier
This commit is contained in:
parent
73ff7896f8
commit
4906740876
@ -7,7 +7,8 @@
|
|||||||
"dev": "vite --port 3000",
|
"dev": "vite --port 3000",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"lint": "tsc --noEmit",
|
"lint": "tsc --noEmit",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview",
|
||||||
|
"format": "prettier --write ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bugsnag/browser-performance": "^2.4.1",
|
"@bugsnag/browser-performance": "^2.4.1",
|
||||||
|
File diff suppressed because one or more lines are too long
@ -9,10 +9,16 @@ export const GearIcon = (props: CustomIconProps) => {
|
|||||||
fill="none"
|
fill="none"
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
<g>
|
<g>
|
||||||
<path d="M7.62516 4.45898L5.05225 3.86523L3.86475 5.05273L4.4585 7.62565L2.0835 9.20898V10.7923L4.4585 12.3757L3.86475 14.9486L5.05225 16.1361L7.62516 15.5423L9.2085 17.9173H10.7918L12.3752 15.5423L14.9481 16.1361L16.1356 14.9486L15.5418 12.3757L17.9168 10.7923V9.20898L15.5418 7.62565L16.1356 5.05273L14.9481 3.86523L12.3752 4.45898L10.7918 2.08398H9.2085L7.62516 4.45898Z" stroke="currentColor"/>
|
<path
|
||||||
<path d="M12.5002 10.0007C12.5002 11.3814 11.3809 12.5007 10.0002 12.5007C8.61945 12.5007 7.50016 11.3814 7.50016 10.0007C7.50016 8.61994 8.61945 7.50065 10.0002 7.50065C11.3809 7.50065 12.5002 8.61994 12.5002 10.0007Z" fill="currentColor"/>
|
d="M7.62516 4.45898L5.05225 3.86523L3.86475 5.05273L4.4585 7.62565L2.0835 9.20898V10.7923L4.4585 12.3757L3.86475 14.9486L5.05225 16.1361L7.62516 15.5423L9.2085 17.9173H10.7918L12.3752 15.5423L14.9481 16.1361L16.1356 14.9486L15.5418 12.3757L17.9168 10.7923V9.20898L15.5418 7.62565L16.1356 5.05273L14.9481 3.86523L12.3752 4.45898L10.7918 2.08398H9.2085L7.62516 4.45898Z"
|
||||||
</g>
|
stroke="currentColor"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M12.5002 10.0007C12.5002 11.3814 11.3809 12.5007 10.0002 12.5007C8.61945 12.5007 7.50016 11.3814 7.50016 10.0007C7.50016 8.61994 8.61945 7.50065 10.0002 7.50065C11.3809 7.50065 12.5002 8.61994 12.5002 10.0007Z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
|
</g>
|
||||||
</CustomIcon>
|
</CustomIcon>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -3,15 +3,13 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Thin.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Thin.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -42,8 +40,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Light.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Light.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -58,24 +55,21 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Regular.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Regular.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Italic.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Italic.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Medium.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Medium.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -90,8 +84,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-SemiBold.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-SemiBold.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -106,8 +99,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Bold.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Bold.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -122,8 +114,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-ExtraBold.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-ExtraBold.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
@ -138,8 +129,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('/fonts/InterDisplay/InterDisplay-Black.woff2')
|
src: url('/fonts/InterDisplay/InterDisplay-Black.woff2') format('woff2');
|
||||||
format('woff2');
|
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter Display';
|
font-family: 'Inter Display';
|
||||||
|
@ -37,7 +37,7 @@ root.render(
|
|||||||
</GQLClientProvider>
|
</GQLClientProvider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</React.StrictMode>
|
</React.StrictMode>
|
||||||
</LogErrorBoundary>
|
</LogErrorBoundary>,
|
||||||
);
|
);
|
||||||
|
|
||||||
// If you want to start measuring performance in your app, pass a function
|
// If you want to start measuring performance in your app, pass a function
|
||||||
|
@ -59,9 +59,9 @@ const ProjectSearch = () => {
|
|||||||
<NotificationBellIcon />
|
<NotificationBellIcon />
|
||||||
</Button>
|
</Button>
|
||||||
{user?.name && (
|
{user?.name && (
|
||||||
<p className="text-sm tracking-[-0.006em] text-elements-high-em">
|
<p className="text-sm tracking-[-0.006em] text-elements-high-em">
|
||||||
{formatAddress(user.name)}
|
{formatAddress(user.name)}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -196,11 +196,8 @@ const CreateRepo = () => {
|
|||||||
<Controller
|
<Controller
|
||||||
name="isPrivate"
|
name="isPrivate"
|
||||||
control={control}
|
control={control}
|
||||||
render={({ }) => (
|
render={({}) => (
|
||||||
<Checkbox
|
<Checkbox label="Make this repo private" disabled={true} />
|
||||||
label="Make this repo private"
|
|
||||||
disabled={true}
|
|
||||||
/>
|
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import withMT from '@snowballtools/material-tailwind-react-fork/utils/withMT';
|
import withMT from '@snowballtools/material-tailwind-react-fork/utils/withMT';
|
||||||
import colors from 'tailwindcss/colors'
|
import colors from 'tailwindcss/colors';
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default withMT({
|
export default withMT({
|
||||||
@ -14,7 +14,7 @@ export default withMT({
|
|||||||
xxs: '400px',
|
xxs: '400px',
|
||||||
xs: '480px',
|
xs: '480px',
|
||||||
},
|
},
|
||||||
zIndex: {
|
zIndex: {
|
||||||
tooltip: '52',
|
tooltip: '52',
|
||||||
},
|
},
|
||||||
letterSpacing: {
|
letterSpacing: {
|
||||||
@ -181,8 +181,8 @@ export default withMT({
|
|||||||
toast: '9999',
|
toast: '9999',
|
||||||
},
|
},
|
||||||
animation: {
|
animation: {
|
||||||
'spin': 'spin 3s linear infinite',
|
spin: 'spin 3s linear infinite',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user