From 5a852bc2b92a5fbc70dd672398a64b825b1e4d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 4 Sep 2024 21:59:29 +0200 Subject: [PATCH] tailwind: define accent and background colors --- tailwind.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index c141c1d..ad36fab 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,5 @@ const defaultTheme = require('tailwindcss/defaultTheme') +const colors = require('tailwindcss/colors'); module.exports = { darkMode: 'class', @@ -10,6 +11,10 @@ module.exports = { 'mono': ['IBM Plex Mono', ...defaultTheme.fontFamily.mono], 'serif': ['IBM Plex Serif', ...defaultTheme.fontFamily.serif], 'condensed': ['IBM Plex Sans Condensed', ...defaultTheme.fontFamily.sans], + }, + colors: { + 'accent': colors.violet[600], + 'background': colors.gray[800], } }, },