added scss handler

This commit is contained in:
Nate Kelley 2025-08-12 16:38:22 -06:00
parent 738d5faf01
commit 35fc1c5e9c
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
5 changed files with 11 additions and 18 deletions

View File

@ -8,18 +8,20 @@ export const TanstackDevtools: React.FC = () => {
return (
<TanstackDevtoolsBase
config={{
position: 'bottom-left'
position: 'bottom-left',
hideUntilHover: true,
defaultOpen: false,
}}
plugins={[
{
name: 'Tanstack Query',
render: <ReactQueryDevtoolsPanel />
render: <ReactQueryDevtoolsPanel />,
},
{
name: 'Tanstack Router',
render: <TanStackRouterDevtoolsPanel />
render: <TanStackRouterDevtoolsPanel />,
},
StoreDevtools
StoreDevtools,
]}
/>
);

View File

@ -3,7 +3,7 @@ import { AppProviders } from '@/context/AppProviders';
import { getSupabaseUser } from '../integrations/supabase/getSupabaseUserContext';
import { TanstackDevtools } from '../integrations/tanstack-dev-tools/tanstack-devtools';
import type { AppRouterContext } from '../router';
import appCss from '../styles/styles.scss?url';
import appCss from '../styles/styles.css?url';
export const Route = createRootRouteWithContext<AppRouterContext>()({
head: () => ({
@ -19,12 +19,7 @@ export const Route = createRootRouteWithContext<AppRouterContext>()({
title: 'Buster',
},
],
links: [
{
rel: 'stylesheet',
href: appCss,
},
],
links: [{ rel: 'stylesheet', href: appCss }],
}),
notFoundComponent: NotFound,
shellComponent: RootDocument,

View File

@ -46,5 +46,6 @@
/* Firefox scrollbar styling */
scrollbar-width: thin;
scrollbar-color: color-mix(in srgb, var(--color-border) 50%, transparent) transparent;
scrollbar-color: color-mix(in srgb, var(--color-border) 50%, transparent)
transparent;
}

View File

@ -1,6 +1,6 @@
@import "./tailwind.css";
@import "./fonts.css";
@use "./buster";
@import "./buster.scss";
input {
font-family:

View File

@ -26,11 +26,6 @@ const config = defineConfig({
},
}),
],
css: {
preprocessorOptions: {
scss: {},
},
},
});
export default config;