update main package with a new function
This commit is contained in:
parent
ac8a448325
commit
27baada20b
|
@ -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",
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -3,12 +3,11 @@
|
||||||
@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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ghostimport h2 {
|
#ghostimport h2 {
|
||||||
|
@ -16,11 +15,11 @@ Lots of classes hidden here to showcase the catppuccin color classes
|
||||||
}
|
}
|
||||||
|
|
||||||
#ghostimport h3 {
|
#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 {
|
#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 {
|
#ghostimport pre {
|
||||||
|
|
Loading…
Reference in New Issue