From bbeccca9779dce51335f7e9b1c58564658496100 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 30 Apr 2026 14:14:34 +0200 Subject: [PATCH] Update tailwind --- web/tailwind.config.js | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 477488d0..10a9bf9c 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ +/* eslint-disable @typescript-eslint/no-require-imports*/ const defaultTheme = require('tailwindcss/defaultTheme') const plugin = require('tailwindcss/plugin') @@ -427,18 +427,35 @@ module.exports = { 900: 'rgb(var(--color-yes-900) / )', 950: 'rgb(var(--color-yes-950) / )', }, + // brand: { + // primary: 'rgb(var(--color-primary-500) / )', // Amber + // secondary: 'rgb(var(--color-primary-700) / )', // Terracotta + // accent: 'rgb(var(--color-green-500) / )', // Sage + // }, + // background: { + // clear: 'rgb(var(--color-canvas-50) / )', + // deep: 'rgb(var(--color-canvas-100) / )', + // tag: 'rgb(var(--color-canvas-200) / )', + // sidebar: 'rgb(var(--color-canvas-950) / )', + // }, + // action: { + // cta: 'rgb(var(--color-primary-500) / )', + // disabled: 'rgb(var(--color-ink-500) / )', + // }, }, typography: (theme) => ({ DEFAULT: { css: { 'blockquote p:first-of-type::before': false, 'blockquote p:last-of-type::after': false, + '--tw-prose-body': theme('colors.ink.900'), + '--tw-prose-headings': theme('colors.ink.900'), + '--tw-prose-links': theme('colors.primary.500'), + '--tw-prose-bold': 'inherit', + '--tw-prose-quote-borders': theme('colors.green.500'), + '--tw-prose-invert-quote-borders': theme('colors.green.300'), 'code::before': false, 'code::after': false, - '--tw-prose-bold': 'inherit', - '--tw-prose-invert-bold': 'inherit', - '--tw-prose-quote-borders': theme('colors.teal.600'), - '--tw-prose-invert-quote-borders': theme('colors.teal.300'), }, }, }),