mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: tailwind common config (#2168)
This commit is contained in:
parent
4ce01ca4f8
commit
e58b76c8a6
@ -16,8 +16,12 @@
|
|||||||
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"autoprefixer": "^10.4.15",
|
||||||
"eslint-config-custom": "*",
|
"eslint-config-custom": "*",
|
||||||
|
"postcss": "^8.4.29",
|
||||||
"prettier": "latest",
|
"prettier": "latest",
|
||||||
|
"prettier-plugin-tailwindcss": "^0.5.4",
|
||||||
|
"tailwindcss": "^3.3.3",
|
||||||
"turbo": "latest"
|
"turbo": "latest"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@1.22.19"
|
"packageManager": "yarn@1.22.19"
|
||||||
|
10
packages/tailwind-config-custom/package.json
Normal file
10
packages/tailwind-config-custom/package.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "tailwind-config-custom",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "common tailwind configuration across monorepo",
|
||||||
|
"main": "index.js",
|
||||||
|
"devDependencies": {
|
||||||
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
|
"tailwindcss-animate": "^1.0.7"
|
||||||
|
}
|
||||||
|
}
|
7
packages/tailwind-config-custom/postcss.config.js
Normal file
7
packages/tailwind-config-custom/postcss.config.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
"tailwindcss/nesting": {},
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
};
|
212
packages/tailwind-config-custom/tailwind.config.js
Normal file
212
packages/tailwind-config-custom/tailwind.config.js
Normal file
@ -0,0 +1,212 @@
|
|||||||
|
const convertToRGB = (variableName) => `rgba(var(${variableName}))`;
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
darkMode: "class",
|
||||||
|
content: [
|
||||||
|
"./components/**/*.tsx",
|
||||||
|
"./constants/**/*.{js,ts,jsx,tsx}",
|
||||||
|
"./layouts/**/*.tsx",
|
||||||
|
"./pages/**/*.tsx",
|
||||||
|
"./ui/**/*.tsx",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
boxShadow: {
|
||||||
|
"custom-shadow-2xs": "var(--color-shadow-2xs)",
|
||||||
|
"custom-shadow-xs": "var(--color-shadow-xs)",
|
||||||
|
"custom-shadow-sm": "var(--color-shadow-sm)",
|
||||||
|
"custom-shadow-rg": "var(--color-shadow-rg)",
|
||||||
|
"custom-shadow-md": "var(--color-shadow-md)",
|
||||||
|
"custom-shadow-lg": "var(--color-shadow-lg)",
|
||||||
|
"custom-shadow-xl": "var(--color-shadow-xl)",
|
||||||
|
"custom-shadow-2xl": "var(--color-shadow-2xl)",
|
||||||
|
"custom-shadow-3xl": "var(--color-shadow-3xl)",
|
||||||
|
"custom-sidebar-shadow-2xs": "var(--color-sidebar-shadow-2xs)",
|
||||||
|
"custom-sidebar-shadow-xs": "var(--color-sidebar-shadow-xs)",
|
||||||
|
"custom-sidebar-shadow-sm": "var(--color-sidebar-shadow-sm)",
|
||||||
|
"custom-sidebar-shadow-rg": "var(--color-sidebar-shadow-rg)",
|
||||||
|
"custom-sidebar-shadow-md": "var(--color-sidebar-shadow-md)",
|
||||||
|
"custom-sidebar-shadow-lg": "var(--color-sidebar-shadow-lg)",
|
||||||
|
"custom-sidebar-shadow-xl": "var(--color-sidebar-shadow-xl)",
|
||||||
|
"custom-sidebar-shadow-2xl": "var(--color-sidebar-shadow-2xl)",
|
||||||
|
"custom-sidebar-shadow-3xl": "var(--color-sidebar-shadow-3xl)",
|
||||||
|
},
|
||||||
|
colors: {
|
||||||
|
custom: {
|
||||||
|
primary: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
10: convertToRGB("--color-primary-10"),
|
||||||
|
20: convertToRGB("--color-primary-20"),
|
||||||
|
30: convertToRGB("--color-primary-30"),
|
||||||
|
40: convertToRGB("--color-primary-40"),
|
||||||
|
50: convertToRGB("--color-primary-50"),
|
||||||
|
60: convertToRGB("--color-primary-60"),
|
||||||
|
70: convertToRGB("--color-primary-70"),
|
||||||
|
80: convertToRGB("--color-primary-80"),
|
||||||
|
90: convertToRGB("--color-primary-90"),
|
||||||
|
100: convertToRGB("--color-primary-100"),
|
||||||
|
200: convertToRGB("--color-primary-200"),
|
||||||
|
300: convertToRGB("--color-primary-300"),
|
||||||
|
400: convertToRGB("--color-primary-400"),
|
||||||
|
500: convertToRGB("--color-primary-500"),
|
||||||
|
600: convertToRGB("--color-primary-600"),
|
||||||
|
700: convertToRGB("--color-primary-700"),
|
||||||
|
800: convertToRGB("--color-primary-800"),
|
||||||
|
900: convertToRGB("--color-primary-900"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-primary-100"),
|
||||||
|
},
|
||||||
|
background: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
10: convertToRGB("--color-background-10"),
|
||||||
|
20: convertToRGB("--color-background-20"),
|
||||||
|
30: convertToRGB("--color-background-30"),
|
||||||
|
40: convertToRGB("--color-background-40"),
|
||||||
|
50: convertToRGB("--color-background-50"),
|
||||||
|
60: convertToRGB("--color-background-60"),
|
||||||
|
70: convertToRGB("--color-background-70"),
|
||||||
|
80: convertToRGB("--color-background-80"),
|
||||||
|
90: convertToRGB("--color-background-90"),
|
||||||
|
100: convertToRGB("--color-background-100"),
|
||||||
|
200: convertToRGB("--color-background-200"),
|
||||||
|
300: convertToRGB("--color-background-300"),
|
||||||
|
400: convertToRGB("--color-background-400"),
|
||||||
|
500: convertToRGB("--color-background-500"),
|
||||||
|
600: convertToRGB("--color-background-600"),
|
||||||
|
700: convertToRGB("--color-background-700"),
|
||||||
|
800: convertToRGB("--color-background-800"),
|
||||||
|
900: convertToRGB("--color-background-900"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-background-100"),
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
10: convertToRGB("--color-text-10"),
|
||||||
|
20: convertToRGB("--color-text-20"),
|
||||||
|
30: convertToRGB("--color-text-30"),
|
||||||
|
40: convertToRGB("--color-text-40"),
|
||||||
|
50: convertToRGB("--color-text-50"),
|
||||||
|
60: convertToRGB("--color-text-60"),
|
||||||
|
70: convertToRGB("--color-text-70"),
|
||||||
|
80: convertToRGB("--color-text-80"),
|
||||||
|
90: convertToRGB("--color-text-90"),
|
||||||
|
100: convertToRGB("--color-text-100"),
|
||||||
|
200: convertToRGB("--color-text-200"),
|
||||||
|
300: convertToRGB("--color-text-300"),
|
||||||
|
400: convertToRGB("--color-text-400"),
|
||||||
|
500: convertToRGB("--color-text-500"),
|
||||||
|
600: convertToRGB("--color-text-600"),
|
||||||
|
700: convertToRGB("--color-text-700"),
|
||||||
|
800: convertToRGB("--color-text-800"),
|
||||||
|
900: convertToRGB("--color-text-900"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-text-100"),
|
||||||
|
},
|
||||||
|
border: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
100: convertToRGB("--color-border-100"),
|
||||||
|
200: convertToRGB("--color-border-200"),
|
||||||
|
300: convertToRGB("--color-border-300"),
|
||||||
|
400: convertToRGB("--color-border-400"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-border-200"),
|
||||||
|
},
|
||||||
|
sidebar: {
|
||||||
|
background: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
10: convertToRGB("--color-sidebar-background-10"),
|
||||||
|
20: convertToRGB("--color-sidebar-background-20"),
|
||||||
|
30: convertToRGB("--color-sidebar-background-30"),
|
||||||
|
40: convertToRGB("--color-sidebar-background-40"),
|
||||||
|
50: convertToRGB("--color-sidebar-background-50"),
|
||||||
|
60: convertToRGB("--color-sidebar-background-60"),
|
||||||
|
70: convertToRGB("--color-sidebar-background-70"),
|
||||||
|
80: convertToRGB("--color-sidebar-background-80"),
|
||||||
|
90: convertToRGB("--color-sidebar-background-90"),
|
||||||
|
100: convertToRGB("--color-sidebar-background-100"),
|
||||||
|
200: convertToRGB("--color-sidebar-background-200"),
|
||||||
|
300: convertToRGB("--color-sidebar-background-300"),
|
||||||
|
400: convertToRGB("--color-sidebar-background-400"),
|
||||||
|
500: convertToRGB("--color-sidebar-background-500"),
|
||||||
|
600: convertToRGB("--color-sidebar-background-600"),
|
||||||
|
700: convertToRGB("--color-sidebar-background-700"),
|
||||||
|
800: convertToRGB("--color-sidebar-background-800"),
|
||||||
|
900: convertToRGB("--color-sidebar-background-900"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-sidebar-background-100"),
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
10: convertToRGB("--color-sidebar-text-10"),
|
||||||
|
20: convertToRGB("--color-sidebar-text-20"),
|
||||||
|
30: convertToRGB("--color-sidebar-text-30"),
|
||||||
|
40: convertToRGB("--color-sidebar-text-40"),
|
||||||
|
50: convertToRGB("--color-sidebar-text-50"),
|
||||||
|
60: convertToRGB("--color-sidebar-text-60"),
|
||||||
|
70: convertToRGB("--color-sidebar-text-70"),
|
||||||
|
80: convertToRGB("--color-sidebar-text-80"),
|
||||||
|
90: convertToRGB("--color-sidebar-text-90"),
|
||||||
|
100: convertToRGB("--color-sidebar-text-100"),
|
||||||
|
200: convertToRGB("--color-sidebar-text-200"),
|
||||||
|
300: convertToRGB("--color-sidebar-text-300"),
|
||||||
|
400: convertToRGB("--color-sidebar-text-400"),
|
||||||
|
500: convertToRGB("--color-sidebar-text-500"),
|
||||||
|
600: convertToRGB("--color-sidebar-text-600"),
|
||||||
|
700: convertToRGB("--color-sidebar-text-700"),
|
||||||
|
800: convertToRGB("--color-sidebar-text-800"),
|
||||||
|
900: convertToRGB("--color-sidebar-text-900"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-sidebar-text-100"),
|
||||||
|
},
|
||||||
|
border: {
|
||||||
|
0: "rgb(255, 255, 255)",
|
||||||
|
100: convertToRGB("--color-sidebar-border-100"),
|
||||||
|
200: convertToRGB("--color-sidebar-border-200"),
|
||||||
|
300: convertToRGB("--color-sidebar-border-300"),
|
||||||
|
400: convertToRGB("--color-sidebar-border-400"),
|
||||||
|
1000: "rgb(0, 0, 0)",
|
||||||
|
DEFAULT: convertToRGB("--color-sidebar-border-200"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
backdrop: "#131313",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
keyframes: {
|
||||||
|
leftToaster: {
|
||||||
|
"0%": { left: "-20rem" },
|
||||||
|
"100%": { left: "0" },
|
||||||
|
},
|
||||||
|
rightToaster: {
|
||||||
|
"0%": { right: "-20rem" },
|
||||||
|
"100%": { right: "0" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
typography: ({ theme }) => ({
|
||||||
|
brand: {
|
||||||
|
css: {
|
||||||
|
"--tw-prose-body": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-p": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-headings": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-lead": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-links": convertToRGB("--color-primary-100"),
|
||||||
|
"--tw-prose-bold": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-counters": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-bullets": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-hr": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-quotes": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-quote-borders": convertToRGB("--color-border"),
|
||||||
|
"--tw-prose-code": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-pre-code": convertToRGB("--color-text-100"),
|
||||||
|
"--tw-prose-pre-bg": convertToRGB("--color-background-100"),
|
||||||
|
"--tw-prose-th-borders": convertToRGB("--color-border"),
|
||||||
|
"--tw-prose-td-borders": convertToRGB("--color-border"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
fontFamily: {
|
||||||
|
custom: ["Inter", "sans-serif"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
|
||||||
|
};
|
@ -17,6 +17,7 @@
|
|||||||
"next": "12.3.2",
|
"next": "12.3.2",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"tsconfig": "*",
|
"tsconfig": "*",
|
||||||
|
"tailwind-config-custom": "*",
|
||||||
"typescript": "4.7.4"
|
"typescript": "4.7.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
packages/ui/postcss.config.js
Normal file
1
packages/ui/postcss.config.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = require("tailwind-config-custom/postcss.config");
|
1
packages/ui/tailwind.config.js
Normal file
1
packages/ui/tailwind.config.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = require("tailwind-config-custom/tailwind.config");
|
@ -1,9 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig/nextjs.json",
|
"extends": "tsconfig/react-library.json",
|
||||||
"include": ["."],
|
"include": ["."],
|
||||||
"exclude": ["dist", "build", "node_modules"],
|
"exclude": ["dist", "build", "node_modules"]
|
||||||
"compilerOptions": {
|
|
||||||
"jsx": "react-jsx",
|
|
||||||
"lib": ["DOM"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
"@heroicons/react": "^2.0.12",
|
"@heroicons/react": "^2.0.12",
|
||||||
"@mui/icons-material": "^5.14.1",
|
"@mui/icons-material": "^5.14.1",
|
||||||
"@mui/material": "^5.14.1",
|
"@mui/material": "^5.14.1",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
|
||||||
"@tiptap-pro/extension-unique-id": "^2.1.0",
|
"@tiptap-pro/extension-unique-id": "^2.1.0",
|
||||||
"@tiptap/extension-code-block-lowlight": "^2.0.4",
|
"@tiptap/extension-code-block-lowlight": "^2.0.4",
|
||||||
"@tiptap/extension-color": "^2.0.4",
|
"@tiptap/extension-color": "^2.0.4",
|
||||||
@ -62,7 +61,6 @@
|
|||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
|
||||||
"@types/js-cookie": "^3.0.3",
|
"@types/js-cookie": "^3.0.3",
|
||||||
"@types/node": "18.14.1",
|
"@types/node": "18.14.1",
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
@ -70,12 +68,10 @@
|
|||||||
"@types/react-dom": "18.0.11",
|
"@types/react-dom": "18.0.11",
|
||||||
"@types/uuid": "^9.0.1",
|
"@types/uuid": "^9.0.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"autoprefixer": "^10.4.13",
|
|
||||||
"eslint": "8.34.0",
|
"eslint": "8.34.0",
|
||||||
"eslint-config-custom": "*",
|
"eslint-config-custom": "*",
|
||||||
"eslint-config-next": "13.2.1",
|
"eslint-config-next": "13.2.1",
|
||||||
"postcss": "^8.4.21",
|
|
||||||
"tsconfig": "*",
|
"tsconfig": "*",
|
||||||
"tailwindcss": "^3.2.7"
|
"tailwind-config-custom": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1 @@
|
|||||||
module.exports = {
|
module.exports = require("tailwind-config-custom/postcss.config");
|
||||||
plugins: {
|
|
||||||
"tailwindcss/nesting": {},
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
@ -1,203 +1 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
module.exports = require("tailwind-config-custom/tailwind.config");
|
||||||
|
|
||||||
const convertToRGB = (variableName) => `rgba(var(${variableName}))`;
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
content: [
|
|
||||||
"./app/**/*.{js,ts,jsx,tsx}",
|
|
||||||
"./pages/**/*.{js,ts,jsx,tsx}",
|
|
||||||
"./layouts/**/*.tsx",
|
|
||||||
"./components/**/*.{js,ts,jsx,tsx}",
|
|
||||||
"./constants/**/*.{js,ts,jsx,tsx}",
|
|
||||||
],
|
|
||||||
theme: {
|
|
||||||
extend: {
|
|
||||||
boxShadow: {
|
|
||||||
"custom-shadow-2xs": "var(--color-shadow-2xs)",
|
|
||||||
"custom-shadow-xs": "var(--color-shadow-xs)",
|
|
||||||
"custom-shadow-sm": "var(--color-shadow-sm)",
|
|
||||||
"custom-shadow-rg": "var(--color-shadow-rg)",
|
|
||||||
"custom-shadow-md": "var(--color-shadow-md)",
|
|
||||||
"custom-shadow-lg": "var(--color-shadow-lg)",
|
|
||||||
"custom-shadow-xl": "var(--color-shadow-xl)",
|
|
||||||
"custom-shadow-2xl": "var(--color-shadow-2xl)",
|
|
||||||
"custom-shadow-3xl": "var(--color-shadow-3xl)",
|
|
||||||
"custom-sidebar-shadow-2xs": "var(--color-sidebar-shadow-2xs)",
|
|
||||||
"custom-sidebar-shadow-xs": "var(--color-sidebar-shadow-xs)",
|
|
||||||
"custom-sidebar-shadow-sm": "var(--color-sidebar-shadow-sm)",
|
|
||||||
"custom-sidebar-shadow-rg": "var(--color-sidebar-shadow-rg)",
|
|
||||||
"custom-sidebar-shadow-md": "var(--color-sidebar-shadow-md)",
|
|
||||||
"custom-sidebar-shadow-lg": "var(--color-sidebar-shadow-lg)",
|
|
||||||
"custom-sidebar-shadow-xl": "var(--color-sidebar-shadow-xl)",
|
|
||||||
"custom-sidebar-shadow-2xl": "var(--color-sidebar-shadow-2xl)",
|
|
||||||
"custom-sidebar-shadow-3xl": "var(--color-sidebar-shadow-3xl)",
|
|
||||||
},
|
|
||||||
colors: {
|
|
||||||
custom: {
|
|
||||||
primary: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-primary-10"),
|
|
||||||
20: convertToRGB("--color-primary-20"),
|
|
||||||
30: convertToRGB("--color-primary-30"),
|
|
||||||
40: convertToRGB("--color-primary-40"),
|
|
||||||
50: convertToRGB("--color-primary-50"),
|
|
||||||
60: convertToRGB("--color-primary-60"),
|
|
||||||
70: convertToRGB("--color-primary-70"),
|
|
||||||
80: convertToRGB("--color-primary-80"),
|
|
||||||
90: convertToRGB("--color-primary-90"),
|
|
||||||
100: convertToRGB("--color-primary-100"),
|
|
||||||
200: convertToRGB("--color-primary-200"),
|
|
||||||
300: convertToRGB("--color-primary-300"),
|
|
||||||
400: convertToRGB("--color-primary-400"),
|
|
||||||
500: convertToRGB("--color-primary-500"),
|
|
||||||
600: convertToRGB("--color-primary-600"),
|
|
||||||
700: convertToRGB("--color-primary-700"),
|
|
||||||
800: convertToRGB("--color-primary-800"),
|
|
||||||
900: convertToRGB("--color-primary-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-primary-100"),
|
|
||||||
},
|
|
||||||
background: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-background-10"),
|
|
||||||
20: convertToRGB("--color-background-20"),
|
|
||||||
30: convertToRGB("--color-background-30"),
|
|
||||||
40: convertToRGB("--color-background-40"),
|
|
||||||
50: convertToRGB("--color-background-50"),
|
|
||||||
60: convertToRGB("--color-background-60"),
|
|
||||||
70: convertToRGB("--color-background-70"),
|
|
||||||
80: convertToRGB("--color-background-80"),
|
|
||||||
90: convertToRGB("--color-background-90"),
|
|
||||||
100: convertToRGB("--color-background-100"),
|
|
||||||
200: convertToRGB("--color-background-200"),
|
|
||||||
300: convertToRGB("--color-background-300"),
|
|
||||||
400: convertToRGB("--color-background-400"),
|
|
||||||
500: convertToRGB("--color-background-500"),
|
|
||||||
600: convertToRGB("--color-background-600"),
|
|
||||||
700: convertToRGB("--color-background-700"),
|
|
||||||
800: convertToRGB("--color-background-800"),
|
|
||||||
900: convertToRGB("--color-background-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-background-100"),
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-text-10"),
|
|
||||||
20: convertToRGB("--color-text-20"),
|
|
||||||
30: convertToRGB("--color-text-30"),
|
|
||||||
40: convertToRGB("--color-text-40"),
|
|
||||||
50: convertToRGB("--color-text-50"),
|
|
||||||
60: convertToRGB("--color-text-60"),
|
|
||||||
70: convertToRGB("--color-text-70"),
|
|
||||||
80: convertToRGB("--color-text-80"),
|
|
||||||
90: convertToRGB("--color-text-90"),
|
|
||||||
100: convertToRGB("--color-text-100"),
|
|
||||||
200: convertToRGB("--color-text-200"),
|
|
||||||
300: convertToRGB("--color-text-300"),
|
|
||||||
400: convertToRGB("--color-text-400"),
|
|
||||||
500: convertToRGB("--color-text-500"),
|
|
||||||
600: convertToRGB("--color-text-600"),
|
|
||||||
700: convertToRGB("--color-text-700"),
|
|
||||||
800: convertToRGB("--color-text-800"),
|
|
||||||
900: convertToRGB("--color-text-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-text-100"),
|
|
||||||
},
|
|
||||||
border: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
100: convertToRGB("--color-border-100"),
|
|
||||||
200: convertToRGB("--color-border-200"),
|
|
||||||
300: convertToRGB("--color-border-300"),
|
|
||||||
400: convertToRGB("--color-border-400"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-border-200"),
|
|
||||||
},
|
|
||||||
sidebar: {
|
|
||||||
background: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-sidebar-background-10"),
|
|
||||||
20: convertToRGB("--color-sidebar-background-20"),
|
|
||||||
30: convertToRGB("--color-sidebar-background-30"),
|
|
||||||
40: convertToRGB("--color-sidebar-background-40"),
|
|
||||||
50: convertToRGB("--color-sidebar-background-50"),
|
|
||||||
60: convertToRGB("--color-sidebar-background-60"),
|
|
||||||
70: convertToRGB("--color-sidebar-background-70"),
|
|
||||||
80: convertToRGB("--color-sidebar-background-80"),
|
|
||||||
90: convertToRGB("--color-sidebar-background-90"),
|
|
||||||
100: convertToRGB("--color-sidebar-background-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-background-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-background-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-background-400"),
|
|
||||||
500: convertToRGB("--color-sidebar-background-500"),
|
|
||||||
600: convertToRGB("--color-sidebar-background-600"),
|
|
||||||
700: convertToRGB("--color-sidebar-background-700"),
|
|
||||||
800: convertToRGB("--color-sidebar-background-800"),
|
|
||||||
900: convertToRGB("--color-sidebar-background-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-background-100"),
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-sidebar-text-10"),
|
|
||||||
20: convertToRGB("--color-sidebar-text-20"),
|
|
||||||
30: convertToRGB("--color-sidebar-text-30"),
|
|
||||||
40: convertToRGB("--color-sidebar-text-40"),
|
|
||||||
50: convertToRGB("--color-sidebar-text-50"),
|
|
||||||
60: convertToRGB("--color-sidebar-text-60"),
|
|
||||||
70: convertToRGB("--color-sidebar-text-70"),
|
|
||||||
80: convertToRGB("--color-sidebar-text-80"),
|
|
||||||
90: convertToRGB("--color-sidebar-text-90"),
|
|
||||||
100: convertToRGB("--color-sidebar-text-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-text-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-text-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-text-400"),
|
|
||||||
500: convertToRGB("--color-sidebar-text-500"),
|
|
||||||
600: convertToRGB("--color-sidebar-text-600"),
|
|
||||||
700: convertToRGB("--color-sidebar-text-700"),
|
|
||||||
800: convertToRGB("--color-sidebar-text-800"),
|
|
||||||
900: convertToRGB("--color-sidebar-text-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-text-100"),
|
|
||||||
},
|
|
||||||
border: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
100: convertToRGB("--color-sidebar-border-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-border-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-border-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-border-400"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-border-200"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
backdrop: "#131313",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
typography: ({ theme }) => ({
|
|
||||||
brand: {
|
|
||||||
css: {
|
|
||||||
"--tw-prose-body": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-p": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-headings": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-lead": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-links": convertToRGB("--color-primary-100"),
|
|
||||||
"--tw-prose-bold": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-counters": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-bullets": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-hr": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-quotes": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-quote-borders": convertToRGB("--color-border"),
|
|
||||||
"--tw-prose-code": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-pre-code": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-pre-bg": convertToRGB("--color-background-100"),
|
|
||||||
"--tw-prose-th-borders": convertToRGB("--color-border"),
|
|
||||||
"--tw-prose-td-borders": convertToRGB("--color-border"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
fontFamily: {
|
|
||||||
custom: ["Inter", "sans-serif"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins: [require("@tailwindcss/typography")],
|
|
||||||
};
|
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
"@nivo/pie": "0.80.0",
|
"@nivo/pie": "0.80.0",
|
||||||
"@nivo/scatterplot": "0.80.0",
|
"@nivo/scatterplot": "0.80.0",
|
||||||
"@sentry/nextjs": "^7.36.0",
|
"@sentry/nextjs": "^7.36.0",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
|
||||||
"@tiptap-pro/extension-unique-id": "^2.1.0",
|
"@tiptap-pro/extension-unique-id": "^2.1.0",
|
||||||
"@tiptap/extension-code-block-lowlight": "^2.0.4",
|
"@tiptap/extension-code-block-lowlight": "^2.0.4",
|
||||||
"@tiptap/extension-color": "^2.0.4",
|
"@tiptap/extension-color": "^2.0.4",
|
||||||
@ -78,7 +77,6 @@
|
|||||||
"sonner": "^0.6.2",
|
"sonner": "^0.6.2",
|
||||||
"swr": "^2.1.3",
|
"swr": "^2.1.3",
|
||||||
"tailwind-merge": "^1.14.0",
|
"tailwind-merge": "^1.14.0",
|
||||||
"tailwindcss-animate": "^1.0.6",
|
|
||||||
"tiptap-markdown": "^0.8.2",
|
"tiptap-markdown": "^0.8.2",
|
||||||
"tlds": "^1.238.0",
|
"tlds": "^1.238.0",
|
||||||
"use-debounce": "^9.0.4",
|
"use-debounce": "^9.0.4",
|
||||||
@ -95,14 +93,12 @@
|
|||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"@typescript-eslint/parser": "^5.48.2",
|
"@typescript-eslint/parser": "^5.48.2",
|
||||||
"autoprefixer": "^10.4.7",
|
|
||||||
"eslint": "^8.31.0",
|
"eslint": "^8.31.0",
|
||||||
"eslint-config-custom": "*",
|
"eslint-config-custom": "*",
|
||||||
"eslint-config-next": "12.2.2",
|
"eslint-config-next": "12.2.2",
|
||||||
"postcss": "^8.4.14",
|
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
"tailwindcss": "^3.1.6",
|
|
||||||
"tsconfig": "*",
|
"tsconfig": "*",
|
||||||
|
"tailwind-config-custom": "*",
|
||||||
"typescript": "4.7.4"
|
"typescript": "4.7.4"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
@ -1,7 +1 @@
|
|||||||
module.exports = {
|
module.exports = require("tailwind-config-custom/postcss.config");
|
||||||
plugins: {
|
|
||||||
"tailwindcss/nesting": {},
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
@ -1,206 +1 @@
|
|||||||
const convertToRGB = (variableName) => `rgba(var(${variableName}))`;
|
module.exports = require("tailwind-config-custom/tailwind.config");
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
darkMode: "class",
|
|
||||||
content: ["./pages/**/*.tsx", "./components/**/*.tsx", "./layouts/**/*.tsx", "./ui/**/*.tsx"],
|
|
||||||
theme: {
|
|
||||||
extend: {
|
|
||||||
boxShadow: {
|
|
||||||
"custom-shadow-2xs": "var(--color-shadow-2xs)",
|
|
||||||
"custom-shadow-xs": "var(--color-shadow-xs)",
|
|
||||||
"custom-shadow-sm": "var(--color-shadow-sm)",
|
|
||||||
"custom-shadow-rg": "var(--color-shadow-rg)",
|
|
||||||
"custom-shadow-md": "var(--color-shadow-md)",
|
|
||||||
"custom-shadow-lg": "var(--color-shadow-lg)",
|
|
||||||
"custom-shadow-xl": "var(--color-shadow-xl)",
|
|
||||||
"custom-shadow-2xl": "var(--color-shadow-2xl)",
|
|
||||||
"custom-shadow-3xl": "var(--color-shadow-3xl)",
|
|
||||||
"custom-sidebar-shadow-2xs": "var(--color-sidebar-shadow-2xs)",
|
|
||||||
"custom-sidebar-shadow-xs": "var(--color-sidebar-shadow-xs)",
|
|
||||||
"custom-sidebar-shadow-sm": "var(--color-sidebar-shadow-sm)",
|
|
||||||
"custom-sidebar-shadow-rg": "var(--color-sidebar-shadow-rg)",
|
|
||||||
"custom-sidebar-shadow-md": "var(--color-sidebar-shadow-md)",
|
|
||||||
"custom-sidebar-shadow-lg": "var(--color-sidebar-shadow-lg)",
|
|
||||||
"custom-sidebar-shadow-xl": "var(--color-sidebar-shadow-xl)",
|
|
||||||
"custom-sidebar-shadow-2xl": "var(--color-sidebar-shadow-2xl)",
|
|
||||||
"custom-sidebar-shadow-3xl": "var(--color-sidebar-shadow-3xl)",
|
|
||||||
},
|
|
||||||
colors: {
|
|
||||||
custom: {
|
|
||||||
primary: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-primary-10"),
|
|
||||||
20: convertToRGB("--color-primary-20"),
|
|
||||||
30: convertToRGB("--color-primary-30"),
|
|
||||||
40: convertToRGB("--color-primary-40"),
|
|
||||||
50: convertToRGB("--color-primary-50"),
|
|
||||||
60: convertToRGB("--color-primary-60"),
|
|
||||||
70: convertToRGB("--color-primary-70"),
|
|
||||||
80: convertToRGB("--color-primary-80"),
|
|
||||||
90: convertToRGB("--color-primary-90"),
|
|
||||||
100: convertToRGB("--color-primary-100"),
|
|
||||||
200: convertToRGB("--color-primary-200"),
|
|
||||||
300: convertToRGB("--color-primary-300"),
|
|
||||||
400: convertToRGB("--color-primary-400"),
|
|
||||||
500: convertToRGB("--color-primary-500"),
|
|
||||||
600: convertToRGB("--color-primary-600"),
|
|
||||||
700: convertToRGB("--color-primary-700"),
|
|
||||||
800: convertToRGB("--color-primary-800"),
|
|
||||||
900: convertToRGB("--color-primary-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-primary-100"),
|
|
||||||
},
|
|
||||||
background: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-background-10"),
|
|
||||||
20: convertToRGB("--color-background-20"),
|
|
||||||
30: convertToRGB("--color-background-30"),
|
|
||||||
40: convertToRGB("--color-background-40"),
|
|
||||||
50: convertToRGB("--color-background-50"),
|
|
||||||
60: convertToRGB("--color-background-60"),
|
|
||||||
70: convertToRGB("--color-background-70"),
|
|
||||||
80: convertToRGB("--color-background-80"),
|
|
||||||
90: convertToRGB("--color-background-90"),
|
|
||||||
100: convertToRGB("--color-background-100"),
|
|
||||||
200: convertToRGB("--color-background-200"),
|
|
||||||
300: convertToRGB("--color-background-300"),
|
|
||||||
400: convertToRGB("--color-background-400"),
|
|
||||||
500: convertToRGB("--color-background-500"),
|
|
||||||
600: convertToRGB("--color-background-600"),
|
|
||||||
700: convertToRGB("--color-background-700"),
|
|
||||||
800: convertToRGB("--color-background-800"),
|
|
||||||
900: convertToRGB("--color-background-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-background-100"),
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-text-10"),
|
|
||||||
20: convertToRGB("--color-text-20"),
|
|
||||||
30: convertToRGB("--color-text-30"),
|
|
||||||
40: convertToRGB("--color-text-40"),
|
|
||||||
50: convertToRGB("--color-text-50"),
|
|
||||||
60: convertToRGB("--color-text-60"),
|
|
||||||
70: convertToRGB("--color-text-70"),
|
|
||||||
80: convertToRGB("--color-text-80"),
|
|
||||||
90: convertToRGB("--color-text-90"),
|
|
||||||
100: convertToRGB("--color-text-100"),
|
|
||||||
200: convertToRGB("--color-text-200"),
|
|
||||||
300: convertToRGB("--color-text-300"),
|
|
||||||
400: convertToRGB("--color-text-400"),
|
|
||||||
500: convertToRGB("--color-text-500"),
|
|
||||||
600: convertToRGB("--color-text-600"),
|
|
||||||
700: convertToRGB("--color-text-700"),
|
|
||||||
800: convertToRGB("--color-text-800"),
|
|
||||||
900: convertToRGB("--color-text-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-text-100"),
|
|
||||||
},
|
|
||||||
border: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
100: convertToRGB("--color-border-100"),
|
|
||||||
200: convertToRGB("--color-border-200"),
|
|
||||||
300: convertToRGB("--color-border-300"),
|
|
||||||
400: convertToRGB("--color-border-400"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-border-200"),
|
|
||||||
},
|
|
||||||
sidebar: {
|
|
||||||
background: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-sidebar-background-10"),
|
|
||||||
20: convertToRGB("--color-sidebar-background-20"),
|
|
||||||
30: convertToRGB("--color-sidebar-background-30"),
|
|
||||||
40: convertToRGB("--color-sidebar-background-40"),
|
|
||||||
50: convertToRGB("--color-sidebar-background-50"),
|
|
||||||
60: convertToRGB("--color-sidebar-background-60"),
|
|
||||||
70: convertToRGB("--color-sidebar-background-70"),
|
|
||||||
80: convertToRGB("--color-sidebar-background-80"),
|
|
||||||
90: convertToRGB("--color-sidebar-background-90"),
|
|
||||||
100: convertToRGB("--color-sidebar-background-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-background-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-background-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-background-400"),
|
|
||||||
500: convertToRGB("--color-sidebar-background-500"),
|
|
||||||
600: convertToRGB("--color-sidebar-background-600"),
|
|
||||||
700: convertToRGB("--color-sidebar-background-700"),
|
|
||||||
800: convertToRGB("--color-sidebar-background-800"),
|
|
||||||
900: convertToRGB("--color-sidebar-background-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-background-100"),
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
10: convertToRGB("--color-sidebar-text-10"),
|
|
||||||
20: convertToRGB("--color-sidebar-text-20"),
|
|
||||||
30: convertToRGB("--color-sidebar-text-30"),
|
|
||||||
40: convertToRGB("--color-sidebar-text-40"),
|
|
||||||
50: convertToRGB("--color-sidebar-text-50"),
|
|
||||||
60: convertToRGB("--color-sidebar-text-60"),
|
|
||||||
70: convertToRGB("--color-sidebar-text-70"),
|
|
||||||
80: convertToRGB("--color-sidebar-text-80"),
|
|
||||||
90: convertToRGB("--color-sidebar-text-90"),
|
|
||||||
100: convertToRGB("--color-sidebar-text-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-text-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-text-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-text-400"),
|
|
||||||
500: convertToRGB("--color-sidebar-text-500"),
|
|
||||||
600: convertToRGB("--color-sidebar-text-600"),
|
|
||||||
700: convertToRGB("--color-sidebar-text-700"),
|
|
||||||
800: convertToRGB("--color-sidebar-text-800"),
|
|
||||||
900: convertToRGB("--color-sidebar-text-900"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-text-100"),
|
|
||||||
},
|
|
||||||
border: {
|
|
||||||
0: "rgb(255, 255, 255)",
|
|
||||||
100: convertToRGB("--color-sidebar-border-100"),
|
|
||||||
200: convertToRGB("--color-sidebar-border-200"),
|
|
||||||
300: convertToRGB("--color-sidebar-border-300"),
|
|
||||||
400: convertToRGB("--color-sidebar-border-400"),
|
|
||||||
1000: "rgb(0, 0, 0)",
|
|
||||||
DEFAULT: convertToRGB("--color-sidebar-border-200"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
backdrop: "#131313",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
keyframes: {
|
|
||||||
leftToaster: {
|
|
||||||
"0%": { left: "-20rem" },
|
|
||||||
"100%": { left: "0" },
|
|
||||||
},
|
|
||||||
rightToaster: {
|
|
||||||
"0%": { right: "-20rem" },
|
|
||||||
"100%": { right: "0" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
typography: ({ theme }) => ({
|
|
||||||
brand: {
|
|
||||||
css: {
|
|
||||||
"--tw-prose-body": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-p": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-headings": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-lead": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-links": convertToRGB("--color-primary-100"),
|
|
||||||
"--tw-prose-bold": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-counters": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-bullets": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-hr": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-quotes": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-quote-borders": convertToRGB("--color-border"),
|
|
||||||
"--tw-prose-code": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-pre-code": convertToRGB("--color-text-100"),
|
|
||||||
"--tw-prose-pre-bg": convertToRGB("--color-background-100"),
|
|
||||||
"--tw-prose-th-borders": convertToRGB("--color-border"),
|
|
||||||
"--tw-prose-td-borders": convertToRGB("--color-border"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
fontFamily: {
|
|
||||||
custom: ["Inter", "sans-serif"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
|
|
||||||
};
|
|
||||||
|
33
yarn.lock
33
yarn.lock
@ -1367,7 +1367,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.7.tgz#95bed2487bf59632125a13b8eb8f4c21e460afec"
|
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.7.tgz#95bed2487bf59632125a13b8eb8f4c21e460afec"
|
||||||
integrity sha512-sCWTUNElBPgB30iLvWe3PU7SIlTKZNf6/E/sko85iHVeHCM6WPkDw+y89CrZYjhFNmPqt2fIQM/pZu+rP2lFLA==
|
integrity sha512-sCWTUNElBPgB30iLvWe3PU7SIlTKZNf6/E/sko85iHVeHCM6WPkDw+y89CrZYjhFNmPqt2fIQM/pZu+rP2lFLA==
|
||||||
|
|
||||||
"@mui/icons-material@^5.14.1", "@mui/icons-material@^5.14.7":
|
"@mui/icons-material@^5.14.1":
|
||||||
version "5.14.7"
|
version "5.14.7"
|
||||||
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.7.tgz#d7f6bd188fe38adf35c89d9343b8a529c2306383"
|
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.7.tgz#d7f6bd188fe38adf35c89d9343b8a529c2306383"
|
||||||
integrity sha512-mWp4DwMa8c1Gx9yOEtPgxM4b+e6hAbtZyzfSubdBwrnEE6G5D2rbAJ5MB+If6kfI48JaYaJ5j8+zAdmZLuZc0A==
|
integrity sha512-mWp4DwMa8c1Gx9yOEtPgxM4b+e6hAbtZyzfSubdBwrnEE6G5D2rbAJ5MB+If6kfI48JaYaJ5j8+zAdmZLuZc0A==
|
||||||
@ -2167,10 +2167,10 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
tslib "^2.4.0"
|
tslib "^2.4.0"
|
||||||
|
|
||||||
"@tailwindcss/typography@^0.5.9":
|
"@tailwindcss/typography@^0.5.10":
|
||||||
version "0.5.9"
|
version "0.5.10"
|
||||||
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.9.tgz#027e4b0674929daaf7c921c900beee80dbad93e8"
|
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.10.tgz#2abde4c6d5c797ab49cf47610830a301de4c1e0a"
|
||||||
integrity sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==
|
integrity sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash.castarray "^4.4.0"
|
lodash.castarray "^4.4.0"
|
||||||
lodash.isplainobject "^4.0.6"
|
lodash.isplainobject "^4.0.6"
|
||||||
@ -3046,7 +3046,7 @@ attr-accept@^2.2.2:
|
|||||||
resolved "https://registry.yarnpkg.com/attr-accept/-/attr-accept-2.2.2.tgz#646613809660110749e92f2c10833b70968d929b"
|
resolved "https://registry.yarnpkg.com/attr-accept/-/attr-accept-2.2.2.tgz#646613809660110749e92f2c10833b70968d929b"
|
||||||
integrity sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==
|
integrity sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==
|
||||||
|
|
||||||
autoprefixer@^10.4.13, autoprefixer@^10.4.7:
|
autoprefixer@^10.4.15:
|
||||||
version "10.4.15"
|
version "10.4.15"
|
||||||
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.15.tgz#a1230f4aeb3636b89120b34a1f513e2f6834d530"
|
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.15.tgz#a1230f4aeb3636b89120b34a1f513e2f6834d530"
|
||||||
integrity sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==
|
integrity sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==
|
||||||
@ -4892,11 +4892,6 @@ https-proxy-agent@^5.0.0:
|
|||||||
agent-base "6"
|
agent-base "6"
|
||||||
debug "4"
|
debug "4"
|
||||||
|
|
||||||
husky@^8.0.3:
|
|
||||||
version "8.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
|
|
||||||
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
|
|
||||||
|
|
||||||
idb@^7.0.1:
|
idb@^7.0.1:
|
||||||
version "7.1.1"
|
version "7.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b"
|
resolved "https://registry.yarnpkg.com/idb/-/idb-7.1.1.tgz#d910ded866d32c7ced9befc5bfdf36f572ced72b"
|
||||||
@ -6046,11 +6041,6 @@ next-pwa@^5.6.0:
|
|||||||
workbox-webpack-plugin "^6.5.4"
|
workbox-webpack-plugin "^6.5.4"
|
||||||
workbox-window "^6.5.4"
|
workbox-window "^6.5.4"
|
||||||
|
|
||||||
next-theme@^0.1.5:
|
|
||||||
version "0.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/next-theme/-/next-theme-0.1.5.tgz#aa6655c516892925e577349d7715a8ed54bad727"
|
|
||||||
integrity sha512-WR8UCLEFjWvRl+UO2lTM4pGo7R4jzGZqQ6YL3hiL1Ns587Qb91GhJZLPu/Aa4ExtGQ/5wlcDX8zDYZoCN9oDPw==
|
|
||||||
|
|
||||||
next-themes@^0.2.1:
|
next-themes@^0.2.1:
|
||||||
version "0.2.1"
|
version "0.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.2.1.tgz#0c9f128e847979daf6c67f70b38e6b6567856e45"
|
resolved "https://registry.yarnpkg.com/next-themes/-/next-themes-0.2.1.tgz#0c9f128e847979daf6c67f70b38e6b6567856e45"
|
||||||
@ -6481,7 +6471,7 @@ postcss@8.4.14:
|
|||||||
picocolors "^1.0.0"
|
picocolors "^1.0.0"
|
||||||
source-map-js "^1.0.2"
|
source-map-js "^1.0.2"
|
||||||
|
|
||||||
postcss@^8.4.14, postcss@^8.4.21, postcss@^8.4.23:
|
postcss@^8.4.23, postcss@^8.4.29:
|
||||||
version "8.4.29"
|
version "8.4.29"
|
||||||
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.29.tgz#33bc121cf3b3688d4ddef50be869b2a54185a1dd"
|
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.29.tgz#33bc121cf3b3688d4ddef50be869b2a54185a1dd"
|
||||||
integrity sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==
|
integrity sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==
|
||||||
@ -6513,6 +6503,11 @@ prelude-ls@^1.2.1:
|
|||||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
|
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
|
||||||
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
|
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
|
||||||
|
|
||||||
|
prettier-plugin-tailwindcss@^0.5.4:
|
||||||
|
version "0.5.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.4.tgz#ebfacbcb90e2ca1df671ffe4083e99f81d72040d"
|
||||||
|
integrity sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==
|
||||||
|
|
||||||
prettier@^2.8.7:
|
prettier@^2.8.7:
|
||||||
version "2.8.8"
|
version "2.8.8"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
|
||||||
@ -7615,12 +7610,12 @@ tailwind-merge@^1.14.0:
|
|||||||
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-1.14.0.tgz#e677f55d864edc6794562c63f5001f45093cdb8b"
|
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-1.14.0.tgz#e677f55d864edc6794562c63f5001f45093cdb8b"
|
||||||
integrity sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==
|
integrity sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==
|
||||||
|
|
||||||
tailwindcss-animate@^1.0.6:
|
tailwindcss-animate@^1.0.7:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz#318b692c4c42676cc9e67b19b78775742388bef4"
|
resolved "https://registry.yarnpkg.com/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz#318b692c4c42676cc9e67b19b78775742388bef4"
|
||||||
integrity sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==
|
integrity sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==
|
||||||
|
|
||||||
tailwindcss@^3.1.6, tailwindcss@^3.2.7:
|
tailwindcss@^3.3.3:
|
||||||
version "3.3.3"
|
version "3.3.3"
|
||||||
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.3.tgz#90da807393a2859189e48e9e7000e6880a736daf"
|
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.3.tgz#90da807393a2859189e48e9e7000e6880a736daf"
|
||||||
integrity sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==
|
integrity sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==
|
||||||
|
Loading…
Reference in New Issue
Block a user