2022-03-08 11:50:34 +01:00
|
|
|
/* eslint-disable */
|
|
|
|
const colors = require("tailwindcss/colors");
|
|
|
|
|
2022-08-08 18:21:46 +02:00
|
|
|
function rgba(color) {
|
|
|
|
return "rgb(var(" + color + ") / <alpha-value>)";
|
|
|
|
}
|
|
|
|
|
2022-03-08 11:50:34 +01:00
|
|
|
module.exports = {
|
|
|
|
prefix: "tw-",
|
2022-06-03 18:01:07 +02:00
|
|
|
content: ["./src/**/*.{html,ts}", "../../libs/components/src/**/*.{html,ts}"],
|
2022-03-08 11:50:34 +01:00
|
|
|
safelist: [],
|
|
|
|
corePlugins: { preflight: false },
|
|
|
|
theme: {
|
|
|
|
colors: {
|
|
|
|
transparent: colors.transparent,
|
|
|
|
current: colors.current,
|
2022-08-05 17:45:36 +02:00
|
|
|
black: colors.black,
|
2022-03-08 11:50:34 +01:00
|
|
|
primary: {
|
2022-08-08 18:21:46 +02:00
|
|
|
300: rgba("--color-primary-300"),
|
|
|
|
500: rgba("--color-primary-500"),
|
|
|
|
700: rgba("--color-primary-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
secondary: {
|
2022-08-08 18:21:46 +02:00
|
|
|
100: rgba("--color-secondary-100"),
|
|
|
|
300: rgba("--color-secondary-300"),
|
|
|
|
500: rgba("--color-secondary-500"),
|
|
|
|
700: rgba("--color-secondary-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
success: {
|
2022-08-08 18:21:46 +02:00
|
|
|
500: rgba("--color-success-500"),
|
|
|
|
700: rgba("--color-success-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
danger: {
|
2022-08-08 18:21:46 +02:00
|
|
|
500: rgba("--color-danger-500"),
|
|
|
|
700: rgba("--color-danger-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
warning: {
|
2022-08-08 18:21:46 +02:00
|
|
|
500: rgba("--color-warning-500"),
|
|
|
|
700: rgba("--color-warning-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
info: {
|
2022-08-08 18:21:46 +02:00
|
|
|
500: rgba("--color-info-500"),
|
|
|
|
700: rgba("--color-info-700"),
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
2022-03-15 13:50:42 +01:00
|
|
|
text: {
|
2022-08-08 18:21:46 +02:00
|
|
|
main: rgba("--color-text-main"),
|
|
|
|
muted: rgba("--color-text-muted"),
|
|
|
|
contrast: rgba("--color-text-contrast"),
|
|
|
|
alt2: rgba("--color-text-alt2"),
|
2022-03-15 13:50:42 +01:00
|
|
|
},
|
2022-03-11 21:00:24 +01:00
|
|
|
background: {
|
2022-08-08 18:21:46 +02:00
|
|
|
DEFAULT: rgba("--color-background"),
|
|
|
|
alt: rgba("--color-background-alt"),
|
|
|
|
alt2: rgba("--color-background-alt2"),
|
2022-03-11 21:00:24 +01:00
|
|
|
},
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
textColor: {
|
2022-08-08 18:21:46 +02:00
|
|
|
main: rgba("--color-text-main"),
|
|
|
|
muted: rgba("--color-text-muted"),
|
|
|
|
contrast: rgba("--color-text-contrast"),
|
|
|
|
alt2: rgba("--color-text-alt2"),
|
|
|
|
success: rgba("--color-success-500"),
|
|
|
|
danger: rgba("--color-danger-500"),
|
|
|
|
warning: rgba("--color-warning-500"),
|
|
|
|
info: rgba("--color-info-500"),
|
2022-03-11 21:00:24 +01:00
|
|
|
primary: {
|
2022-08-08 18:21:46 +02:00
|
|
|
300: rgba("--color-primary-300"),
|
|
|
|
500: rgba("--color-primary-500"),
|
|
|
|
700: rgba("--color-primary-700"),
|
2022-03-11 21:00:24 +01:00
|
|
|
},
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
ringOffsetColor: ({ theme }) => ({
|
|
|
|
DEFAULT: theme("colors.background"),
|
|
|
|
...theme("colors"),
|
|
|
|
}),
|
2022-08-05 17:45:36 +02:00
|
|
|
extend: {
|
|
|
|
width: {
|
|
|
|
"50vw": "50vw",
|
|
|
|
"75vw": "75vw",
|
|
|
|
},
|
|
|
|
},
|
2022-03-08 11:50:34 +01:00
|
|
|
},
|
|
|
|
plugins: [],
|
|
|
|
};
|