mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: inconsistentcies
This commit is contained in:
1 parent
2ad1e71176
commit
1dc9a341d1
2 files changed
+4
-5
No files matched your search
@@ -17,6 +17,7 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
<style>
|
<style>
|
||||||
.tool-banner {
|
.tool-banner {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
margin-bottom: var(--space-4);
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -4,17 +4,15 @@ import BaseStyles from "../components/BaseStyles.astro";
|
|||||||
import ColorAlias from "../components/ColorAlias.astro";
|
import ColorAlias from "../components/ColorAlias.astro";
|
||||||
import ColorScale from "../components/ColorScale.astro";
|
import ColorScale from "../components/ColorScale.astro";
|
||||||
import Navbar from "../components/Navbar.astro";
|
import Navbar from "../components/Navbar.astro";
|
||||||
import type { Tool } from "../core/tools/tools";
|
|
||||||
import type { Color } from "../core/ui/color";
|
import type { Color } from "../core/ui/color";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
locale: string;
|
locale: string;
|
||||||
accent: Color;
|
accent: Color;
|
||||||
noNavbar?: boolean;
|
noNavbar?: boolean;
|
||||||
selectedTool?: Tool;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const { accent, noNavbar, locale, selectedTool } = Astro.props;
|
const { accent, noNavbar, locale } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang={locale}>
|
<html lang={locale}>
|
||||||
@@ -43,7 +41,7 @@ const { accent, noNavbar, locale, selectedTool } = Astro.props;
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
|
|
||||||
background-color: var(--gray-3);
|
background-color: var(--gray-1);
|
||||||
color: var(--gray-12);
|
color: var(--gray-12);
|
||||||
font-family: var(--font-family-regular);
|
font-family: var(--font-family-regular);
|
||||||
|
|
||||||
@@ -61,7 +59,7 @@ const { accent, noNavbar, locale, selectedTool } = Astro.props;
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="dark">
|
<body class="dark">
|
||||||
{!noNavbar && <Navbar {selectedTool} {locale} />}
|
{!noNavbar && <Navbar {locale} />}
|
||||||
|
|
||||||
<slot name="pre-app" />
|
<slot name="pre-app" />
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user