Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte flo-bit.dev
Something went wrong. Try again.
flo-bit.github.io tailwind.config.mjs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253import prose from "@tailwindcss/typography";import forms from "@tailwindcss/forms";import plugin from "tailwindcss/plugin";import colors from "tailwindcss/colors";import aspectRatio from "@tailwindcss/aspect-ratio";import animate from "tailwindcss-animate";import { ACCENT_COLOR, BASE_COLOR } from "./src/config";
/** @type {import('tailwindcss').Config} */export default { content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], theme: { extend: { colors: { accent: colors[ACCENT_COLOR.toLowerCase()], base: colors[BASE_COLOR.toLowerCase()], background: colors[BASE_COLOR.toLowerCase()][950] }, typography: { DEFAULT: { css: { "code::before": { content: "none", }, "code::after": { content: "none", }, "blockquote p:first-of-type::before": { content: "none", }, "blockquote p:first-of-type::after": { content: "none", }, }, }, }, }, }, darkMode: "class", plugins: [ prose, forms, aspectRatio, animate, plugin(function ({ addVariant }) { addVariant( "prose-inline-code", '&.prose :where(:not(pre)>code):not(:where([class~="not-prose"] *))', ); }), ],};