mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-10 22:58:06 -05:00
Removed theme provider component from next
This commit is contained in:
@@ -42,14 +42,12 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
fontDisplay.variable
|
||||
)}
|
||||
>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
<div className="relative flex min-h-screen flex-col">
|
||||
<SiteHeader />
|
||||
<div className="flex-1">{children}</div>
|
||||
<SiteFooter />
|
||||
</div>
|
||||
<TailwindIndicator />
|
||||
</ThemeProvider>
|
||||
<div className="relative flex min-h-screen flex-col">
|
||||
<SiteHeader />
|
||||
<div className="flex-1">{children}</div>
|
||||
<SiteFooter />
|
||||
</div>
|
||||
<TailwindIndicator />
|
||||
</body>
|
||||
</html>
|
||||
</>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* @layer base {
|
||||
@layer base {
|
||||
:root {
|
||||
--background: 0 0% 100%;
|
||||
--foreground: 222.2 47.4% 11.2%;
|
||||
@@ -68,15 +68,15 @@
|
||||
|
||||
--radius: 0.5rem;
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border;
|
||||
}
|
||||
body {
|
||||
/* @apply bg-background text-foreground; */
|
||||
/* font-feature-settings: "rlig" 1, "calt" 1; */
|
||||
@apply bg-background text-foreground;
|
||||
font-feature-settings: "rlig" 1, "calt" 1;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
|
||||
@@ -23,36 +23,36 @@ module.exports = {
|
||||
border: "hsl(var(--border))",
|
||||
input: "hsl(var(--input))",
|
||||
ring: "hsl(var(--ring))",
|
||||
// background: "hsl(var(--background))",
|
||||
// foreground: "hsl(var(--foreground))",
|
||||
// primary: {
|
||||
// DEFAULT: "hsl(var(--primary))",
|
||||
// foreground: "hsl(var(--primary-foreground))",
|
||||
// },
|
||||
// secondary: {
|
||||
// DEFAULT: "hsl(var(--secondary))",
|
||||
// foreground: "hsl(var(--secondary-foreground))",
|
||||
// },
|
||||
// destructive: {
|
||||
// DEFAULT: "hsl(var(--destructive))",
|
||||
// foreground: "hsl(var(--destructive-foreground))",
|
||||
// },
|
||||
// muted: {
|
||||
// DEFAULT: "hsl(var(--muted))",
|
||||
// foreground: "hsl(var(--muted-foreground))",
|
||||
// },
|
||||
// accent: {
|
||||
// DEFAULT: "hsl(var(--accent))",
|
||||
// foreground: "hsl(var(--accent-foreground))",
|
||||
// },
|
||||
// popover: {
|
||||
// DEFAULT: "hsl(var(--popover))",
|
||||
// foreground: "hsl(var(--popover-foreground))",
|
||||
// },
|
||||
// card: {
|
||||
// DEFAULT: "hsl(var(--card))",
|
||||
// foreground: "hsl(var(--card-foreground))",
|
||||
// },
|
||||
background: "hsl(var(--background))",
|
||||
foreground: "hsl(var(--foreground))",
|
||||
primary: {
|
||||
DEFAULT: "hsl(var(--primary))",
|
||||
foreground: "hsl(var(--primary-foreground))",
|
||||
},
|
||||
secondary: {
|
||||
DEFAULT: "hsl(var(--secondary))",
|
||||
foreground: "hsl(var(--secondary-foreground))",
|
||||
},
|
||||
destructive: {
|
||||
DEFAULT: "hsl(var(--destructive))",
|
||||
foreground: "hsl(var(--destructive-foreground))",
|
||||
},
|
||||
muted: {
|
||||
DEFAULT: "hsl(var(--muted))",
|
||||
foreground: "hsl(var(--muted-foreground))",
|
||||
},
|
||||
accent: {
|
||||
DEFAULT: "hsl(var(--accent))",
|
||||
foreground: "hsl(var(--accent-foreground))",
|
||||
},
|
||||
popover: {
|
||||
DEFAULT: "hsl(var(--popover))",
|
||||
foreground: "hsl(var(--popover-foreground))",
|
||||
},
|
||||
card: {
|
||||
DEFAULT: "hsl(var(--card))",
|
||||
foreground: "hsl(var(--card-foreground))",
|
||||
},
|
||||
},
|
||||
borderRadius: {
|
||||
lg: `var(--radius)`,
|
||||
|
||||
Reference in New Issue
Block a user