Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

style: update auth screens to use new logo

Brad Barbindcc271e60268
diff --git a/apps/erp/app/hooks/useMode.tsx b/apps/erp/app/hooks/useMode.tsx
index 580d9fbd9e..fb53ee0eb7 100644
--- a/apps/erp/app/hooks/useMode.tsx
+++ b/apps/erp/app/hooks/useMode.tsx
@@ -22,7 +22,7 @@ export function useMode() {
const optimisticMode = useOptimisticMode();
const routeData = useRouteData<{ mode: Mode }>(path.to.root);
- let mode = routeData?.mode ?? "dark";
+ let mode = routeData?.mode ?? "light";
if (optimisticMode && optimisticMode !== "system") {
mode = optimisticMode;
diff --git a/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx b/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx
index 6e23f41d20..1b235e1518 100644
--- a/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx
+++ b/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx
@@ -16,9 +16,11 @@ import {
import { useOptimisticLocation } from "@carbon/remix";
import { Link, useNavigate, useParams } from "@remix-run/react";
import { useRef, useState } from "react";
+import { CSVLink } from "react-csv";
import {
LuChevronDown,
LuChevronRight,
+ LuDownload,
LuExternalLink,
LuSearch,
} from "react-icons/lu";
@@ -31,7 +33,7 @@ import { OnshapeSync } from "~/integrations/onshape/lib/OnshapeSync";
import { type MethodItemType } from "~/modules/shared";
import { useBom } from "~/stores";
import { path } from "~/utils/path";
-import type { Method } from "../../types";
+import type { MakeMethod, Method } from "../../types";
import { getLinkToItemDetails } from "./ItemForm";
type BoMExplorerProps = {
@@ -58,14 +60,23 @@ const BoMExplorer = ({
status: makeMethodStatus,
} = makeMethod;
+ const csvData = methods.map((node) => ({
+ "Item ID": node.data.itemReadableId,
+ Description: node.data.description,
+ Quantity: node.data.quantity,
+ UOM: node.data.unitOfMeasureCode,
+ "Method Type": node.data.methodType,
+ "Item Type": node.data.itemType,
+ Level: node.level,
+ Version: node.data.version || "",
+ }));
+
const {
nodes,
getTreeProps,
getNodeProps,
- // toggleNodeSelection,
toggleExpandNode,
expandAllBelowDepth,
- // toggleExpandLevel,
collapseAllBelowDepth,
selectNode,
scrollToNode,
@@ -73,7 +84,6 @@ const BoMExplorer = ({
} = useTree({
tree: methods,
selectedId,
- // collapsedIds,
onSelectedIdChanged: () => {},
estimatedRowHeight: () => 40,
parentRef,
@@ -118,7 +128,7 @@ const BoMExplorer = ({
return (
<VStack>
- <HStack className="w-full">
+ <HStack className="w-full justify-between">
<InputGroup size="sm" className="flex flex-grow">
<InputLeftElement>
<LuSearch className="h-4 w-4" />
@@ -129,6 +139,13 @@ const BoMExplorer = ({
onChange={(e) => setFilterText(e.target.value)}
/>
</InputGroup>
+ <CSVLink
+ data={csvData}
+ filename={`bom-${makeMethod.id}-v${makeMethodVersion}.csv`}
+ className="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-secondary text-secondary-foreground hover:bg-secondary/80 h-9 w-9"
+ >
+ <LuDownload className="h-4 w-4" />
+ </CSVLink>
</HStack>
{integrations.has("onshape") && (
<OnshapeSync
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsx
index e475b839c9..647cd06f30 100644
--- a/apps/erp/app/root.tsx
+++ b/apps/erp/app/root.tsx
@@ -167,7 +167,7 @@ export default function App() {
const loaderData = useLoaderData<typeof loader>();
const env = loaderData?.env ?? {};
const result = loaderData?.result;
- const theme = loaderData?.theme ?? "zinc";
+ const theme = loaderData?.theme ?? "blue";
const mode = useMode();
useMount(() => {
diff --git a/apps/erp/app/routes/_public+/_layout.tsx b/apps/erp/app/routes/_public+/_layout.tsx
index 21a90810be..dfffb6c9ff 100644
--- a/apps/erp/app/routes/_public+/_layout.tsx
+++ b/apps/erp/app/routes/_public+/_layout.tsx
@@ -1,16 +1,40 @@
-import { VStack } from "@carbon/react";
import { Outlet } from "@remix-run/react";
+import { Heading } from "@carbon/react";
+
export default function PublicRoute() {
return (
- <div className="flex min-h-screen min-w-screen">
- <VStack
- spacing={8}
- className="items-center justify-start pt-[16dvh] mx-auto max-w-lg z-[3]"
- >
- <Outlet />
- </VStack>
- {/* <Background /> */}
+ <div className="container relative h-full flex-col items-center justify-center grid lg:max-w-none lg:grid-cols-2 lg:px-0">
+ <div className="relative hidden h-full flex-col bg-muted p-10 lg:flex dark:border-r dark:bg-zinc-900 bg-zinc-100">
+ <img
+ src="/carbon-word-light.svg"
+ alt="Carbon Logo"
+ className="max-w-[240px] mb-3 dark:hidden z-50"
+ />
+ <img
+ src="/carbon-word-dark.svg"
+ alt="Carbon Logo"
+ className="max-w-[240px] mb-3 dark:block hidden z-50"
+ />
+
+ <div className="relative z-20 mt-auto">
+ <blockquote className="space-y-2">
+ <Heading size="display" className="text-foreground">
+ Let's build something
+ <span className="inline-block">
+ <span className="loading-dot">.</span>
+ <span className="loading-dot">.</span>
+ <span className="loading-dot">.</span>
+ </span>
+ </Heading>
+ </blockquote>
+ </div>
+ </div>
+ <div className="lg:p-8">
+ <div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
+ <Outlet />
+ </div>
+ </div>
</div>
);
}
diff --git a/apps/erp/app/routes/_public+/callback.tsx b/apps/erp/app/routes/_public+/callback.tsx
index e72cd4916f..1999338111 100644
--- a/apps/erp/app/routes/_public+/callback.tsx
+++ b/apps/erp/app/routes/_public+/callback.tsx
@@ -139,12 +139,8 @@ export default function AuthCallback() {
return (
<div className="flex flex-col items-center justify-center">
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
{error ? (
<div className="rounded-lg md:bg-card md:border md:border-border md:shadow-lg p-8 mt-8 w-[380px]">
diff --git a/apps/erp/app/routes/_public+/forgot-password.tsx b/apps/erp/app/routes/_public+/forgot-password.tsx
index decaaf563e..0b2ce646bc 100644
--- a/apps/erp/app/routes/_public+/forgot-password.tsx
+++ b/apps/erp/app/routes/_public+/forgot-password.tsx
@@ -84,12 +84,8 @@ export default function ForgotPasswordRoute() {
return (
<>
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
{actionData?.success ? (
<Alert
diff --git a/apps/erp/app/routes/_public+/invite.$code.tsx b/apps/erp/app/routes/_public+/invite.$code.tsx
index dd1ab2b29b..e6efe2cc66 100644
--- a/apps/erp/app/routes/_public+/invite.$code.tsx
+++ b/apps/erp/app/routes/_public+/invite.$code.tsx
@@ -89,12 +89,8 @@ export default function Invite() {
spacing={4}
className="max-w-lg pt-[16dvh] items-center text-center"
>
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
<VStack spacing={2} className="text-center w-full">
<Heading className="w-full text-center">Invalid Invite</Heading>
@@ -122,7 +118,7 @@ export default function Invite() {
transition={{ duration: 2, ease: "easeInOut" }}
src="/carbon-logo-mark.svg"
alt="Carbon Logo"
- className="block max-w-[60px] mb-3"
+ className="w-36 mb-3"
/>
<Heading
diff --git a/apps/erp/app/routes/_public+/login.tsx b/apps/erp/app/routes/_public+/login.tsx
index 1036c03262..f537c180c6 100644
--- a/apps/erp/app/routes/_public+/login.tsx
+++ b/apps/erp/app/routes/_public+/login.tsx
@@ -89,12 +89,8 @@ export default function LoginRoute() {
return (
<>
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
<div className="rounded-lg md:bg-card md:border md:border-border md:shadow-lg p-8 w-[380px]">
<ValidatedForm
@@ -128,6 +124,28 @@ export default function LoginRoute() {
</VStack>
</ValidatedForm>
</div>
+ <div className="text-sm text-muted-foreground w-[380px] mt-4">
+ <p>
+ By signing in, you agree to the{" "}
+ <a
+ href="https://carbon.ms/terms"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Terms of Service
+ </a>{" "}
+ and{" "}
+ <a
+ href="https://carbon.ms/privacy"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Privacy Policy.
+ </a>
+ </p>
+ </div>
</>
);
}
diff --git a/apps/erp/app/routes/_public+/magic-link.tsx b/apps/erp/app/routes/_public+/magic-link.tsx
index 04f767071f..a73b09f6ff 100644
--- a/apps/erp/app/routes/_public+/magic-link.tsx
+++ b/apps/erp/app/routes/_public+/magic-link.tsx
@@ -37,7 +37,7 @@ export default function ConfirmMagicLink() {
transition={{ duration: 1, ease: "easeInOut" }}
src="/carbon-logo-mark.svg"
alt="Carbon Logo"
- className="block max-w-[60px] mb-3"
+ className="w-36 mb-3"
/>
<Heading
diff --git a/apps/erp/app/routes/_public+/reset-password.tsx b/apps/erp/app/routes/_public+/reset-password.tsx
index ced3188567..55796208c6 100644
--- a/apps/erp/app/routes/_public+/reset-password.tsx
+++ b/apps/erp/app/routes/_public+/reset-password.tsx
@@ -57,12 +57,8 @@ export default function ResetPasswordRoute() {
return (
<>
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
<div className="rounded-lg bg-card border border-border shadow-lg p-8 w-[380px]">
<ValidatedForm
diff --git a/apps/erp/app/routes/onboarding+/_index.tsx b/apps/erp/app/routes/onboarding+/_index.tsx
index 3a92a4499c..dc505a2c0c 100644
--- a/apps/erp/app/routes/onboarding+/_index.tsx
+++ b/apps/erp/app/routes/onboarding+/_index.tsx
@@ -21,7 +21,7 @@ export default function GetStarted() {
transition={{ duration: 2, ease: "easeInOut" }}
src="/carbon-logo-mark.svg"
alt="Carbon Logo"
- className="block max-w-[60px] mb-3"
+ className="w-36 mb-3"
/>
<Heading
diff --git a/apps/erp/app/services/mode.server.ts b/apps/erp/app/services/mode.server.ts
index 4d4f726625..c5f8184432 100644
--- a/apps/erp/app/services/mode.server.ts
+++ b/apps/erp/app/services/mode.server.ts
@@ -6,7 +6,9 @@ const cookieName = "mode";
export function getMode(request: Request): Mode | null {
const cookieHeader = request.headers.get("cookie");
- const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "dark";
+ const parsed = cookieHeader
+ ? cookie.parse(cookieHeader)[cookieName]
+ : "light";
if (parsed === "light" || parsed === "dark") return parsed;
return null;
}
diff --git a/apps/erp/app/services/theme.server.ts b/apps/erp/app/services/theme.server.ts
index 1dee416ab8..3b86a27d32 100644
--- a/apps/erp/app/services/theme.server.ts
+++ b/apps/erp/app/services/theme.server.ts
@@ -17,9 +17,9 @@ type Theme = (typeof themes)[number];
export function getTheme(request: Request): Theme {
const cookieHeader = request.headers.get("cookie");
- const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "zinc";
+ const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "blue";
if (themes.includes(parsed as Theme)) return parsed as Theme;
- return "zinc";
+ return "blue";
}
export function setTheme(theme: string) {
diff --git a/apps/erp/app/styles/tailwind.css b/apps/erp/app/styles/tailwind.css
index 6d0b39a71a..73a3ebb845 100644
--- a/apps/erp/app/styles/tailwind.css
+++ b/apps/erp/app/styles/tailwind.css
@@ -120,11 +120,39 @@ p.is-editor-empty:first-child:before {
}
@keyframes thinking-spin-outer {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(360deg);
+ }
}
@keyframes thinking-spin-inner {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(-720deg); }
-}
\ No newline at end of file
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(-720deg);
+ }
+}
+
+@keyframes loading {
+ 0%,
+ 100% {
+ opacity: 0;
+ }
+ 50% {
+ opacity: 1;
+ }
+}
+.loading-dot {
+ animation: loading 1.4s ease-in-out infinite;
+ opacity: 0;
+}
+.loading-dot:nth-child(2) {
+ animation-delay: 0.2s;
+}
+.loading-dot:nth-child(3) {
+ animation-delay: 0.4s;
+}
diff --git a/apps/erp/public/carbon-word-dark.png b/apps/erp/public/carbon-word-dark.png
new file mode 100644
index 0000000000..3606059a75
Binary files /dev/null and b/apps/erp/public/carbon-word-dark.png differ
diff --git a/apps/erp/public/carbon-word-dark.svg b/apps/erp/public/carbon-word-dark.svg
new file mode 100644
index 0000000000..b555c4b360
--- /dev/null
+++ b/apps/erp/public/carbon-word-dark.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="white"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="white"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="white"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="white"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="white"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="white"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L0 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M0 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L0 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/apps/erp/public/carbon-word-light.png b/apps/erp/public/carbon-word-light.png
new file mode 100644
index 0000000000..becd8f13bb
Binary files /dev/null and b/apps/erp/public/carbon-word-light.png differ
diff --git a/apps/erp/public/carbon-word-light.svg b/apps/erp/public/carbon-word-light.svg
new file mode 100644
index 0000000000..3e899a2d1b
--- /dev/null
+++ b/apps/erp/public/carbon-word-light.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="#212278"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="#212278"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="#212278"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="#212278"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="#212278"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="#212278"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L-1.52588e-05 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M-1.52588e-05 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L-1.52588e-05 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/apps/mes/app/hooks/useMode.tsx b/apps/mes/app/hooks/useMode.tsx
index 580d9fbd9e..fb53ee0eb7 100644
--- a/apps/mes/app/hooks/useMode.tsx
+++ b/apps/mes/app/hooks/useMode.tsx
@@ -22,7 +22,7 @@ export function useMode() {
const optimisticMode = useOptimisticMode();
const routeData = useRouteData<{ mode: Mode }>(path.to.root);
- let mode = routeData?.mode ?? "dark";
+ let mode = routeData?.mode ?? "light";
if (optimisticMode && optimisticMode !== "system") {
mode = optimisticMode;
diff --git a/apps/mes/app/root.tsx b/apps/mes/app/root.tsx
index 1f2593fe7c..07657f0872 100644
--- a/apps/mes/app/root.tsx
+++ b/apps/mes/app/root.tsx
@@ -169,7 +169,7 @@ export default function App() {
const loaderData = useLoaderData<typeof loader>();
const env = loaderData?.env ?? {};
const result = loaderData?.result;
- const theme = loaderData?.theme ?? "zinc";
+ const theme = loaderData?.theme ?? "blue";
/* Toast Messages */
useEffect(() => {
diff --git a/apps/mes/app/routes/_public+/_layout.tsx b/apps/mes/app/routes/_public+/_layout.tsx
index 69e3446830..f3b62b6fc6 100644
--- a/apps/mes/app/routes/_public+/_layout.tsx
+++ b/apps/mes/app/routes/_public+/_layout.tsx
@@ -1,24 +1,25 @@
import { Outlet } from "@remix-run/react";
-import { BsHexagonFill } from "react-icons/bs";
import { Heading } from "@carbon/react";
export default function PublicRoute() {
return (
<div className="container relative h-full flex-col items-center justify-center grid lg:max-w-none lg:grid-cols-2 lg:px-0">
- <div className="relative hidden h-full flex-col bg-muted p-10 lg:flex dark:border-r">
- <div className="absolute inset-0 bg-zinc-900" />
- <Heading
- size="h1"
- className="relative z-20 flex items-center text-white"
- >
- <BsHexagonFill className="w-6 h-6 mr-2" />
- Carbon
- </Heading>
+ <div className="relative hidden h-full flex-col bg-muted p-10 lg:flex dark:border-r dark:bg-zinc-900 bg:zinc-100">
+ <img
+ src="/carbon-word-light.svg"
+ alt="Carbon Logo"
+ className="max-w-[240px] mb-3 dark:hidden z-50"
+ />
+ <img
+ src="/carbon-word-dark.svg"
+ alt="Carbon Logo"
+ className="max-w-[240px] mb-3 dark:block hidden z-50"
+ />
<div className="relative z-20 mt-auto">
<blockquote className="space-y-2">
- <Heading size="display" className="text-white/90">
+ <Heading size="display" className="text-foreground">
Let's build something
<span className="inline-block">
<span className="loading-dot">.</span>
diff --git a/apps/mes/app/routes/_public+/callback.tsx b/apps/mes/app/routes/_public+/callback.tsx
index d304378053..930dc69143 100644
--- a/apps/mes/app/routes/_public+/callback.tsx
+++ b/apps/mes/app/routes/_public+/callback.tsx
@@ -119,12 +119,8 @@ export default function AuthCallback() {
return (
<div className="flex flex-col items-center justify-center">
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
<p className="text-muted-foreground">Loading...</p>
</div>
diff --git a/apps/mes/app/routes/_public+/login.tsx b/apps/mes/app/routes/_public+/login.tsx
index 63291ea3a6..8680c3a23c 100644
--- a/apps/mes/app/routes/_public+/login.tsx
+++ b/apps/mes/app/routes/_public+/login.tsx
@@ -94,62 +94,64 @@ export default function LoginRoute() {
};
return (
- <div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
- <div className="flex space-y-2 justify-center">
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <>
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
-
- <ValidatedForm
- validator={loginValidator}
- defaultValues={{ redirectTo }}
- method="post"
- >
- <VStack spacing={4}>
- {result && result?.message && (
- <Alert variant="destructive">
- <LuCircleAlert className="w-4 h-4" />
- <AlertTitle>Authentication Error</AlertTitle>
- <AlertDescription>{result?.message}</AlertDescription>
- </Alert>
- )}
-
- <Input name="email" label="Email" />
- <Password name="password" label="Password" type="password" />
- <Hidden name="redirectTo" value={redirectTo} type="hidden" />
- <Submit
- size="lg"
- className="w-full"
- onClick={handleClick}
- withBlocker={false}
- >
- Sign In
- </Submit>
- <Button variant="link" asChild className="w-full">
- <Link to={path.to.forgotPassword}>Forgot Password</Link>
- </Button>
- </VStack>
- </ValidatedForm>
- <p className="px-10 text-center text-sm text-muted-foreground">
- By clicking sign in, you agree to our{" "}
- <Link
- to="/terms"
- className="underline underline-offset-4 hover:text-primary"
- >
- Terms of Service
- </Link>{" "}
- and{" "}
- <Link
- to="/privacy"
- className="underline underline-offset-4 hover:text-primary"
+ <div className="rounded-lg md:bg-card md:border md:border-border md:shadow-lg p-8 w-[380px]">
+ <ValidatedForm
+ validator={loginValidator}
+ defaultValues={{ redirectTo }}
+ method="post"
>
- Privacy Policy
- </Link>
- .
- </p>
- </div>
+ <VStack spacing={4}>
+ {result && result?.message && (
+ <Alert variant="destructive">
+ <LuCircleAlert className="w-4 h-4" />
+ <AlertTitle>Authentication Error</AlertTitle>
+ <AlertDescription>{result?.message}</AlertDescription>
+ </Alert>
+ )}
+
+ <Input name="email" label="Email" />
+ <Password name="password" label="Password" type="password" />
+ <Hidden name="redirectTo" value={redirectTo} type="hidden" />
+ <Submit
+ size="lg"
+ className="w-full"
+ onClick={handleClick}
+ withBlocker={false}
+ >
+ Sign In
+ </Submit>
+ <Button variant="link" asChild className="w-full">
+ <Link to={path.to.forgotPassword}>Forgot Password</Link>
+ </Button>
+ </VStack>
+ </ValidatedForm>
+ </div>
+ <div className="text-sm text-muted-foreground w-[380px] mt-4">
+ <p>
+ By signing in, you agree to the{" "}
+ <a
+ href="https://carbon.ms/terms"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Terms of Service
+ </a>{" "}
+ and{" "}
+ <a
+ href="https://carbon.ms/privacy"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Privacy Policy.
+ </a>
+ </p>
+ </div>
+ </>
);
}
diff --git a/apps/mes/app/services/theme.server.ts b/apps/mes/app/services/theme.server.ts
index 6e24b6f0dc..04a5b534c9 100644
--- a/apps/mes/app/services/theme.server.ts
+++ b/apps/mes/app/services/theme.server.ts
@@ -16,9 +16,9 @@ type Theme = (typeof themes)[number];
export function getTheme(request: Request): Theme {
const cookieHeader = request.headers.get("cookie");
- const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "zinc";
+ const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "blue";
if (themes.includes(parsed as Theme)) return parsed as Theme;
- return "zinc";
+ return "blue";
}
export function setTheme(theme: string) {
diff --git a/apps/mes/public/carbon-word-dark.png b/apps/mes/public/carbon-word-dark.png
new file mode 100644
index 0000000000..3606059a75
Binary files /dev/null and b/apps/mes/public/carbon-word-dark.png differ
diff --git a/apps/mes/public/carbon-word-dark.svg b/apps/mes/public/carbon-word-dark.svg
new file mode 100644
index 0000000000..b555c4b360
--- /dev/null
+++ b/apps/mes/public/carbon-word-dark.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="white"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="white"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="white"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="white"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="white"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="white"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L0 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M0 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L0 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/apps/mes/public/carbon-word-light.png b/apps/mes/public/carbon-word-light.png
new file mode 100644
index 0000000000..becd8f13bb
Binary files /dev/null and b/apps/mes/public/carbon-word-light.png differ
diff --git a/apps/mes/public/carbon-word-light.svg b/apps/mes/public/carbon-word-light.svg
new file mode 100644
index 0000000000..3e899a2d1b
--- /dev/null
+++ b/apps/mes/public/carbon-word-light.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="#212278"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="#212278"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="#212278"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="#212278"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="#212278"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="#212278"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L-1.52588e-05 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M-1.52588e-05 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L-1.52588e-05 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/apps/starter/app/routes/_public+/callback.tsx b/apps/starter/app/routes/_public+/callback.tsx
index d304378053..930dc69143 100644
--- a/apps/starter/app/routes/_public+/callback.tsx
+++ b/apps/starter/app/routes/_public+/callback.tsx
@@ -119,12 +119,8 @@ export default function AuthCallback() {
return (
<div className="flex flex-col items-center justify-center">
- <div>
- <img
- src="/carbon-logo-mark.svg"
- alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
- />
+ <div className="flex justify-center mb-4">
+ <img src="/carbon-logo-mark.svg" alt="Carbon Logo" className="w-36" />
</div>
<p className="text-muted-foreground">Loading...</p>
</div>
diff --git a/apps/starter/app/routes/_public+/login.tsx b/apps/starter/app/routes/_public+/login.tsx
index ea20ee6afa..b9bf8fb252 100644
--- a/apps/starter/app/routes/_public+/login.tsx
+++ b/apps/starter/app/routes/_public+/login.tsx
@@ -37,7 +37,7 @@ import { LuCircleAlert } from "react-icons/lu";
import { path } from "~/utils/path";
export const meta: MetaFunction = () => {
- return [{ title: "Carbon Developers | Login" }];
+ return [{ title: "Carbon | Login" }];
};
export async function loader({ request }: LoaderFunctionArgs) {
@@ -95,19 +95,19 @@ export default function LoginRoute() {
return (
<>
- <div className="flex flex-col items-center justify-center">
+ <div>
<img
- src="/carbon-logo-mark.svg"
+ src="/carbon-word-light.svg"
alt="Carbon Logo"
- className="block dark:hidden max-w-[100px] mb-3"
+ className="max-w-[240px] mb-3 dark:hidden"
/>
<img
- src="/carbon-logo-mark.svg"
+ src="/carbon-word-dark.svg"
alt="Carbon Logo"
- className="hidden dark:block max-w-[100px] mb-3"
+ className="max-w-[240px] mb-3 dark:block hidden"
/>
</div>
- <div className="p-8 w-[380px]">
+ <div className="rounded-lg md:bg-card md:border md:border-border md:shadow-lg p-8 w-[380px]">
<ValidatedForm
validator={loginValidator}
defaultValues={{ redirectTo }}
@@ -139,6 +139,28 @@ export default function LoginRoute() {
</VStack>
</ValidatedForm>
</div>
+ <div className="text-sm text-muted-foreground w-[380px] mt-4">
+ <p>
+ By signing in, you agree to the{" "}
+ <a
+ href="https://carbon.ms/terms"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Terms of Service
+ </a>{" "}
+ and{" "}
+ <a
+ href="https://carbon.ms/privacy"
+ target="_blank"
+ rel="noreferrer"
+ className="underline"
+ >
+ Privacy Policy.
+ </a>
+ </p>
+ </div>
</>
);
}
diff --git a/apps/starter/app/routes/_public+/request-access.tsx b/apps/starter/app/routes/_public+/request-access.tsx
index 581e8e3801..030c44f279 100644
--- a/apps/starter/app/routes/_public+/request-access.tsx
+++ b/apps/starter/app/routes/_public+/request-access.tsx
@@ -18,7 +18,7 @@ export default function RequestAccessRoute() {
<img
src="/carbon-logo-mark.svg"
alt="Carbon Logo"
- className="block max-w-[100px] mb-3"
+ className="w-36 mb-3"
/>
<h3 className="font-mono font-bold leading-loose uppercase text-xl">
diff --git a/apps/starter/app/services/theme.server.ts b/apps/starter/app/services/theme.server.ts
index 6e24b6f0dc..04a5b534c9 100644
--- a/apps/starter/app/services/theme.server.ts
+++ b/apps/starter/app/services/theme.server.ts
@@ -16,9 +16,9 @@ type Theme = (typeof themes)[number];
export function getTheme(request: Request): Theme {
const cookieHeader = request.headers.get("cookie");
- const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "zinc";
+ const parsed = cookieHeader ? cookie.parse(cookieHeader)[cookieName] : "blue";
if (themes.includes(parsed as Theme)) return parsed as Theme;
- return "zinc";
+ return "blue";
}
export function setTheme(theme: string) {
diff --git a/apps/starter/public/carbon-word-dark.png b/apps/starter/public/carbon-word-dark.png
new file mode 100644
index 0000000000..3606059a75
Binary files /dev/null and b/apps/starter/public/carbon-word-dark.png differ
diff --git a/apps/starter/public/carbon-word-dark.svg b/apps/starter/public/carbon-word-dark.svg
new file mode 100644
index 0000000000..b555c4b360
--- /dev/null
+++ b/apps/starter/public/carbon-word-dark.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="white"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="white"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="white"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="white"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="white"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="white"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L0 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M0 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L0 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/apps/starter/public/carbon-word-light.png b/apps/starter/public/carbon-word-light.png
new file mode 100644
index 0000000000..becd8f13bb
Binary files /dev/null and b/apps/starter/public/carbon-word-light.png differ
diff --git a/apps/starter/public/carbon-word-light.svg b/apps/starter/public/carbon-word-light.svg
new file mode 100644
index 0000000000..3e899a2d1b
--- /dev/null
+++ b/apps/starter/public/carbon-word-light.svg
@@ -0,0 +1,26 @@
+<svg width="1307" height="349" viewBox="0 0 1307 349" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M412.646 193.426C412.646 178.405 415.703 165.305 421.816 154.126C427.929 142.773 436.401 134.039 447.23 127.926C458.059 121.638 470.461 118.494 484.434 118.494C502.425 118.494 517.271 123.035 528.974 132.118C540.851 141.026 548.799 153.602 552.816 169.846H513.254C511.158 163.558 507.577 158.667 502.512 155.174C497.621 151.506 491.508 149.672 484.172 149.672C473.692 149.672 465.395 153.515 459.282 161.2C453.169 168.711 450.112 179.453 450.112 193.426C450.112 207.225 453.169 217.967 459.282 225.652C465.395 233.163 473.692 236.918 484.172 236.918C499.019 236.918 508.713 230.281 513.254 217.006H552.816C548.799 232.726 540.851 245.215 528.974 254.472C517.097 263.729 502.25 268.358 484.434 268.358C470.461 268.358 458.059 265.301 447.23 259.188C436.401 252.9 427.929 244.167 421.816 232.988C415.703 221.635 412.646 208.447 412.646 193.426Z" fill="#212278"/>
+<path d="M562.395 192.902C562.395 178.23 565.277 165.217 571.041 153.864C576.98 142.511 584.927 133.777 594.883 127.664C605.014 121.551 616.28 118.494 628.681 118.494C639.511 118.494 648.943 120.677 656.977 125.044C665.187 129.411 671.737 134.913 676.627 141.55V120.852H713.569V266H676.627V244.778C671.911 251.59 665.361 257.267 656.977 261.808C648.768 266.175 639.249 268.358 628.419 268.358C616.193 268.358 605.014 265.214 594.883 258.926C584.927 252.638 576.98 243.817 571.041 232.464C565.277 220.936 562.395 207.749 562.395 192.902ZM676.627 193.426C676.627 184.518 674.881 176.92 671.387 170.632C667.894 164.169 663.178 159.279 657.239 155.96C651.301 152.467 644.925 150.72 638.113 150.72C631.301 150.72 625.013 152.379 619.249 155.698C613.485 159.017 608.769 163.907 605.101 170.37C601.608 176.658 599.861 184.169 599.861 192.902C599.861 201.635 601.608 209.321 605.101 215.958C608.769 222.421 613.485 227.399 619.249 230.892C625.188 234.385 631.476 236.132 638.113 236.132C644.925 236.132 651.301 234.473 657.239 231.154C663.178 227.661 667.894 222.77 671.387 216.482C674.881 210.019 676.627 202.334 676.627 193.426Z" fill="#212278"/>
+<path d="M778.214 143.384C782.93 135.699 789.043 129.673 796.554 125.306C804.239 120.939 812.972 118.756 822.754 118.756V157.27H813.06C801.532 157.27 792.798 159.977 786.86 165.392C781.096 170.807 778.214 180.239 778.214 193.688V266H741.534V120.852H778.214V143.384Z" fill="#212278"/>
+<path d="M876.28 142.074C880.996 135.087 887.458 129.411 895.668 125.044C904.052 120.677 913.571 118.494 924.226 118.494C936.627 118.494 947.806 121.551 957.762 127.664C967.892 133.777 975.84 142.511 981.604 153.864C987.542 165.043 990.512 178.055 990.512 192.902C990.512 207.749 987.542 220.936 981.604 232.464C975.84 243.817 967.892 252.638 957.762 258.926C947.806 265.214 936.627 268.358 924.226 268.358C913.396 268.358 903.877 266.262 895.668 262.07C887.633 257.703 881.17 252.114 876.28 245.302V266H839.6V72.12H876.28V142.074ZM953.046 192.902C953.046 184.169 951.212 176.658 947.544 170.37C944.05 163.907 939.334 159.017 933.396 155.698C927.632 152.379 921.344 150.72 914.532 150.72C907.894 150.72 901.606 152.467 895.668 155.96C889.904 159.279 885.188 164.169 881.52 170.632C878.026 177.095 876.28 184.693 876.28 193.426C876.28 202.159 878.026 209.757 881.52 216.22C885.188 222.683 889.904 227.661 895.668 231.154C901.606 234.473 907.894 236.132 914.532 236.132C921.344 236.132 927.632 234.385 933.396 230.892C939.334 227.399 944.05 222.421 947.544 215.958C951.212 209.495 953.046 201.81 953.046 192.902Z" fill="#212278"/>
+<path d="M1073.76 268.358C1059.78 268.358 1047.21 265.301 1036.03 259.188C1024.85 252.9 1016.03 244.079 1009.57 232.726C1003.28 221.373 1000.14 208.273 1000.14 193.426C1000.14 178.579 1003.37 165.479 1009.83 154.126C1016.47 142.773 1025.46 134.039 1036.82 127.926C1048.17 121.638 1060.83 118.494 1074.81 118.494C1088.78 118.494 1101.44 121.638 1112.8 127.926C1124.15 134.039 1133.06 142.773 1139.52 154.126C1146.16 165.479 1149.48 178.579 1149.48 193.426C1149.48 208.273 1146.07 221.373 1139.26 232.726C1132.62 244.079 1123.54 252.9 1112.01 259.188C1100.66 265.301 1087.91 268.358 1073.76 268.358ZM1073.76 236.394C1080.4 236.394 1086.6 234.822 1092.36 231.678C1098.3 228.359 1103.01 223.469 1106.51 217.006C1110 210.543 1111.75 202.683 1111.75 193.426C1111.75 179.627 1108.08 169.06 1100.74 161.724C1093.58 154.213 1084.76 150.458 1074.28 150.458C1063.8 150.458 1054.98 154.213 1047.82 161.724C1040.83 169.06 1037.34 179.627 1037.34 193.426C1037.34 207.225 1040.75 217.879 1047.56 225.39C1054.54 232.726 1063.28 236.394 1073.76 236.394Z" fill="#212278"/>
+<path d="M1248.96 118.756C1266.25 118.756 1280.22 124.258 1290.88 135.262C1301.53 146.091 1306.86 161.287 1306.86 180.85V266H1270.18V185.828C1270.18 174.3 1267.3 165.479 1261.53 159.366C1255.77 153.078 1247.91 149.934 1237.95 149.934C1227.82 149.934 1219.79 153.078 1213.85 159.366C1208.08 165.479 1205.2 174.3 1205.2 185.828V266H1168.52V120.852H1205.2V138.93C1210.09 132.642 1216.29 127.751 1223.8 124.258C1231.49 120.59 1239.87 118.756 1248.96 118.756Z" fill="#212278"/>
+<path d="M181.165 139.644V69.822L241.346 35.0571L241.054 104.879L181.165 139.644Z" fill="#60FFD2"/>
+<path d="M181.165 69.822V139.644L120.4 104.879V35.0571L181.165 69.822Z" fill="#36B5B4"/>
+<path d="M120.4 35.0571L181.165 69.822L241.346 35.0571L181.165 0L120.4 35.0571Z" fill="#5FE4D2"/>
+<path d="M240.818 244.173V174.351L300.999 139.586L300.707 209.408L240.818 244.173Z" fill="#71DEFF"/>
+<path d="M240.818 174.351V244.173L180.052 209.408V139.586L240.818 174.351Z" fill="#3877C5"/>
+<path d="M180.052 139.586L240.818 174.351L300.999 139.586L240.818 104.529L180.052 139.586Z" fill="#4EAADE"/>
+<path d="M121.512 244.173V174.351L181.693 139.586L181.401 209.408L121.512 244.173Z" fill="#71DEFF"/>
+<path d="M121.512 174.351V244.173L60.7466 209.408V139.586L121.512 174.351Z" fill="#3877C5"/>
+<path d="M60.7466 139.586L121.512 174.351L181.693 139.586L121.512 104.529L60.7466 139.586Z" fill="#4EAADE"/>
+<path d="M181.165 348.702V278.88L241.346 244.115L241.054 313.937L181.165 348.702Z" fill="#7D7FE5"/>
+<path d="M181.165 278.88V348.702L120.4 313.937V244.115L181.165 278.88Z" fill="#2F31AE"/>
+<path d="M120.4 244.115L181.165 278.88L241.346 244.115L181.165 209.057L120.4 244.115Z" fill="#6041D0"/>
+<path d="M60.7652 348.702V278.88L120.947 244.115L120.654 313.937L60.7652 348.702Z" fill="#7D7FE5"/>
+<path d="M60.7652 278.88V348.702L-1.52588e-05 313.937V244.115L60.7652 278.88Z" fill="#2F31AE"/>
+<path d="M-1.52588e-05 244.115L60.7652 278.88L120.947 244.115L60.7656 209.057L-1.52588e-05 244.115Z" fill="#6041D0"/>
+<path d="M301.017 348.702V278.88L361.198 244.115L360.906 313.937L301.017 348.702Z" fill="#7D7FE5"/>
+<path d="M301.017 278.88V348.702L240.252 313.937V244.115L301.017 278.88Z" fill="#2F31AE"/>
+<path d="M240.252 244.115L301.017 278.88L361.198 244.115L301.018 209.057L240.252 244.115Z" fill="#6041D0"/>
+</svg>
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 47c64ac1de..c076274502 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -38060,14 +38060,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["supplierCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["supplierCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 47c64ac1de..c076274502 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -38060,14 +38060,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["supplierCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["supplierCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.ts
index 709a975a21..cd953ff61b 100644
--- a/packages/utils/src/themes.ts
+++ b/packages/utils/src/themes.ts
@@ -349,26 +349,26 @@ export const themes = [
cssVars: {
light: {
background: "0 0% 100%",
- foreground: "216 98% 4.9%",
+ foreground: "237 98% 4.9%",
card: "0 0% 100%",
- "card-foreground": "216 98% 4.9%",
+ "card-foreground": "237 98% 4.9%",
popover: "0 0% 100%",
- "popover-foreground": "216 98% 4.9%",
- primary: "216 98% 52%",
+ "popover-foreground": "237 98% 4.9%",
+ primary: "237 57% 30%",
"primary-foreground": "210 40% 98%",
- active: "222 10% 98%",
- "active-foreground": "222 0 20%",
+ active: "237 10% 98%",
+ "active-foreground": "237 0 20%",
secondary: "210 40% 96.1%",
- "secondary-foreground": "222.2 47.4% 11.2%",
- muted: "222 40% 96.1%",
+ "secondary-foreground": "237.2 47.4% 11.2%",
+ muted: "237 40% 96.1%",
"muted-foreground": "215.4 16.3% 46.9%",
- accent: "222 40% 96.1%",
- "accent-foreground": "222.2 47.4% 11.2%",
+ accent: "237 40% 96.1%",
+ "accent-foreground": "237.2 47.4% 11.2%",
destructive: "0 84.2% 60.2%",
"destructive-foreground": "210 40% 98%",
border: "214.3 31.8% 91.4%",
input: "214.3 31.8% 91.4%",
- ring: "221.2 83.2% 53.3%",
+ ring: "237.2 83.2% 53.3%",
},
dark: {
background: "220 14.3% 6.1%",