mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
6b4084287c
* chore: improve access field for comments for public boards (#1956) Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> * chore: update user activity endpoint to return only workspace activities (#1980) * fix: n+1 in issue history and issue automation tasks (#1994) * fix: issue exports in self hosted instances (#1996) * fix: issue exports in self hosted instances * dev: remove print logs * dev: update url creation function * fix: changed the presigned url for self hosted exports --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> * dev: remove gunicorn config (#1999) * feat: mark all read notifications (#1963) * feat: mark all read notifications * fix: changed string to boolean * fix: changed snoozed condition * chore: project public board issue retrieve (#2003) * chore: project public board issue retrieve * dev: project issues list endpoint * fix: issue public retrieve endpoint * fix: only external comments will show in deploy boards (#2010) * fix: issue votes (#2006) * fix: issue votes * fix: added default as 1 in vote * fix: issue vote migration file * fix: access creation in comments (#2013) * dev: user timezone select option (#2002) * fix: start date filter not working on the platform (#2007) * feat: access selector for comment (#2012) * dev: access specifier for comment * chore: change access order * style: revamp of the issue details sidebar (#2014) * chore: update module status icons and colors (#2011) * chore: update module status icons and colors * refactor: import statements * fix: add default alue to module status * chore: track public board comments and reaction users for public deploy boards (#1972) * chore: track project deploy board comment and reaction users for public deploy boards * dev: remove tracking from project viewsets * feat: user timezones (#2009) * dev: user timezones * feat: user timezones * fix: user created by stats (#2016) * fix: asset key validation (#1938) * fix: asset key validation * chore: asset key validation in user assets --------- Co-authored-by: Bavisetti Narayan <narayan@Bavisettis-MacBook-Pro.local> * dev: revamp peek overview (#2021) * dev: mobx for issues store * refactor: peek overview component * chore: update open issue button * fix: issue mutation after any crud action * chore: remove peek overview from gantt * chore: refactor code * chore: tracking the history of issue reactions and votes. (#2020) * chore: tracking the issues reaction and vote history * fix: changed the keywords for vote and reaction * chore: added validation * dev: revamp publish project modal (#2022) * dev: revamp publish project modal * chore: sidebar dropdown text * fix: bugs on the user profile page (#2018) * chore: return issue votes in public issue list endpoint (#2026) * style: list view * [feat]: Tiptap table integration (#2008) * added basic table support * fixed table position at bottom * fixed image node deletion logic's regression issue * added compatible styles * enabled slash commands * disabled slash command and bubble menu's node selector for table cells * added dropcursor support to type below the table/image * blocked image uploads for handledrop and paste actions * style: kanban view * style: tiptap table (#2033) * style: theming added * chore: issue reactions and votes --------- Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: Bavisetti Narayan <narayan@Bavisettis-MacBook-Pro.local> Co-authored-by: M. Palanikannan <73993394+Palanikannan1437@users.noreply.github.com>
235 lines
10 KiB
CSS
235 lines
10 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap");
|
|
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0&display=swap");
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
html {
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
:root {
|
|
color-scheme: light !important;
|
|
|
|
--color-primary-10: 236, 241, 255;
|
|
--color-primary-20: 217, 228, 255;
|
|
--color-primary-30: 197, 214, 255;
|
|
--color-primary-40: 178, 200, 255;
|
|
--color-primary-50: 159, 187, 255;
|
|
--color-primary-60: 140, 173, 255;
|
|
--color-primary-70: 121, 159, 255;
|
|
--color-primary-80: 101, 145, 255;
|
|
--color-primary-90: 82, 132, 255;
|
|
--color-primary-100: 63, 118, 255;
|
|
--color-primary-200: 57, 106, 230;
|
|
--color-primary-300: 50, 94, 204;
|
|
--color-primary-400: 44, 83, 179;
|
|
--color-primary-500: 38, 71, 153;
|
|
--color-primary-600: 32, 59, 128;
|
|
--color-primary-700: 25, 47, 102;
|
|
--color-primary-800: 19, 35, 76;
|
|
--color-primary-900: 13, 24, 51;
|
|
|
|
--color-background-100: 255, 255, 255; /* primary bg */
|
|
--color-background-90: 250, 250, 250; /* secondary bg */
|
|
--color-background-80: 245, 245, 245; /* tertiary bg */
|
|
|
|
--color-text-100: 23, 23, 23; /* primary text */
|
|
--color-text-200: 58, 58, 58; /* secondary text */
|
|
--color-text-300: 82, 82, 82; /* tertiary text */
|
|
--color-text-400: 163, 163, 163; /* placeholder text */
|
|
|
|
--color-border-100: 245, 245, 245; /* subtle border= 1 */
|
|
--color-border-200: 229, 229, 229; /* subtle border- 2 */
|
|
--color-border-300: 212, 212, 212; /* strong border- 1 */
|
|
--color-border-400: 185, 185, 185; /* strong border- 2 */
|
|
|
|
--color-shadow-2xs: 0px 0px 1px 0px rgba(23, 23, 23, 0.06), 0px 1px 2px 0px rgba(23, 23, 23, 0.06),
|
|
0px 1px 2px 0px rgba(23, 23, 23, 0.14);
|
|
--color-shadow-xs: 0px 1px 2px 0px rgba(0, 0, 0, 0.16), 0px 2px 4px 0px rgba(16, 24, 40, 0.12),
|
|
0px 1px 8px -1px rgba(16, 24, 40, 0.1);
|
|
--color-shadow-sm: 0px 1px 4px 0px rgba(0, 0, 0, 0.01), 0px 4px 8px 0px rgba(0, 0, 0, 0.02),
|
|
0px 1px 12px 0px rgba(0, 0, 0, 0.12);
|
|
--color-shadow-rg: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 4px 4px 0px rgba(16, 24, 40, 0.08),
|
|
0px 1px 12px 0px rgba(16, 24, 40, 0.04);
|
|
--color-shadow-md: 0px 4px 8px 0px rgba(0, 0, 0, 0.12), 0px 6px 12px 0px rgba(16, 24, 40, 0.12),
|
|
0px 1px 16px 0px rgba(16, 24, 40, 0.12);
|
|
--color-shadow-lg: 0px 6px 12px 0px rgba(0, 0, 0, 0.12), 0px 8px 16px 0px rgba(0, 0, 0, 0.12),
|
|
0px 1px 24px 0px rgba(16, 24, 40, 0.12);
|
|
--color-shadow-xl: 0px 0px 18px 0px rgba(0, 0, 0, 0.16), 0px 0px 24px 0px rgba(16, 24, 40, 0.16),
|
|
0px 0px 52px 0px rgba(16, 24, 40, 0.16);
|
|
--color-shadow-2xl: 0px 8px 16px 0px rgba(0, 0, 0, 0.12), 0px 12px 24px 0px rgba(16, 24, 40, 0.12),
|
|
0px 1px 32px 0px rgba(16, 24, 40, 0.12);
|
|
--color-shadow-3xl: 0px 12px 24px 0px rgba(0, 0, 0, 0.12), 0px 16px 32px 0px rgba(0, 0, 0, 0.12),
|
|
0px 1px 48px 0px rgba(16, 24, 40, 0.12);
|
|
|
|
--color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */
|
|
--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */
|
|
--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */
|
|
|
|
--color-sidebar-text-100: var(--color-text-100); /* primary sidebar text */
|
|
--color-sidebar-text-200: var(--color-text-200); /* secondary sidebar text */
|
|
--color-sidebar-text-300: var(--color-text-300); /* tertiary sidebar text */
|
|
--color-sidebar-text-400: var(--color-text-400); /* sidebar placeholder text */
|
|
|
|
--color-sidebar-border-100: var(--color-border-100); /* subtle sidebar border= 1 */
|
|
--color-sidebar-border-200: var(--color-border-100); /* subtle sidebar border- 2 */
|
|
--color-sidebar-border-300: var(--color-border-100); /* strong sidebar border- 1 */
|
|
--color-sidebar-border-400: var(--color-border-100); /* strong sidebar border- 2 */
|
|
|
|
--color-sidebar-shadow-2xs: var(--color-shadow-2xs);
|
|
--color-sidebar-shadow-xs: var(--color-shadow-xs);
|
|
--color-sidebar-shadow-sm: var(--color-shadow-sm);
|
|
--color-sidebar-shadow-rg: var(--color-shadow-rg);
|
|
--color-sidebar-shadow-md: var(--color-shadow-md);
|
|
--color-sidebar-shadow-lg: var(--color-shadow-lg);
|
|
--color-sidebar-shadow-xl: var(--color-shadow-xl);
|
|
--color-sidebar-shadow-2xl: var(--color-shadow-2xl);
|
|
--color-sidebar-shadow-3xl: var(--color-shadow-3xl);
|
|
}
|
|
|
|
[data-theme="light"],
|
|
[data-theme="light-contrast"] {
|
|
color-scheme: light !important;
|
|
|
|
--color-background-100: 255, 255, 255; /* primary bg */
|
|
--color-background-90: 250, 250, 250; /* secondary bg */
|
|
--color-background-80: 245, 245, 245; /* tertiary bg */
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
--color-text-100: 23, 23, 23; /* primary text */
|
|
--color-text-200: 58, 58, 58; /* secondary text */
|
|
--color-text-300: 82, 82, 82; /* tertiary text */
|
|
--color-text-400: 163, 163, 163; /* placeholder text */
|
|
|
|
--color-border-100: 245, 245, 245; /* subtle border= 1 */
|
|
--color-border-200: 229, 229, 229; /* subtle border- 2 */
|
|
--color-border-300: 212, 212, 212; /* strong border- 1 */
|
|
--color-border-400: 185, 185, 185; /* strong border- 2 */
|
|
}
|
|
|
|
[data-theme="light-contrast"] {
|
|
--color-text-100: 11, 11, 11; /* primary text */
|
|
--color-text-200: 38, 38, 38; /* secondary text */
|
|
--color-text-300: 58, 58, 58; /* tertiary text */
|
|
--color-text-400: 115, 115, 115; /* placeholder text */
|
|
|
|
--color-border-100: 34, 34, 34; /* subtle border= 1 */
|
|
--color-border-200: 38, 38, 38; /* subtle border- 2 */
|
|
--color-border-300: 46, 46, 46; /* strong border- 1 */
|
|
--color-border-400: 58, 58, 58; /* strong border- 2 */
|
|
}
|
|
|
|
[data-theme="dark"],
|
|
[data-theme="dark-contrast"] {
|
|
color-scheme: dark !important;
|
|
|
|
--color-background-100: 7, 7, 7; /* primary bg */
|
|
--color-background-90: 11, 11, 11; /* secondary bg */
|
|
--color-background-80: 23, 23, 23; /* tertiary bg */
|
|
|
|
--color-shadow-2xs: 0px 0px 1px 0px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.5);
|
|
--color-shadow-xs: 0px 0px 2px 0px rgba(0, 0, 0, 0.2), 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
|
|
--color-shadow-sm: 0px 0px 4px 0px rgba(0, 0, 0, 0.2), 0px 2px 6px 0px rgba(0, 0, 0, 0.5);
|
|
--color-shadow-rg: 0px 0px 6px 0px rgba(0, 0, 0, 0.2), 0px 4px 6px 0px rgba(0, 0, 0, 0.5);
|
|
--color-shadow-md: 0px 2px 8px 0px rgba(0, 0, 0, 0.2), 0px 4px 8px 0px rgba(0, 0, 0, 0.5);
|
|
--color-shadow-lg: 0px 4px 12px 0px rgba(0, 0, 0, 0.25), 0px 4px 10px 0px rgba(0, 0, 0, 0.55);
|
|
--color-shadow-xl: 0px 0px 14px 0px rgba(0, 0, 0, 0.25), 0px 6px 10px 0px rgba(0, 0, 0, 0.55);
|
|
--color-shadow-2xl: 0px 0px 18px 0px rgba(0, 0, 0, 0.25), 0px 8px 12px 0px rgba(0, 0, 0, 0.6);
|
|
--color-shadow-3xl: 0px 4px 24px 0px rgba(0, 0, 0, 0.3), 0px 12px 40px 0px rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--color-text-100: 229, 229, 229; /* primary text */
|
|
--color-text-200: 163, 163, 163; /* secondary text */
|
|
--color-text-300: 115, 115, 115; /* tertiary text */
|
|
--color-text-400: 82, 82, 82; /* placeholder text */
|
|
|
|
--color-border-100: 34, 34, 34; /* subtle border= 1 */
|
|
--color-border-200: 38, 38, 38; /* subtle border- 2 */
|
|
--color-border-300: 46, 46, 46; /* strong border- 1 */
|
|
--color-border-400: 58, 58, 58; /* strong border- 2 */
|
|
}
|
|
|
|
[data-theme="dark-contrast"] {
|
|
--color-text-100: 250, 250, 250; /* primary text */
|
|
--color-text-200: 241, 241, 241; /* secondary text */
|
|
--color-text-300: 212, 212, 212; /* tertiary text */
|
|
--color-text-400: 115, 115, 115; /* placeholder text */
|
|
|
|
--color-border-100: 245, 245, 245; /* subtle border= 1 */
|
|
--color-border-200: 229, 229, 229; /* subtle border- 2 */
|
|
--color-border-300: 212, 212, 212; /* strong border- 1 */
|
|
--color-border-400: 185, 185, 185; /* strong border- 2 */
|
|
}
|
|
|
|
[data-theme="light"],
|
|
[data-theme="dark"],
|
|
[data-theme="light-contrast"],
|
|
[data-theme="dark-contrast"] {
|
|
--color-primary-10: 236, 241, 255;
|
|
--color-primary-20: 217, 228, 255;
|
|
--color-primary-30: 197, 214, 255;
|
|
--color-primary-40: 178, 200, 255;
|
|
--color-primary-50: 159, 187, 255;
|
|
--color-primary-60: 140, 173, 255;
|
|
--color-primary-70: 121, 159, 255;
|
|
--color-primary-80: 101, 145, 255;
|
|
--color-primary-90: 82, 132, 255;
|
|
--color-primary-100: 63, 118, 255;
|
|
--color-primary-200: 57, 106, 230;
|
|
--color-primary-300: 50, 94, 204;
|
|
--color-primary-400: 44, 83, 179;
|
|
--color-primary-500: 38, 71, 153;
|
|
--color-primary-600: 32, 59, 128;
|
|
--color-primary-700: 25, 47, 102;
|
|
--color-primary-800: 19, 35, 76;
|
|
--color-primary-900: 13, 24, 51;
|
|
|
|
--color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */
|
|
--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */
|
|
--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */
|
|
|
|
--color-sidebar-text-100: var(--color-text-100); /* primary sidebar text */
|
|
--color-sidebar-text-200: var(--color-text-200); /* secondary sidebar text */
|
|
--color-sidebar-text-300: var(--color-text-300); /* tertiary sidebar text */
|
|
--color-sidebar-text-400: var(--color-text-400); /* sidebar placeholder text */
|
|
|
|
--color-sidebar-border-100: var(--color-border-100); /* subtle sidebar border= 1 */
|
|
--color-sidebar-border-200: var(--color-border-100); /* subtle sidebar border- 2 */
|
|
--color-sidebar-border-300: var(--color-border-100); /* strong sidebar border- 1 */
|
|
--color-sidebar-border-400: var(--color-border-100); /* strong sidebar border- 2 */
|
|
}
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: rgba(var(--color-background-100));
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
background-color: rgba(var(--color-background-80));
|
|
}
|
|
|
|
.hide-vertical-scrollbar::-webkit-scrollbar {
|
|
width: 0 !important;
|
|
}
|
|
|
|
.hide-horizontal-scrollbar::-webkit-scrollbar {
|
|
height: 0 !important;
|
|
}
|
|
|
|
.hide-both-scrollbars::-webkit-scrollbar {
|
|
height: 0 !important;
|
|
width: 0 !important;
|
|
}
|