update main package with a new function

This commit is contained in:
Adam Matthiesen 2024-02-01 23:43:23 -08:00
parent ac8a448325
commit 27baada20b
3 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "@matthiesenxyz/astro-ghostcms-catppuccin", "name": "@matthiesenxyz/astro-ghostcms-catppuccin",
"description": "A dark theme made with Catppuccin and TailwindCSS for Astro-GhostCMS", "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/", "homepage": "https://astro-ghostcms.xyz/",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",

View File

@ -4,7 +4,6 @@ import Container from "../../components/container.astro";
import Layout from "../../layouts/Layout.astro"; import Layout from "../../layouts/Layout.astro";
import { getAllPosts, getAllTags, getSettings, invariant } from "@matthiesenxyz/astro-ghostcms/api"; import { getAllPosts, getAllTags, getSettings, invariant } from "@matthiesenxyz/astro-ghostcms/api";
import PostPreview from '../../components/PostPreview.astro'; import PostPreview from '../../components/PostPreview.astro';
import { getGhostImgPath } from '../../utils';
export async function getStaticPaths() { export async function getStaticPaths() {
const posts = await getAllPosts(); const posts = await getAllPosts();

View File

@ -3,10 +3,9 @@
@tailwind utilities; @tailwind utilities;
/* /*
Lots of classes hidden here to showcase the catppuccin color classes The ghostimport class's handle html imported from Ghost.
*/ */
#ghostimport h1 { #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;
} }