From 585af3fd61622296b0451f170499d75b730e1d79 Mon Sep 17 00:00:00 2001 From: pheralb Date: Tue, 1 Oct 2024 10:49:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20typography=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/api/+page.svelte | 20 ++++++++++---------- tailwind.config.ts | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/src/routes/api/+page.svelte b/src/routes/api/+page.svelte index e83ebb1..b6d4ae5 100644 --- a/src/routes/api/+page.svelte +++ b/src/routes/api/+page.svelte @@ -11,12 +11,12 @@
-
-
+
+

API Reference

@@ -25,13 +25,13 @@ class="absolute inset-[-1000%] animate-[spin_4s_linear_infinite] bg-[conic-gradient(from_90deg_at_50%_50%,#f4f4f5_0%,#f4f4f5_50%,#737373_100%)] dark:bg-[conic-gradient(from_90deg_at_50%_50%,#121212_0%,#121212_50%,#737373_100%)]" />
- beta + v1
-

+

The API reference is a detailed documentation of all the endpoints available in the API.

@@ -40,9 +40,9 @@
diff --git a/tailwind.config.ts b/tailwind.config.ts index 78c8625..1be55cb 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -9,6 +9,27 @@ const config = { content: ['./src/**/*.{html,js,svelte,ts}'], theme: { extend: { + typography: { + DEFAULT: { + css: { + 'code::before': { + content: '""' + }, + 'code::after': { + content: '""' + }, + 'h1 a': { + 'text-decoration': 'none' + }, + 'h2 a': { + 'text-decoration': 'none' + }, + blockquote: { + 'font-style': 'normal' + } + } + } + }, colors: { dark: '#161616', light: '#f5f5f5'