Skip to content

Commit

Permalink
Contrast fix (#95)
Browse files Browse the repository at this point in the history
* better contrast
  • Loading branch information
bgalek authored Jul 11, 2024
1 parent e7219b4 commit 8aae33c
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
const colors = require('tailwindcss/colors')
const colors = require("tailwindcss/colors");

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./node_modules/flowbite/**/*.js",
'./_includes/**/*.html',
'./_layouts/**/*.html',
'./_drafts/**/*.md',
'./_posts/*.md',
'./*.md',
'./*.html',
'./about/*.html',
"./_includes/**/*.html",
"./_layouts/**/*.html",
"./_drafts/**/*.md",
"./_posts/*.md",
"./*.md",
"./*.html",
"./about/*.html",
],
darkMode: 'media',
darkMode: "media",
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
brand: colors.teal,
primary: colors.orange
transparent: "transparent",
current: "currentColor",
primary: colors.orange,
},
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-format-invert-body': theme('colors.gray[300]'),
},
},
}),
},
},
plugins: [require("flowbite-typography"), require("flowbite/plugin")],
Expand Down

0 comments on commit 8aae33c

Please sign in to comment.