From 27baada20bdd8c278cb85835099ea424a94a80f7 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Thu, 1 Feb 2024 23:43:23 -0800 Subject: [PATCH] update main package with a new function --- packages/astro-ghostcms-catppuccin/package.json | 2 +- .../src/routes/tag/[slug].astro | 1 - packages/astro-ghostcms-catppuccin/src/styles/global.css | 9 ++++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/astro-ghostcms-catppuccin/package.json b/packages/astro-ghostcms-catppuccin/package.json index bfe8b630..a54278bf 100644 --- a/packages/astro-ghostcms-catppuccin/package.json +++ b/packages/astro-ghostcms-catppuccin/package.json @@ -1,7 +1,7 @@ { "name": "@matthiesenxyz/astro-ghostcms-catppuccin", "description": "A dark theme made with Catppuccin and TailwindCSS for Astro-GhostCMS", - "version": "0.0.2", + "version": "0.0.3", "homepage": "https://astro-ghostcms.xyz/", "type": "module", "license": "MIT", diff --git a/packages/astro-ghostcms-catppuccin/src/routes/tag/[slug].astro b/packages/astro-ghostcms-catppuccin/src/routes/tag/[slug].astro index 4e1c9680..41538b83 100644 --- a/packages/astro-ghostcms-catppuccin/src/routes/tag/[slug].astro +++ b/packages/astro-ghostcms-catppuccin/src/routes/tag/[slug].astro @@ -4,7 +4,6 @@ import Container from "../../components/container.astro"; import Layout from "../../layouts/Layout.astro"; import { getAllPosts, getAllTags, getSettings, invariant } from "@matthiesenxyz/astro-ghostcms/api"; import PostPreview from '../../components/PostPreview.astro'; -import { getGhostImgPath } from '../../utils'; export async function getStaticPaths() { const posts = await getAllPosts(); diff --git a/packages/astro-ghostcms-catppuccin/src/styles/global.css b/packages/astro-ghostcms-catppuccin/src/styles/global.css index 996869cd..16384ace 100644 --- a/packages/astro-ghostcms-catppuccin/src/styles/global.css +++ b/packages/astro-ghostcms-catppuccin/src/styles/global.css @@ -3,12 +3,11 @@ @tailwind utilities; /* -Lots of classes hidden here to showcase the catppuccin color classes +The ghostimport class's handle html imported from Ghost. */ - #ghostimport h1 { - @apply font-black text-5xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-pink; + @apply font-black text-5xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-pink; } #ghostimport h2 { @@ -16,11 +15,11 @@ Lots of classes hidden here to showcase the catppuccin color classes } #ghostimport h3 { - @apply font-black text-2xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-sapphire; + @apply font-black text-2xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-sapphire; } #ghostimport h4 { - @apply font-black text-xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-mauve; + @apply font-black text-xl lg:text-6xl mb-4 bg-gradient-to-r bg-clip-text text-ctp-mauve; } #ghostimport pre {