Skip to content

Commit ac5b69a

Browse files
committed
minor style nits
1 parent 979f896 commit ac5b69a

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

auth4genai/docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"name": "Auth0",
1111
"colors": {
12-
"primary": "#6742D5",
12+
"primary": "#7549F2",
1313
"light": "#B3A7FF",
1414
"dark": "#343434"
1515
},

auth4genai/style.css

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ li {
282282
transition: background 0.15s ease-out;
283283
}
284284

285+
.dark #page-context-menu > button {
286+
background: oklch(from var(--bg) l c h / 1);
287+
}
288+
285289
#page-context-menu > button:hover {
286290
background: oklch(from var(--bg) l c h / 0.5);
287291
transition: background 0.15s ease-out;
@@ -368,13 +372,13 @@ li {
368372
/* Colors */
369373
--tooltip-link-color: oklch(50.99% 0.2119 287.99);
370374
--bg: oklch(100% 0 0);
371-
--text: oklch(26.86% 0 0);
372-
--text-secondary: oklch(45.12% 0.0123 264.12);
373-
--text-tertiary: oklch(61.18% 0.0175 262.96);
374-
--muted: oklch(55.1% 0.0234 264.36);
375+
--text: oklch(26% 0 0);
376+
--text-secondary: oklch(from var(--text) l c h / 0.8);
377+
--text-tertiary: oklch(from var(--text) l c h / 0.6);
378+
--muted: oklch(from var(--text) l c h / 0.5);
375379
--border: oklch(92.76% 0.0058 264.53);
376380
--border-secondary: oklch(95% 0.0087 260.89);
377-
--accent: oklch(50.99% 0.2119 287.99);
381+
--accent: oklch(55.63% 0.2368 288.08);
378382

379383
/* Component Colors */
380384
--section-icon-bg: #eef2ff;
@@ -395,13 +399,13 @@ li {
395399
.dark {
396400
/* Dark Mode Colors */
397401
--tooltip-link-color: oklch(50.99% 0.2119 287.99);
398-
--bg: #0f1115;
399-
--text: #e5e7eb;
400-
--text-secondary: #9ca3af;
401-
--text-tertiary: #6b7280;
402-
--muted: #a3a3a3;
403-
--border: #262a33;
404-
--border-secondary: #373e4e;
402+
--bg: oklch(17.73% 0.0089 264.32);
403+
--text: oklch(92% 0.0058 264.53);
404+
--text-secondary: oklch(from var(--text) l c h / 0.8);
405+
--text-tertiary: oklch(from var(--text) l c h / 0.6);
406+
--muted: oklch(71.55% 0 0);
407+
--border: oklch(28.49% 0.0175 266.34);
408+
--border-secondary: oklch(36.4% 0.0293 266.43);
405409
--accent: oklch(50.99% 0.2119 287.99);
406410

407411
/* Dark Mode Component Colors */
@@ -425,15 +429,17 @@ html[style*="color-scheme: dark"] {
425429
Frame Component
426430
========================================================================== */
427431
.frame {
432+
padding: 0;
428433
margin: 20px 0;
429434
}
430435

431-
.frame img {
436+
.frame :where(img) {
432437
width: 100%;
433438
}
434439

435440
div[data-component-part="frame-caption"] {
436441
padding-left: 12px;
442+
padding-top: 0;
437443
padding-bottom: 12px;
438444
color: var(--);
439445
}

main/snippets/home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const DocsBanner = () => {
44
className="gap-5 flex justify-center p-6"
55
style={{
66
background:
7-
"radial-gradient(1200px 800px at 25% -25%, rgba(180, 160, 255, 0.45) 0%, rgba(255, 255, 255, 1) 50%)",
7+
"radial-gradient(1200px 800px at 25% -25%, rgba(180, 160, 255, 0.45) 0%, hsla(var(--bg) / 1) 50%)",
88
}}
99
>
1010
<div className="w-[min(860px,90vw)] text-center px-0 py-2 md:px-6 md:py-12">

0 commit comments

Comments
 (0)