From 26cc4047a97a59a1b3abe4ae579eaa5fbcd0e91f Mon Sep 17 00:00:00 2001 From: Bruno Date: Sun, 4 Aug 2024 12:58:24 +0100 Subject: [PATCH] Improve theme --- tailwind.config.js | 63 +++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 1a363ca..d6ca88d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,7 @@ import forms from '@tailwindcss/forms'; +const colors = require('tailwindcss/colors'); + /** @type {import('tailwindcss').Config} */ export default { content: [ @@ -10,38 +12,43 @@ export default { colors: { transparent: 'transparent', current: 'currentColor', - 'blue': { - '50': '#639BE9', - '100': '#5893E7', - '200': '#4D8CE6', - '300': '#3C81E3', + 'primary': { + 300: '#639be9', + 400: '#5893e7', + 500: '#4d8ce6', + 600: '#3c81e3', }, - 'gray': '#3F3F3F', + 'secondary': '#3f3f3f', + 'success': { + 500: '#44cf6e', + 600: '#0cb54f', + }, + 'error': colors.red, 'light-base': { - '50': '#FFFFFF', - '100': '#FCFCFC', - '200': '#F6F7F8', - '300': '#EBEDF0', - '400': '#E2E5E9', - '500': '#D8D9DA', - '600': '#AFB5BD', - '700': '#6E767E', - '800': '#6D757D', - '900': '#555E68', - '950': '#222222', + 50: '#ffffff', + 100: '#fcfcfc', + 200: '#f6f7f8', + 300: '#ebedf0', + 400: '#e2e5e9', + 500: '#d8d9da', + 600: '#afb5bd', + 700: '#6e767e', + 800: '#6d757d', + 900: '#555e68', + 950: '#222222', }, 'base': { - '50': '#DADADA', - '100': '#BEC6CF', - '200': '#A8AFB8', - '300': '#A5ADB5', - '400': '#536170', - '500': '#35393E', - '600': '#34383B', - '700': '#383C43', - '800': '#282C34', - '900': '#1C2127', - '950': '#181C20', + 50: '#dadada', + 100: '#bec6cf', + 200: '#a8afb8', + 300: '#a5adb5', + 400: '#536170', + 500: '#35393e', + 600: '#34383b', + 700: '#383c43', + 800: '#282c34', + 900: '#1c2127', + 950: '#181c20', }, }, extend: {},