Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 88 additions & 153 deletions apps/desktop/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,163 +13,98 @@
@tailwind utilities;

:root {
/* Light theme variables */
--gray-50: #ffffff; /* Pure white background */
--gray-100: #f8f9fb; /* Soft background */
--gray-200: #e4e6ed; /* Light borders/dividers */
--gray-300: #c7ccda; /* Subtle highlights */
--gray-400: #868e9f; /* Secondary text - slightly softened */
--gray-450: #4a4a4a; /* Adjusted to maintain balance */
--gray-500: #161b26; /* Primary text - deep, rich contrast */

--gray-50-transparent-50: rgba(255, 255, 255, 0.5);
--gray-100-transparent-50: rgba(248, 249, 251, 0.5);
--gray-200-transparent-50: rgba(228, 230, 237, 0.5);
--gray-300-transparent-50: rgba(207, 210, 214, 0.5);
--gray-400-transparent-50: rgba(134, 138, 143, 0.5);
--gray-450-transparent-50: rgba(234, 236, 239, 0.5);
--gray-500-transparent-50: rgba(22, 27, 38, 0.5);

--transparent-window: rgba(255, 255, 255, 0.7);

--text-primary: rgba(18, 22, 31, 0.95); /* Section titles, headings */
--text-secondary: rgba(18, 22, 31, 0.85); /* Important labels */
--text-tertiary: rgba(18, 22, 31, 0.65); /* Descriptions */

--black-transparent-5: rgba(18, 22, 31, 0.05);
--black-transparent-10: rgba(18, 22, 31, 0.1);
--black-transparent-20: rgba(18, 22, 31, 0.2);
--black-transparent-40: rgba(18, 22, 31, 0.4);
--black-transparent-60: rgba(18, 22, 31, 0.6);
--black-transparent-80: rgba(18, 22, 31, 0.8);

--white-transparent-5: rgba(255, 255, 255, 0.05);
--white-transparent-10: rgba(255, 255, 255, 0.1);
--white-transparent-20: rgba(255, 255, 255, 0.2);
--white-transparent-40: rgba(255, 255, 255, 0.4);
--white-transparent-60: rgba(255, 255, 255, 0.6);
--white-transparent-80: rgba(255, 255, 255, 0.8);

--solid-white: #ffffff;

--blue-50: #ebf1ff;
--blue-100: #adc9ff;
--blue-200: #85adff;
--blue-300: #4785ff;
--blue-400: #3f75e0;
--blue-500: rgb(54, 102, 197);

--blue-transparent-0: rgba(34, 64, 122, 0);
--blue-transparent-10: rgba(34, 64, 122, 0.1);
--blue-transparent-20: rgba(34, 64, 122, 0.2);

--red-50: #ffebee;
--red-100: #ffadbb;
--red-200: #ff8599;
--red-300: #ff4766;
--red-400: #e03f5a;

--red-transparent-20: rgba(255, 71, 102, 0.2);

--shadow-s: 0px 8px 16px 0px rgba(18, 22, 31, 0.04);
/* Light theme variables */
--gray-50: #ffffff;
--gray-100: #f7f8fa;
--gray-200: #e7eaf0;
--gray-300: #c9cedb;
--gray-400: #8991a3;
--gray-500: #12161f;

--text-primary: rgba(18, 22, 31, 0.95); /* Section titles, headings */
--text-secondary: rgba(18, 22, 31, 0.85); /* Important labels */
--text-tertiary: rgba(18, 22, 31, 0.65); /* Descriptions */

--black-transparent-5: rgba(18, 22, 31, 0.05);
--black-transparent-10: rgba(18, 22, 31, 0.1);
--black-transparent-20: rgba(18, 22, 31, 0.2);
--black-transparent-40: rgba(18, 22, 31, 0.4);
--black-transparent-60: rgba(18, 22, 31, 0.6);
--black-transparent-80: rgba(18, 22, 31, 0.8);

--white-transparent-5: rgba(255, 255, 255, 0.05);
--white-transparent-10: rgba(255, 255, 255, 0.1);
--white-transparent-20: rgba(255, 255, 255, 0.2);
--white-transparent-40: rgba(255, 255, 255, 0.4);

--blue-50: #ffe8ec;
--blue-100: #d4879a;
--blue-200: #b05068;
--blue-300: #800020;
--blue-400: #660019;

--blue-transparent-10: rgba(128, 0, 32, 0.1);
--blue-transparent-20: rgba(128, 0, 32, 0.2);

--red-50: #ffebee;
--red-100: #ffadbb;
--red-200: #ff8599;
--red-300: #ff4766;
--red-400: #e03f5a;

--red-transparent-20: rgba(255, 71, 102, 0.2);

--shadow-s: 0px 8px 16px 0px rgba(18, 22, 31, 0.04);
}

/* Dark theme variables */
:root.dark {
color-scheme: dark;
/* Main background colors */
--gray-50: #141414; /* Main background - slightly darker */
--gray-100: #181818; /* Secondary background */
--gray-200: #222222; /* Borders and dividers */
--gray-300: #323232; /* Subtle highlights */
--gray-400: #868686; /* Secondary text - slightly softer */
--gray-450: #eaeaea; /* Adjusted to be more balanced */
--gray-500: #ffffff; /* Primary text - titles/headings */

--gray-50-transparent-50: rgba(20, 20, 20, 0.5);
--gray-100-transparent-50: rgba(24, 24, 24, 0.5);
--gray-200-transparent-50: rgba(34, 34, 34, 0.5);
--gray-300-transparent-50: rgba(50, 50, 50, 0.5);
--gray-400-transparent-50: rgba(134, 134, 134, 0.5);
--gray-450-transparent-50: rgba(234, 234, 234, 0.5);
--gray-500-transparent-50: rgba(255, 255, 255, 0.5);

--transparent-window: rgba(22, 22, 22, 0.7);

/* Add new variables for text hierarchy */
--text-primary: rgba(255, 255, 255, 0.95); /* Section titles, headings */
--text-secondary: rgba(255, 255, 255, 0.85); /* Important labels */
--text-tertiary: rgba(255, 255, 255, 0.65); /* Descriptions */

/* Transparent overlays - adjusted for better contrast */
--black-transparent-5: rgba(255, 255, 255, 0.05);
--black-transparent-10: rgba(255, 255, 255, 0.1);
--black-transparent-20: rgba(255, 255, 255, 0.2);
--black-transparent-40: rgba(255, 255, 255, 0.4);
--black-transparent-60: rgba(255, 255, 255, 0.6);
--black-transparent-80: rgba(255, 255, 255, 0.8);

/* White transparencies */
--white-transparent-5: rgba(18, 22, 31, 0.05);
--white-transparent-10: rgba(18, 22, 31, 0.1);
--white-transparent-20: rgba(18, 22, 31, 0.2);
--white-transparent-40: rgba(18, 22, 31, 0.4);
--white-transparent-60: rgba(18, 22, 31, 0.6);
--white-transparent-80: rgba(18, 22, 31, 0.8);

--solid-white: #ffffff;

/* Accent colors remain mostly the same but adjusted for dark theme */
--blue-50: #1a2438;
--blue-100: #243352;
--blue-200: #2e426b;
--blue-300: #4785ff;
--blue-400: #5c8fff;

--blue-transparent-10: rgba(71, 133, 255, 0.1);
--blue-transparent-20: rgba(71, 133, 255, 0.2);

--red-50: #2c1a1e;
--red-100: #52232c;
--red-200: #6b2c39;
--red-300: #ff4766;
--red-400: #ff5c7a;

--red-transparent-20: rgba(255, 71, 102, 0.2);

--shadow-s: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
}

.dark .dark-button-shadow {
box-shadow: 0 1.5px 0 0 rgba(0, 0, 0, 0.1) inset;
}

.dark-button-shadow {
box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.2) inset;
}

.dark .gray-button-shadow {
box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.gray-button-shadow {
box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.4) inset;
}

.dark .gray-button-border {
@apply border-gray-2;
}

.gray-button-border {
@apply border-gray-8;
}

.dark .dark-button-border {
@apply border-gray-2;
}

.dark-button-border {
@apply border-gray-12;
/* Main background colors */
--gray-50: #1e1e1e; /* Main background */
--gray-100: #242424; /* Secondary background */
--gray-200: #2a2a2a; /* Borders and dividers */
--gray-300: #3a3a3a; /* Subtle highlights */
--gray-400: #9d9d9d; /* Secondary text - descriptions */
--gray-500: #ffffff; /* Primary text - titles/headings (back to white) */

/* Add new variables for text hierarchy */
--text-primary: rgba(255, 255, 255, 0.95); /* Section titles, headings */
--text-secondary: rgba(255, 255, 255, 0.85); /* Important labels */
--text-tertiary: rgba(255, 255, 255, 0.65); /* Descriptions */

/* Transparent overlays - adjusted for better contrast */
--black-transparent-5: rgba(255, 255, 255, 0.05);
--black-transparent-10: rgba(255, 255, 255, 0.1);
--black-transparent-20: rgba(255, 255, 255, 0.2);
--black-transparent-40: rgba(255, 255, 255, 0.4);
--black-transparent-60: rgba(255, 255, 255, 0.6);
--black-transparent-80: rgba(255, 255, 255, 0.8);

/* White transparencies */
--white-transparent-5: rgba(18, 22, 31, 0.05);
--white-transparent-10: rgba(18, 22, 31, 0.1);
--white-transparent-20: rgba(18, 22, 31, 0.2);
--white-transparent-40: rgba(18, 22, 31, 0.4);

/* Accent colors remain mostly the same but adjusted for dark theme */
--blue-50: #2c1018;
--blue-100: #421820;
--blue-200: #5a2028;
--blue-300: #800020;
--blue-400: #a83040;

--blue-transparent-10: rgba(128, 0, 32, 0.1);
--blue-transparent-20: rgba(128, 0, 32, 0.2);

--red-50: #2c1a1e;
--red-100: #52232c;
--red-200: #6b2c39;
--red-300: #ff4766;
--red-400: #ff5c7a;

--red-transparent-20: rgba(255, 71, 102, 0.2);

--shadow-s: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
}

[data-transparent-window] {
Expand Down
71 changes: 49 additions & 22 deletions apps/web/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,26 @@
@tailwind utilities;

:root {
--primary: #005cb1;
--primary-2: #004c93;
--primary-3: #003b73;
--secondary: #2eb4ff;
--secondary-2: #1696e0;
--secondary-3: #117ebd;
--tertiary: #c5eaff;
--tertiary-2: #d3e5ff;
--tertiary-3: #e0edff;
--filler: #efefef;
--filler-2: #e4e4e4;
--filler-3: #e2e2e2;
--filler-txt: #b3b3b3;
--text-primary: #0d1b2a;
--text-secondary: #ffffff;
--shadow-gray-11: hsl(0, 0%, 13%);
--header-height: 80px;
--vh100-offset: calc(100vh - var(--header-height));
--foreground-rgb: #000000;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
--gradient-border-radius: 12px;
--primary: #800020;
--primary-2: #660019;
--primary-3: #4d0013;
--secondary: #c94060;
--secondary-2: #a8303e;
--secondary-3: #8b1a2a;
--tertiary: #ffe0e5;
--tertiary-2: #ffc8d0;
--tertiary-3: #ffb0bc;
--filler: #efefef;
--filler-2: #e4e4e4;
--filler-3: #e2e2e2;
--filler-txt: #b3b3b3;
--text-primary: #0d1b2a;
--text-secondary: #ffffff;
--header-height: 80px;
--vh100-offset: calc(100vh - var(--header-height));
--foreground-rgb: #000000;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -376,6 +374,35 @@ label {
}

.inner-play-button-border-two::before {
content: '';
position: absolute;
inset: 0;
padding: 1px;
border-radius: 100px;
background: linear-gradient(to bottom, #8b1a2a 20%, transparent 90%);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}

.inner-play-button-border::before {
content: '';
position: absolute;
inset: 0;
padding: 1px;
border-radius: 100px;
background: linear-gradient(to bottom, #fff 10%, transparent 50%);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}

.custom-bg {
background: linear-gradient(180deg, #800020 0%, #c94060 100%);
content: "";
position: absolute;
inset: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-solid/icons/logo-full-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/ui-solid/icons/logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/ui-solid/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading