Skip to content

Commit

Permalink
Update biome format and biome check commands. Fix styling in SectionH…
Browse files Browse the repository at this point in the history
…eading component and Settings components. Fix formatting in sidebar index.css
  • Loading branch information
Royal-lobster committed Oct 25, 2024
1 parent cfaabcc commit f9e8022
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"preview": "vite preview",
"release": "yarn build && publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"release:cli": "yarn build && dotenv -e .env -- publish-extension --chrome-zip \"artifacts/chrome.zip\" --chrome-extension-id \"$CHROME_EXTENSION_ID\" --chrome-client-id \"$CHROME_CLIENT_ID\" --chrome-client-secret \"$CHROME_CLIENT_SECRET\" --chrome-refresh-token \"$CHROME_REFRESH_TOKEN\"",
"format": "rome format . --write",
"lint": "rome check .",
"format": "biome format . --write",
"lint": "biome check .",
"flush": "rm -rf artifacts/ dist/",
"lint:fix": "yarn lint --apply"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Settings/Elements/SectionHeading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

const SectionHeading = ({ title }: { title: string }) => {
return (
<h2 className='cdx-text-3xl dark:cdx-border-neutral-700 cdx-border-b cdx-mb-5 cdx-text-neutral-700 dark:cdx-text-neutral-200 cdx-py-4'>
<h2 className="cdx-text-3xl dark:cdx-border-neutral-700 cdx-border-b cdx-mb-5 cdx-text-neutral-700 dark:cdx-text-neutral-200 cdx-py-4">
{title}
</h2>
)
Expand Down
4 changes: 2 additions & 2 deletions src/components/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import PromptSettings from './Sections/PromptSettings'
const Settings = () => {
useThemeSync()
return (
<div className='cdx-container cdx-mx-auto cdx-p-5 cdx-pt-[10vh]'>
<div className="cdx-container cdx-mx-auto cdx-p-5 cdx-pt-[10vh]">
<Header />
<div className='cdx-flex cdx-flex-col xl:cdx-flex-row cdx-justify-between cdx-gap-10 cdx-flex-wrap cdx-mt-10'>
<div className="cdx-flex cdx-flex-col xl:cdx-flex-row cdx-justify-between cdx-gap-10 cdx-flex-wrap cdx-mt-10">
<div className="cdx-flex cdx-flex-1 cdx-flex-col cdx-gap-4 cdx-self-end cdx-sticky cdx-bottom-0">
<GeneralSettings />
<QuickMenuSettings />
Expand Down
10 changes: 5 additions & 5 deletions src/pages/sidebar/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
@tailwind components;
@tailwind utilities;


.cdx-animate-spin{
animation: cdx-spin 1s linear infinite;
.cdx-animate-spin {
animation: cdx-spin 1s linear infinite;
}
@keyframes cdx-spin {
from {
Expand All @@ -20,11 +19,12 @@
}

@keyframes cdx-pulse {
0%, 100% {
0%,
100% {
opacity: 1;
}
50% {
opacity: .5;
opacity: 0.5;
}
}

Expand Down

0 comments on commit f9e8022

Please sign in to comment.