-
-
- Create new project
-
-
-
-
-
-
+ <>
+ {/* Desktop */}
+
+
+
+ {heading}
+
+ {/* Cannot save btn as variable since responsive variant don't work with compoundVariant */}
+
+ }
+ aria-label="close"
+ />
+
+
+
-
-
-
-
+
+ {/* Mobile */}
+ {/* Setting modal={false} so even if modal is active on desktop, it doesn't block clicks */}
+
+
+ {/* Not using since modal={false} disables it and its content will not show */}
+
+
+ {/* Heading */}
+
+ {heading}
+
+
+ }
+ aria-label="close"
+ size="sm"
+ />
+
+
+
+
+ {/* Border */}
+
+
+ {/* Page content */}
+
+
+
+
+
+
+
+ >
);
};
diff --git a/packages/frontend/tailwind.config.js b/packages/frontend/tailwind.config.js
index 4efc11fe..b5fa02b0 100644
--- a/packages/frontend/tailwind.config.js
+++ b/packages/frontend/tailwind.config.js
@@ -87,6 +87,7 @@ export default withMT({
900: '#0a3a5c',
},
base: {
+ canvas: '#ECF6FE',
bg: '#ffffff',
'bg-alternate': '#f8fafc',
'bg-emphasized': '#f1f5f9',
diff --git a/yarn.lock b/yarn.lock
index 60ab1754..e44f8793 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3786,6 +3786,27 @@
dependencies:
"@babel/runtime" "^7.13.10"
+"@radix-ui/react-dialog@^1.0.5":
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/@radix-ui/react-dialog/-/react-dialog-1.0.5.tgz#71657b1b116de6c7a0b03242d7d43e01062c7300"
+ integrity sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==
+ dependencies:
+ "@babel/runtime" "^7.13.10"
+ "@radix-ui/primitive" "1.0.1"
+ "@radix-ui/react-compose-refs" "1.0.1"
+ "@radix-ui/react-context" "1.0.1"
+ "@radix-ui/react-dismissable-layer" "1.0.5"
+ "@radix-ui/react-focus-guards" "1.0.1"
+ "@radix-ui/react-focus-scope" "1.0.4"
+ "@radix-ui/react-id" "1.0.1"
+ "@radix-ui/react-portal" "1.0.4"
+ "@radix-ui/react-presence" "1.0.1"
+ "@radix-ui/react-primitive" "1.0.3"
+ "@radix-ui/react-slot" "1.0.2"
+ "@radix-ui/react-use-controllable-state" "1.0.1"
+ aria-hidden "^1.1.1"
+ react-remove-scroll "2.5.5"
+
"@radix-ui/react-direction@1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@radix-ui/react-direction/-/react-direction-1.0.1.tgz#9cb61bf2ccf568f3421422d182637b7f47596c9b"