2020-07-27 09:35:34 +00:00
|
|
|
/* eslint-disable */
|
2021-09-17 12:48:18 +00:00
|
|
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
2020-07-27 09:35:34 +00:00
|
|
|
|
2021-11-05 14:36:34 +00:00
|
|
|
function withOpacity(variableName) {
|
|
|
|
return ({ opacityValue }) => {
|
|
|
|
if (opacityValue !== undefined) {
|
|
|
|
return `hsl(var(${variableName}) / ${opacityValue})`;
|
|
|
|
}
|
|
|
|
return `hsl(var(${variableName}))`;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2020-06-05 13:54:40 +00:00
|
|
|
module.exports = {
|
2021-10-22 10:51:43 +00:00
|
|
|
content: [
|
2021-07-12 17:47:56 +00:00
|
|
|
"./app/Views/**/*.php",
|
2021-08-23 11:05:16 +00:00
|
|
|
"./modules/**/Views/**/*.php",
|
2021-09-02 16:34:25 +00:00
|
|
|
"./themes/**/*.php",
|
2021-07-12 17:47:56 +00:00
|
|
|
"./app/Helpers/*.php",
|
|
|
|
"./app/Resources/**/*.ts",
|
|
|
|
],
|
2021-04-02 17:20:02 +00:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
2021-09-17 12:48:18 +00:00
|
|
|
sans: ["Inter", ...defaultTheme.fontFamily.sans],
|
|
|
|
display: ["Kumbh Sans", ...defaultTheme.fontFamily.sans],
|
2021-04-02 17:20:02 +00:00
|
|
|
},
|
2021-11-05 14:36:34 +00:00
|
|
|
textColor: {
|
|
|
|
skin: {
|
|
|
|
base: withOpacity("--color-text-base"),
|
|
|
|
muted: withOpacity("--color-text-muted"),
|
|
|
|
},
|
|
|
|
accent: {
|
|
|
|
base: withOpacity("--color-accent-base"),
|
|
|
|
hover: withOpacity("--color-accent-hover"),
|
|
|
|
muted: withOpacity("--color-accent-muted"),
|
|
|
|
contrast: withOpacity("--color-accent-contrast"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
backgroundColor: {
|
|
|
|
base: withOpacity("--color-background-base"),
|
|
|
|
elevated: withOpacity("--color-background-elevated"),
|
|
|
|
navigation: withOpacity("--color-background-navigation"),
|
|
|
|
backdrop: withOpacity("--color-background-backdrop"),
|
|
|
|
header: withOpacity("--color-background-header"),
|
|
|
|
accent: {
|
|
|
|
base: withOpacity("--color-accent-base"),
|
|
|
|
hover: withOpacity("--color-accent-hover"),
|
|
|
|
},
|
|
|
|
highlight: withOpacity("--color-background-highlight"),
|
|
|
|
},
|
|
|
|
borderColor: {
|
|
|
|
subtle: withOpacity("--color-border-subtle"),
|
|
|
|
contrast: withOpacity("--color-border-contrast"),
|
|
|
|
navigation: withOpacity("--color-border-navigation"),
|
2021-11-23 11:54:34 +00:00
|
|
|
"navigation-bg": withOpacity("--color-background-navigation"),
|
2021-11-05 14:36:34 +00:00
|
|
|
accent: {
|
|
|
|
base: withOpacity("--color-accent-base"),
|
|
|
|
hover: withOpacity("--color-accent-hover"),
|
|
|
|
},
|
|
|
|
background: {
|
|
|
|
base: withOpacity("--color-background-base"),
|
|
|
|
elevated: withOpacity("--color-background-elevated"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
ringColor: {
|
|
|
|
contrast: withOpacity("--color-border-contrast"),
|
|
|
|
background: {
|
|
|
|
base: withOpacity("--color-background-base"),
|
|
|
|
elevated: withOpacity("--color-background-elevated"),
|
|
|
|
},
|
|
|
|
},
|
2021-04-02 17:20:02 +00:00
|
|
|
colors: {
|
2021-11-05 14:36:34 +00:00
|
|
|
background: {
|
|
|
|
header: withOpacity("--color-background-header"),
|
|
|
|
},
|
|
|
|
heading: {
|
|
|
|
foreground: withOpacity("--color-heading-foreground"),
|
|
|
|
background: withOpacity("--color-heading-background"),
|
|
|
|
},
|
2021-04-02 17:20:02 +00:00
|
|
|
pine: {
|
2021-09-03 16:34:06 +00:00
|
|
|
50: "#F2FAF9",
|
|
|
|
100: "#E7F9E4",
|
|
|
|
200: "#bfe4e1",
|
|
|
|
300: "#99d4cf",
|
|
|
|
400: "#4db4aa",
|
|
|
|
500: "#009486",
|
|
|
|
600: "#008579",
|
|
|
|
700: "#006D60",
|
|
|
|
800: "#00564A",
|
|
|
|
900: "#003D0B",
|
2021-04-02 17:20:02 +00:00
|
|
|
},
|
|
|
|
rose: {
|
|
|
|
50: "#fcf9f8",
|
|
|
|
100: "#fdeef2",
|
|
|
|
200: "#fbcfe4",
|
|
|
|
300: "#faa7cd",
|
|
|
|
400: "#fb6ea5",
|
|
|
|
500: "#fc437c",
|
|
|
|
600: "#f24664",
|
|
|
|
700: "#dd1f47",
|
|
|
|
800: "#b21a39",
|
|
|
|
900: "#8e162e",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
gridTemplateColumns: {
|
2021-10-18 16:44:07 +00:00
|
|
|
admin: "300px calc(100% - 300px)",
|
|
|
|
podcast: "1fr minmax(auto, 960px) 1fr",
|
|
|
|
podcastMain: "1fr minmax(200px, 300px)",
|
2021-10-21 13:12:38 +00:00
|
|
|
cards: "repeat(auto-fill, minmax(14rem, 1fr))",
|
|
|
|
latestEpisodes: "repeat(5, 1fr)",
|
2021-11-08 16:52:20 +00:00
|
|
|
colorButtons: "repeat(auto-fill, minmax(4rem, 1fr))",
|
2021-04-02 17:20:02 +00:00
|
|
|
},
|
2021-10-18 16:44:07 +00:00
|
|
|
gridTemplateRows: {
|
|
|
|
admin: "40px 1fr",
|
|
|
|
},
|
2021-09-10 16:02:25 +00:00
|
|
|
borderWidth: {
|
|
|
|
3: "3px",
|
|
|
|
},
|
2021-11-05 14:36:34 +00:00
|
|
|
ringWidth: {
|
|
|
|
3: "3px",
|
|
|
|
},
|
2021-04-02 17:20:02 +00:00
|
|
|
},
|
2020-09-04 09:09:26 +00:00
|
|
|
},
|
2021-04-02 17:20:02 +00:00
|
|
|
variants: {},
|
2020-07-27 09:35:34 +00:00
|
|
|
plugins: [
|
2021-04-02 17:20:02 +00:00
|
|
|
require("@tailwindcss/forms"),
|
2020-07-27 09:35:34 +00:00
|
|
|
require("@tailwindcss/typography"),
|
2021-04-02 17:20:02 +00:00
|
|
|
require("@tailwindcss/line-clamp"),
|
2020-07-27 09:35:34 +00:00
|
|
|
],
|
2020-06-10 15:00:12 +00:00
|
|
|
};
|