vigi/tailwind.config.js

23 lines
481 B
JavaScript
Raw Normal View History

2024-07-31 14:03:32 +03:00
let bgColors = {};
let textColors = {};
for (let i = 0; i <= 100; i += 5) {
2024-07-31 14:03:32 +03:00
bgColors[`vigi-${i}`] =
`color-mix(in oklch, var(--max-bg) ${i}%, var(--min-bg))`;
textColors[`vigi-${i}`] =
`color-mix(in oklch, var(--max-text) ${i}%, var(--min-text))`;
}
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
2024-07-31 14:03:32 +03:00
colors: bgColors,
textColor: textColors,
},
},
plugins: [],
};