anthil_web/tailwind.config.js
2024-11-02 15:35:23 +07:00

69 lines
1.3 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// /** @type {import('tailwindcss').Config} */
// module.exports = {
// content: [
// "./src/**/*.{js,jsx,ts,tsx}",
// ],
// theme: {
// extend: {},
// },
// plugins: [],
// }
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
backgroundColor: {
'default': '#ffffff', // Белый цвет
},
},
colors: {
'black': '#232323',
},
},
plugins: [],
}
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
animation: {
'marquee': 'marquee 30s linear infinite',
'marquee-pause': 'marquee 30s linear infinite paused',
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
},
},
},
plugins: [],
}
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
animation: {
scroll: 'scroll 60s linear infinite', // Увеличили время с 40s до 60s для замедления
},
keyframes: {
scroll: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' }
}
}
}
}
}