2024-07-31 14:03:32 +03:00
|
|
|
let bgColors = {};
|
|
|
|
let textColors = {};
|
2024-07-29 16:53:15 +03:00
|
|
|
|
|
|
|
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))`;
|
2024-07-29 16:53:15 +03:00
|
|
|
}
|
|
|
|
|
2024-07-28 13:36:20 +03:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
export default {
|
2024-07-28 15:37:09 +03:00
|
|
|
content: ["./src/**/*.{html,js,svelte,ts}"],
|
2024-07-28 13:36:20 +03:00
|
|
|
theme: {
|
2024-07-28 15:37:09 +03:00
|
|
|
extend: {
|
2024-07-31 14:03:32 +03:00
|
|
|
colors: bgColors,
|
|
|
|
textColor: textColors,
|
2024-07-28 15:37:09 +03:00
|
|
|
},
|
2024-07-28 13:36:20 +03:00
|
|
|
},
|
|
|
|
plugins: [],
|
2024-07-28 15:37:09 +03:00
|
|
|
};
|