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",
"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",

View File

@ -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();

View File

@ -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 {