fix: update settings

This commit is contained in:
2025-06-23 15:32:25 +03:00
parent 8086223f23
commit 21111e93f9
9 changed files with 190 additions and 31 deletions

View File

@@ -1,42 +0,0 @@
:root {
--background: #ffffff;
--foreground: #171717;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}

View File

@@ -1,15 +1,13 @@
import type { Metadata } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './globals.css';
import { ReactNode } from 'react';
import { Roboto } from 'next/font/google';
import '@core/styles/globals.scss';
import '@core/styles/reset.scss';
const geistSans = Geist({
variable: '--font-geist-sans',
subsets: ['latin'],
});
const geistMono = Geist_Mono({
variable: '--font-geist-mono',
subsets: ['latin'],
const roboto = Roboto({
subsets: ['cyrillic'],
weight: ['300', '400', '500', '600', '700'],
variable: '--font-roboto',
});
export const metadata: Metadata = {
@@ -20,14 +18,10 @@ export const metadata: Metadata = {
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
}: Readonly<{ children: ReactNode }>) {
return (
<html lang='en'>
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
<body className={`${roboto.variable}`}>{children}</body>
</html>
);
}