Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Switch the gray scale back to zinc (#3517)

Luke Vella81c68e6187ec
diff --git a/apps/docs/docs.json b/apps/docs/docs.json
index 06609955a..794b6f167 100644
--- a/apps/docs/docs.json
+++ b/apps/docs/docs.json
@@ -151,7 +151,7 @@
"background": {
"color": {
"light": "#FFFFFF",
- "dark": "#1C1917"
+ "dark": "#18181B"
}
},
"navbar": {
diff --git a/apps/docs/style.css b/apps/docs/style.css
index 1ed356453..ce7576814 100644
--- a/apps/docs/style.css
+++ b/apps/docs/style.css
@@ -3,28 +3,28 @@
packages/tailwind-config/shared-styles.css.
Mintlify generates a gray scale tinted from the primary color; the product
- remaps gray-* to Tailwind's stone scale, so the same values go here (as the
+ remaps gray-* to Tailwind's zinc scale, so the same values go here (as the
RGB triplets Mintlify's variables expect).
*/
:root {
- --gray-50: 250 250 249;
- --gray-100: 245 245 244;
- --gray-200: 231 229 228;
- --gray-300: 214 211 209;
- --gray-400: 168 162 158;
- --gray-500: 120 113 108;
- --gray-600: 87 83 78;
- --gray-700: 68 64 60;
- --gray-800: 41 37 36;
- --gray-900: 28 25 23;
- --gray-950: 12 10 9;
+ --gray-50: 250 250 250;
+ --gray-100: 244 244 245;
+ --gray-200: 228 228 231;
+ --gray-300: 212 212 216;
+ --gray-400: 161 161 170;
+ --gray-500: 113 113 122;
+ --gray-600: 82 82 91;
+ --gray-700: 63 63 70;
+ --gray-800: 39 39 42;
+ --gray-900: 24 24 27;
+ --gray-950: 9 9 11;
}
-/* --foreground: stone-800 in light mode, white in dark mode. Body text gets
+/* --foreground: zinc-800 in light mode, white in dark mode. Body text gets
its color by inheritance from the app shell, so re-anchor it on the
documented #content-area selector. */
#content-area {
- color: rgb(41 37 36);
+ color: rgb(39 39 42);
}
.dark #content-area {
diff --git a/apps/landing/src/app/[locale]/opengraph-image.tsx b/apps/landing/src/app/[locale]/opengraph-image.tsx
index b1e9b6ba4..a1670db47 100644
--- a/apps/landing/src/app/[locale]/opengraph-image.tsx
+++ b/apps/landing/src/app/[locale]/opengraph-image.tsx
@@ -93,7 +93,7 @@ export default async function Image(props: {
flexDirection: "column",
width: "100%",
height: "100%",
- backgroundColor: "#fafaf9",
+ backgroundColor: "#fafafa",
}}
>
<div
@@ -124,7 +124,7 @@ export default async function Image(props: {
style={{
fontSize: 64,
fontWeight: 700,
- color: "#292524",
+ color: "#27272a",
letterSpacing: "-0.025em",
lineHeight: 1.2,
}}
@@ -136,7 +136,7 @@ export default async function Image(props: {
marginTop: 24,
maxWidth: 960,
fontSize: 30,
- color: "#78716c",
+ color: "#71717a",
lineHeight: 1.5,
}}
>
diff --git a/apps/web/src/lib/utils/color.ts b/apps/web/src/lib/utils/color.ts
index f1005167c..a139c46c4 100644
--- a/apps/web/src/lib/utils/color.ts
+++ b/apps/web/src/lib/utils/color.ts
@@ -71,7 +71,7 @@ export function getForegroundColor(backgroundColor: string): string {
* Lightens the color for dark backgrounds and darkens it for light backgrounds.
*
* @param color - The color to adjust (hex format, e.g., "#084eb2")
- * @param backgroundColor - The background color to ensure contrast against (hex format, e.g., "#ffffff" or "#1c1917")
+ * @param backgroundColor - The background color to ensure contrast against (hex format, e.g., "#ffffff" or "#18181b")
* @param minContrastRatio - Minimum contrast ratio to achieve (default: 3.0 for UI elements)
* @returns Adjusted color in hex format
*/
diff --git a/packages/tailwind-config/shared-styles.css b/packages/tailwind-config/shared-styles.css
index e1af595a8..6fa44daa4 100644
--- a/packages/tailwind-config/shared-styles.css
+++ b/packages/tailwind-config/shared-styles.css
@@ -19,7 +19,7 @@
:root {
/* Hue of the --color-gray-* scale in @theme; change both together */
- --gray-hue: 56.043;
+ --gray-hue: 286.033;
--radius: 0.625rem;
--primary: var(--primary-light, var(--color-indigo-600));
@@ -276,17 +276,17 @@
var(--font-inter), ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- --color-gray-50: var(--color-stone-50);
- --color-gray-100: var(--color-stone-100);
- --color-gray-200: var(--color-stone-200);
- --color-gray-300: var(--color-stone-300);
- --color-gray-400: var(--color-stone-400);
- --color-gray-500: var(--color-stone-500);
- --color-gray-600: var(--color-stone-600);
- --color-gray-700: var(--color-stone-700);
- --color-gray-800: var(--color-stone-800);
- --color-gray-900: var(--color-stone-900);
- --color-gray-950: var(--color-stone-950);
+ --color-gray-50: var(--color-zinc-50);
+ --color-gray-100: var(--color-zinc-100);
+ --color-gray-200: var(--color-zinc-200);
+ --color-gray-300: var(--color-zinc-300);
+ --color-gray-400: var(--color-zinc-400);
+ --color-gray-500: var(--color-zinc-500);
+ --color-gray-600: var(--color-zinc-600);
+ --color-gray-700: var(--color-zinc-700);
+ --color-gray-800: var(--color-zinc-800);
+ --color-gray-900: var(--color-zinc-900);
+ --color-gray-950: var(--color-zinc-950);
}
/*