hardcoded it because its werid
This commit is contained in:
@@ -9,10 +9,6 @@ const { description } = Astro.props;
|
|||||||
import "../styles/main.scss";
|
import "../styles/main.scss";
|
||||||
import "../styles/callout.scss";
|
import "../styles/callout.scss";
|
||||||
|
|
||||||
import styles from "../styles/_var.scss";
|
|
||||||
const accentColorMatch = styles.match(/accentColor: ([^;]+)/);
|
|
||||||
const accentColor = accentColorMatch ? accentColorMatch[1] : "";
|
|
||||||
|
|
||||||
import Navbar from "../components/Navbar.astro";
|
import Navbar from "../components/Navbar.astro";
|
||||||
import Footer from "../components/Footer.astro";
|
import Footer from "../components/Footer.astro";
|
||||||
|
|
||||||
@@ -24,7 +20,7 @@ import { ViewTransitions } from "astro:transitions";
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="darkreader-lock" />
|
<meta name="darkreader-lock" />
|
||||||
<meta name="theme-color" content={accentColor} />
|
<meta name="theme-color" content="#7eca9c" />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
@@ -1,9 +1,28 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "Tanker-Regular";
|
||||||
|
src: url("/fonts/Tanker-Regular.ttf") format("truetype");
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Satoshi-Regular";
|
||||||
|
src: url("/fonts/Satoshi-Regular.ttf") format("truetype");
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Satoshi-Bold";
|
||||||
|
src: url("/fonts/Satoshi-Bold.ttf") format("truetype");
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
$primary: #1c1427;
|
$primary: #1c1427;
|
||||||
$accent: #7eca9c;
|
$accent: #7eca9c;
|
||||||
$link: #ccffbd;
|
$link: #ccffbd;
|
||||||
$highlight-primary: #40394a;
|
$highlight-primary: #40394a;
|
||||||
|
|
||||||
:export {
|
|
||||||
primaryColor: $primary;
|
|
||||||
accentColor: $accent;
|
|
||||||
}
|
|
||||||
|
@@ -5,30 +5,6 @@
|
|||||||
--accent-color: $accent; // conversion for theme color meta tag
|
--accent-color: $accent; // conversion for theme color meta tag
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Tanker-Regular";
|
|
||||||
src: url("/fonts/Tanker-Regular.ttf") format("truetype");
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: swap;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Satoshi-Regular";
|
|
||||||
src: url("/fonts/Satoshi-Regular.ttf") format("truetype");
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: swap;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Satoshi-Bold";
|
|
||||||
src: url("/fonts/Satoshi-Bold.ttf") format("truetype");
|
|
||||||
font-weight: 700;
|
|
||||||
font-display: swap;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background-color: $accent;
|
background-color: $accent;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user