* feat: integrate MDXEditor for card description with markdown support * feat: replace textarea with markdown editor for card descriptions and improve styling * refactor: replace MDXEditor with Tiptap for rich text editing * fix: prevent menu item from taking focus and submitting * feat: replace editor menu with bubble menu and add placeholder text * feat: implement slash commands menu in editor with suggestion API * chore: update editor styling * chore: update editor placeholder text * fix: navigate command list by keyboard and tweak styling * fix: prevent editor onBlur from submitting NewCardForm --------- Co-authored-by: Henry <henry_ball@hotmail.co.uk>
18 lines
487 B
TypeScript
18 lines
487 B
TypeScript
import type { Config } from "tailwindcss";
|
|
import { fontFamily } from "tailwindcss/defaultTheme";
|
|
|
|
import baseConfig from "@kan/tailwind-config/web";
|
|
|
|
export default {
|
|
content: [...baseConfig.content],
|
|
plugins: [require("@tailwindcss/typography")],
|
|
presets: [baseConfig],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ["var(--font-geist-sans)", ...fontFamily.sans],
|
|
mono: ["var(--font-geist-mono)", ...fontFamily.mono],
|
|
},
|
|
},
|
|
},
|
|
} satisfies Config; |