mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
59335618b4
* feat: session authentication and god-mode implementation (#4302) * dev: move authentication to base class for credentials * chore: new account creation * dev: return error as query parameter * dev: accounts and profile endpoints for user * fix: user store updates * fix: store fixes * fix: type fixes * dev: set is_password_autoset and is_email_verifier for auth providers * dev: move all auth configuration to different apps * dev: fix circular imports * dev: remove unused imports * dev: fix imports for authentication * dev: update endpoints to use rest framework api viewa * fix: onboarding fixes * dev: session model changes * fix: session model and add check for last name first name and avatar * dev: fix referer redirect * dev: remove auth imports * dev: fix imports * dev: update migrations * fix: instance admin login * comflict: conflicts resolved * dev: fix import errors and email check endpoint * fix: error messages and redirects after login * dev: configs api * fix: is github enabled boolean * dev: merge config and instance api * conflict: merge conflict resolved * dev: instance admin sign up endpoint * dev: enable magic link login * dev: configure instance variables for github and google enabled * chore: typo fixes * fix: god mode docker file changes * build-error: resolved build errors * fix: docker compose changes * dev: add email credential check endpoint * fix: minor package changes * fix: docker related changes * dev: add nginx rules in the nginx template * dev: refactor the url patterns * fix: docker changes * fix: docker files for god-mode * fix: static export * fix: nginx conf * dev: smtp sender refused exception * fix: godmode fixes * chore: god mode revamp. * dev: add csrf secured flag * fix: oauth redirect uri and session settings * chore: god mode app changes. (#3982) * chore: send test email functionality. * style: authentication methods page UI revamp. * chore: create workspace popup. * fix: user me endpoint * dev: fix redirection after authentication * dev: handle god mode redirection * fix: redirections * fix: auth related hooks * fix: store related fixes * dev: fix session authentication for rest apis * fix: linting errors * fix: removing references of useStore= * dev: fix redirection and password validation * dev: add useUser hook * fix: build fixes and lint issues * fix: removing useApplication hook * fix: build errors * fix: delete unused files * fix: auth build fixes * fix: bugfixes * dev: alter avatar to support more than 255 chars * dev: fix profile endpoint and increase session expiry time and update session on every request * chore: resolved the migration * chore: resolved merge conflicts * dev: error codes and error messages for the auth flow * dev: instance admin sign up and sign in endpoint * dev: use zxcvbn to validate password strength * dev: add extra parameters when error handling on instance god mode * chore: auth init * chore: signin/ signup form ui updates and password strength meter. * chore: update password fields. * chore: validations and error handling. * chore: updated sign-up form * chore: updated workflow and updated the code structure * chore: instance empty state for god-mode. * chore: instance and auth wrappers update * fix: renaming godmode * fix: docker changes * chore: updated authentication wrappers * chore: updated the authentication workflow and rendered all pages * fix: build errors * fix: docker related fixes * fix: tailing slash added to space and admin for valid nginx locations * chore: seperate pages for signup and login * git-action modified for admin file changes * feature build action updated for admin app * self host modified * chore: resolved build errors and handled signin and signup in a seperate route * chore: sign-in and sign-up revamp. * fix: migration conflicts * dev: migrations * chore: handled redirection * dev: admin url * dev: create seperate endpoint for instance admin me * dev: instance admin endpoint * git action fixed * chore: handled auth wrappers * dev: add serializer and remove print logs * fix: build errors * dev: fix migrations * dev: instance folder structuring * fix: linting errors * chore: resolved build errors * chore: updated store and auth workflow and updates api service types * chore: Replaced Next Link with Anchoer tag for god-mode redirection * add 3333 port to allowed origins * make password login working again * dev: fix redirection, add admin signout endpoint and fix email credential check endpoint * fix unique code sign in * fix small build error * enable sign out * dev: add google client secret variable to configure instance * dev: add referer for redirection * fix origin urls for oauths * admin setup and login separation * dev: fix user redirection and tour completed endpoint * fix build errors * dev: add set password endpoint * dev: remove user creation logic for redirection * fix unique code page * fix forgot password * chore: onboarding revamp. * dev: fix workspace slug redirection in login * chore: invited user onboarding flow update. * chore: fix switch or delete account modal. * fix members exception * refactor auth flows and add invitations to auth flow * fix sig in sign up url * fix action url * fix build errors * dev: fix user set password when logging in * dev: reset password endpoint * chore: confirm password validation for signup and onboarding. * enable reset password * fix build error * chore: minor UI updates. * chore: forgot and reset password UI revamp. * fix authentication re directions * dev: auth redirections * change url paths for signup and signin * dev: make the user logged in when changing passwords * dev: next path redirection for web and space app * dev: next path for magic sign in endpoint * dev: github space endpoint * chore: minor ui updates and fixes in web app. * set password screen * fix multiple unique code generation * dev: next path base redirection * dev: remove print logs * dev: auth space endpoints * fix build errors * dev: invalidate cache on configuration update, god mode exception errors and authentication failed code * dev: fix space endpoints and add extra endpoints * chore: space auth revamp. * dev: add sign up for space app * fix: build errors. * fix: auth redirection logic. * chore: space app onboarding revamp. --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: gurusainath <gurusainath007@gmail.com> Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com> Co-authored-by: Manish Gupta <59428681+mguptahub@users.noreply.github.com> Co-authored-by: Manish Gupta <manish@mgupta.me> Co-authored-by: = <=> Co-authored-by: rahulramesha <rahulramesham@gmail.com> * chore: updated file structure for admin * chore: updated admin-sidebar * chore: auth error handling * chore: onboarding UI updates and dark mode fixes. * chore: add `user personalization` step to onboarding profile setup screen. * chore: fix minor UI bugs * chore: authentication workflow changes * chore: handled signin workflow * style: switch or delete account workflow * chore: god mode redirection URL * feat(dashboard): improve label readability (#4321) change none label for all time in dashbard filters * chore: god-mode redirection * chore: onboarding ui updates and accept invitation workflow updates. * chore: rename unique code auth form. * style: space auth ux copy. * chore: updated intance and auth wrapper logic * chore: update default layout style. * chore: update confirm password. * chore: backend redirection * style: update banner ui * chore: minor ui updates and validation fix. * chore: removed old auth hook * chore: handled auth wrapper * chore: handled store loaders in the user * chore: handled logs * chore: add loading spinners for all auth and onboarding form buttons. * chore: add background pattern in admin auth forms and minor ui fixes. * chore: UI changes and revamp components for authentication * chore: auth UI consistency in web, space and admin. * chore: resolved build errors * chore: removed old auth hooks * chore: handled lint errors in use accounts * chore: updated authentication wrapper logic in web app * [WEB -1149] dev: update dependencies (#4333) * dev: upgrade dependencies remove unwanted dependency and add ruff as local dependency * dev: add comments * chore: authentication wrapper fetch user * chore: updated store loader * chore: removed old auth wrapper and replaced the imports with new auth wrapper * chore: join workspace invitation workflow updates * chore: build error resolved in deploy * chore: handled onboarding step error in web app * chore: SMTP Name and Password validation removed * chore: handled seo and signout logic and new user popup * chore: added redirection to plane in the sidebar * chore: resolved build errors * dev: admin session cookie update * chore: updated cookie session time for admin * dev: add start date and end date to projects (#4355) * chore: add email security dropdown and remove SMTP username and password validation. * chore: add tooltip to admin sidebar help-section. * chore: add dropdown to collapsed admin sidebar. * chore: profile themning * chore: updated page error messages and theme in command palette * dev: add email validation in email check apis * dev: remove start date and end date from project * chore: updated space folder structure and updated the store hooks * dev: error codes for authentication * chore: handled authentication in space and web apps * chore: banner redirect handling the email * dev: god mode error codes * chore: updated error codes * chore: updated onboarding images * dev: signout endpoints and saving login domain while creating sessions * feat: Self Host Data Backup (#4383) * feat: implemented backup , support for docker-compose tool, readme updated * minor fix in shell script * codacy fixes * chore: handled build errors in web * chore: updated react, react-dom, and next versions * chore: updated password autioset in the signin * dev: add logo prop to views and pages * chore: updated api service and handled the set password in store * chore: handled build errors and code cleanup * dev: return 401 when the session is not valid * dev: users/me exception for api * chore: installed lodash in space app * dev: add auth route in nginx --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: gurusainath <gurusainath007@gmail.com> Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com> Co-authored-by: Manish Gupta <59428681+mguptahub@users.noreply.github.com> Co-authored-by: Manish Gupta <manish@mgupta.me> Co-authored-by: rahulramesha <rahulramesham@gmail.com> Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com> Co-authored-by: Daniel Alba <56451942+redrum15@users.noreply.github.com> Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
416 lines
16 KiB
JavaScript
416 lines
16 KiB
JavaScript
const convertToRGB = (variableName) => `rgba(var(${variableName}))`;
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
darkMode: "class",
|
|
content: {
|
|
relative: true,
|
|
files: [
|
|
"./components/**/*.tsx",
|
|
"./constants/**/*.{js,ts,jsx,tsx}",
|
|
"./layouts/**/*.tsx",
|
|
"./pages/**/*.tsx",
|
|
"./app/**/*.tsx",
|
|
"./ui/**/*.tsx",
|
|
"../packages/ui/**/*.{js,ts,jsx,tsx}",
|
|
"../packages/editor/**/src/**/*.{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-shadow-4xl": "var(--color-shadow-4xl)",
|
|
"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)",
|
|
"custom-sidebar-shadow-4xl": "var(--color-sidebar-shadow-4xl)",
|
|
"onboarding-shadow-sm": "var(--color-onboarding-shadow-sm)",
|
|
},
|
|
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: "rgba(0, 0, 0, 0.25)",
|
|
},
|
|
onboarding: {
|
|
background: {
|
|
100: convertToRGB("--color-onboarding-background-100"),
|
|
200: convertToRGB("--color-onboarding-background-200"),
|
|
300: convertToRGB("--color-onboarding-background-300"),
|
|
400: convertToRGB("--color-onboarding-background-400"),
|
|
},
|
|
text: {
|
|
100: convertToRGB("--color-onboarding-text-100"),
|
|
200: convertToRGB("--color-onboarding-text-200"),
|
|
300: convertToRGB("--color-onboarding-text-300"),
|
|
400: convertToRGB("--color-onboarding-text-400"),
|
|
},
|
|
border: {
|
|
100: convertToRGB("--color-onboarding-border-100"),
|
|
200: convertToRGB("--color-onboarding-border-200"),
|
|
300: convertToRGB("--color-onboarding-border-300"),
|
|
},
|
|
},
|
|
toast: {
|
|
text: {
|
|
success: convertToRGB("--color-toast-success-text"),
|
|
error: convertToRGB("--color-toast-error-text"),
|
|
warning: convertToRGB("--color-toast-warning-text"),
|
|
info: convertToRGB("--color-toast-info-text"),
|
|
loading: convertToRGB("--color-toast-loading-text"),
|
|
secondary: convertToRGB("--color-toast-secondary-text"),
|
|
tertiary: convertToRGB("--color-toast-tertiary-text"),
|
|
},
|
|
background: {
|
|
success: convertToRGB("--color-toast-success-background"),
|
|
error: convertToRGB("--color-toast-error-background"),
|
|
warning: convertToRGB("--color-toast-warning-background"),
|
|
info: convertToRGB("--color-toast-info-background"),
|
|
loading: convertToRGB("--color-toast-loading-background"),
|
|
},
|
|
border: {
|
|
success: convertToRGB("--color-toast-success-border"),
|
|
error: convertToRGB("--color-toast-error-border"),
|
|
warning: convertToRGB("--color-toast-warning-border"),
|
|
info: convertToRGB("--color-toast-info-border"),
|
|
loading: convertToRGB("--color-toast-loading-border"),
|
|
},
|
|
},
|
|
},
|
|
keyframes: {
|
|
leftToaster: {
|
|
"0%": { left: "-20rem" },
|
|
"100%": { left: "0" },
|
|
},
|
|
rightToaster: {
|
|
"0%": { right: "-20rem" },
|
|
"100%": { right: "0" },
|
|
},
|
|
"bar-loader": {
|
|
from: { left: "-100%" },
|
|
to: { left: "100%" },
|
|
},
|
|
},
|
|
typography: () => ({
|
|
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-200"),
|
|
"--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-200"),
|
|
"--tw-prose-td-borders": convertToRGB("--color-border-200"),
|
|
},
|
|
},
|
|
}),
|
|
screens: {
|
|
"3xl": "1792px",
|
|
},
|
|
// scale down font sizes to 90% of default
|
|
fontSize: {
|
|
xs: "0.675rem",
|
|
sm: "0.7875rem",
|
|
base: "0.9rem",
|
|
lg: "1.0125rem",
|
|
xl: "1.125rem",
|
|
"2xl": "1.35rem",
|
|
"3xl": "1.6875rem",
|
|
"4xl": "2.25rem",
|
|
"5xl": "2.7rem",
|
|
"6xl": "3.375rem",
|
|
"7xl": "4.05rem",
|
|
"8xl": "5.4rem",
|
|
"9xl": "7.2rem",
|
|
},
|
|
// scale down spacing to 90% of default
|
|
padding: {
|
|
0: "0",
|
|
0.5: "0.1125rem",
|
|
1: "0.225rem",
|
|
1.5: "0.3375rem",
|
|
2: "0.45rem",
|
|
2.5: "0.5625rem",
|
|
3: "0.675rem",
|
|
3.5: "0.7875rem",
|
|
4: "0.9rem",
|
|
5: "1.125rem",
|
|
6: "1.35rem",
|
|
7: "1.575rem",
|
|
8: "1.8rem",
|
|
9: "2.025rem",
|
|
10: "2.25rem",
|
|
11: "2.475rem",
|
|
12: "2.7rem",
|
|
16: "3.6rem",
|
|
20: "4.5rem",
|
|
24: "5.4rem",
|
|
32: "7.2rem",
|
|
40: "9rem",
|
|
48: "10.8rem",
|
|
56: "12.6rem",
|
|
64: "14.4rem",
|
|
72: "16.2rem",
|
|
80: "18rem",
|
|
96: "21.6rem",
|
|
},
|
|
margin: {
|
|
0: "0",
|
|
0.5: "0.1125rem",
|
|
1: "0.225rem",
|
|
1.5: "0.3375rem",
|
|
2: "0.45rem",
|
|
2.5: "0.5625rem",
|
|
3: "0.675rem",
|
|
3.5: "0.7875rem",
|
|
4: "0.9rem",
|
|
5: "1.125rem",
|
|
6: "1.35rem",
|
|
7: "1.575rem",
|
|
8: "1.8rem",
|
|
9: "2.025rem",
|
|
10: "2.25rem",
|
|
11: "2.475rem",
|
|
12: "2.7rem",
|
|
16: "3.6rem",
|
|
20: "4.5rem",
|
|
24: "5.4rem",
|
|
32: "7.2rem",
|
|
40: "9rem",
|
|
48: "10.8rem",
|
|
56: "12.6rem",
|
|
64: "14.4rem",
|
|
72: "16.2rem",
|
|
80: "18rem",
|
|
96: "21.6rem",
|
|
},
|
|
space: {
|
|
0: "0",
|
|
0.5: "0.1125rem",
|
|
1: "0.225rem",
|
|
1.5: "0.3375rem",
|
|
2: "0.45rem",
|
|
2.5: "0.5625rem",
|
|
3: "0.675rem",
|
|
3.5: "0.7875rem",
|
|
4: "0.9rem",
|
|
5: "1.125rem",
|
|
6: "1.35rem",
|
|
7: "1.575rem",
|
|
8: "1.8rem",
|
|
9: "2.025rem",
|
|
10: "2.25rem",
|
|
11: "2.475rem",
|
|
12: "2.7rem",
|
|
16: "3.6rem",
|
|
20: "4.5rem",
|
|
24: "5.4rem",
|
|
32: "7.2rem",
|
|
40: "9rem",
|
|
48: "10.8rem",
|
|
56: "12.6rem",
|
|
64: "14.4rem",
|
|
72: "16.2rem",
|
|
80: "18rem",
|
|
96: "21.6rem",
|
|
},
|
|
gap: {
|
|
0: "0",
|
|
0.5: "0.1125rem",
|
|
1: "0.225rem",
|
|
1.5: "0.3375rem",
|
|
2: "0.45rem",
|
|
2.5: "0.5625rem",
|
|
3: "0.675rem",
|
|
3.5: "0.7875rem",
|
|
4: "0.9rem",
|
|
5: "1.125rem",
|
|
6: "1.35rem",
|
|
7: "1.575rem",
|
|
8: "1.8rem",
|
|
9: "2.025rem",
|
|
10: "2.25rem",
|
|
11: "2.475rem",
|
|
12: "2.7rem",
|
|
16: "3.6rem",
|
|
20: "4.5rem",
|
|
24: "5.4rem",
|
|
32: "7.2rem",
|
|
40: "9rem",
|
|
48: "10.8rem",
|
|
56: "12.6rem",
|
|
64: "14.4rem",
|
|
72: "16.2rem",
|
|
80: "18rem",
|
|
96: "21.6rem",
|
|
},
|
|
backgroundImage: {
|
|
"onboarding-gradient-100": "var( --gradient-onboarding-100)",
|
|
"onboarding-gradient-200": "var( --gradient-onboarding-200)",
|
|
"onboarding-gradient-300": "var( --gradient-onboarding-300)",
|
|
},
|
|
},
|
|
fontFamily: {
|
|
custom: ["Inter", "sans-serif"],
|
|
},
|
|
},
|
|
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
|
|
};
|