format prettier (#18)

This commit is contained in:
Vivian Phung 2024-05-09 16:19:32 -04:00 committed by GitHub
commit 4b54f2fc2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 1870 additions and 39 deletions

View File

@ -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

View File

@ -10,8 +10,14 @@ export const GearIcon = (props: CustomIconProps) => {
{...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"
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> </g>
</CustomIcon> </CustomIcon>
); );

View File

@ -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';

View File

@ -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

View File

@ -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>

View File

@ -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({
@ -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: [],