podman-desktop/website/tailwind.config.js
Florent Benoit 57c064dfc7 fix: website is using the new palette colors but definition are not there
fixes https://github.com/containers/podman-desktop/issues/2380

Change-Id: Ib683ee51176d89879d6e87170e46efb5b24788ad

Signed-off-by: Florent Benoit <[email protected]>
2023-05-09 10:42:46 +02:00

21 lines
556 B
JavaScript

const defaultTheme = require('tailwindcss/defaultTheme');
const rootTailWindConfig = require('../tailwind.config.cjs');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
theme: {
extend: {
// share same color palette of Podman Desktop UI
colors: rootTailWindConfig.theme.colors,
backgroundImage: {
'hero-pattern': 'url(/img/gradients.png)',
},
fontFamily: {
sans: ['Montserrat', ...defaultTheme.fontFamily.sans],
},
extend: {},
},
},
plugins: [],
};