mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
113 lines
3.2 KiB
JavaScript
113 lines
3.2 KiB
JavaScript
const colors = require("tailwindcss/colors");
|
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
|
|
|
module.exports = {
|
|
content: [
|
|
"./src/**/*.{ts,tsx}",
|
|
"../../packages/ui/src/**/*.{ts,tsx}",
|
|
"../../packages/tailwind-config/tailwind.config.js",
|
|
],
|
|
plugins: [
|
|
require("@tailwindcss/typography"),
|
|
require("tailwindcss-animate"),
|
|
require("tailwind-scrollbar"),
|
|
],
|
|
theme: {
|
|
extend: {
|
|
boxShadow: {
|
|
huge: "0px 51px 78px rgb(17 7 53 / 5%), 0px 21.3066px 35.4944px rgb(17 7 53 / 4%), 0px 11.3915px 18.9418px rgb(17 7 53 / 3%), 0px 6.38599px 9.8801px rgb(17 7 53 / 3%), 0px 3.39155px 4.58665px rgb(17 7 53 / 2%), 0px 1.4113px 1.55262px rgb(17 7 53 / 1%), inset 0px 1px 0px rgb(41 56 78 / 5%)",
|
|
},
|
|
colors: {
|
|
primary: {
|
|
...colors.indigo,
|
|
DEFAULT: colors.indigo["600"],
|
|
foreground: colors.indigo["50"],
|
|
background: colors.indigo["50"],
|
|
},
|
|
secondary: {
|
|
background: colors.indigo["50"],
|
|
DEFAULT: colors.indigo["50"],
|
|
foreground: colors.indigo["600"],
|
|
},
|
|
gray: colors.gray,
|
|
border: colors.gray["200"],
|
|
input: {
|
|
DEFAULT: colors.gray["200"],
|
|
background: colors.white,
|
|
foreground: colors.gray["700"],
|
|
},
|
|
ring: {
|
|
DEFAULT: colors.gray["300"],
|
|
},
|
|
destructive: {
|
|
DEFAULT: colors.rose["600"],
|
|
background: colors.rose["50"],
|
|
foreground: colors.rose["50"],
|
|
},
|
|
background: colors.white,
|
|
foreground: colors.gray["700"],
|
|
accent: {
|
|
DEFAULT: colors.gray["100"],
|
|
},
|
|
"action-bar": {
|
|
DEFAULT: colors.gray["800"],
|
|
foreground: colors.white,
|
|
},
|
|
muted: {
|
|
DEFAULT: colors.gray["100"],
|
|
background: colors.gray["50"],
|
|
foreground: colors.gray["500"],
|
|
},
|
|
popover: {
|
|
DEFAULT: colors.white,
|
|
foreground: colors.gray["700"],
|
|
},
|
|
card: {
|
|
DEFAULT: colors.white,
|
|
background: colors.white,
|
|
foreground: colors.gray["700"],
|
|
},
|
|
sidebar: {
|
|
DEFAULT: colors.gray["100"],
|
|
foreground: colors.gray["700"],
|
|
border: colors.gray["200"],
|
|
accent: {
|
|
DEFAULT: colors.gray["200"],
|
|
foreground: colors.gray["800"],
|
|
},
|
|
},
|
|
},
|
|
keyframes: {
|
|
wiggle: {
|
|
"0%, 100%": { transform: "rotate(-1deg)" },
|
|
"50%": { transform: "rotate(1deg)" },
|
|
},
|
|
popIn: {
|
|
"0%": {
|
|
transform: "scale(0.8) translateY(-10px)",
|
|
opacity: "0",
|
|
},
|
|
"100%": {
|
|
transform: "scale(1) translateY(0px)",
|
|
opacity: "1",
|
|
translateY: "0",
|
|
},
|
|
},
|
|
},
|
|
animation: {
|
|
wiggle: "wiggle 0.2s ease-in-out",
|
|
popIn: "popIn 0.1s ease-out",
|
|
},
|
|
screens: {
|
|
xs: "375px",
|
|
},
|
|
transitionTimingFunction: {
|
|
"in-expo": "cubic-bezier(0.68, -0.6, 0.32, 1.6)",
|
|
"out-expo": "cubic-bezier(0.19, 1, 0.22, 1)",
|
|
},
|
|
fontFamily: {
|
|
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
|
|
},
|
|
},
|
|
},
|
|
};
|