feat: add custom.css support

closes #433
This commit is contained in:
Mathias Schopmans
2024-03-14 14:21:32 +01:00
parent f94c94ffd8
commit 1a7ea3527f
8 changed files with 74 additions and 20 deletions

View File

@@ -5,8 +5,9 @@ import Head from "next/head";
import { Layout, type LayoutClass } from "@/components/Layout/Layout";
import { formatTitle } from "@/lib/format";
import { assetUrl } from "@/lib/utils";
import "@/styles/globals.css";
import "@/styles/hljs.css";
import "@/styles/_globals.css";
import "@/styles/_hljs.css";
import "@/styles/custom.css";
export type CustomPage<P = {}, IP = P> = NextPage<P, IP> & {
layoutClass?: LayoutClass;

2
src/styles/custom.css Normal file
View File

@@ -0,0 +1,2 @@
/* Use this file to optionally override global css styles and use with caution. */
/* See README.md for hints and examples: https://github.com/AOEpeople/aoe_technology_radar/ */