@@ -377,6 +377,17 @@ li {
377377 transition : box-shadow 0.15s ease-out;
378378}
379379
380+ .dark # pagination a : hover {
381+ box-shadow : 0 0 0 4px oklch (from var (--shadow ) l c h / 0.24 ),
382+ 0 0 0 1px oklch (from var (--shadow ) l c h / 0.24 ),
383+ 0 1px 1px -1px oklch (from var (--shadow ) l c h / 0.06 ),
384+ 0 2px 2px -2px oklch (from var (--shadow ) l c h / 0.06 ),
385+ 0 2px 4px -2px oklch (from var (--shadow ) l c h / 0.06 ),
386+ 0 4px 6px -4px oklch (from var (--shadow ) l c h / 0.06 ),
387+ 0 6px 8px -6px oklch (from var (--shadow ) l c h / 0.06 );
388+ transition : box-shadow 0.15s ease-out;
389+ }
390+
380391# pagination a > div > div : first-child {
381392 font-size : 1rem ;
382393 font-weight : 600 ;
@@ -468,55 +479,54 @@ li {
468479 ========================================================================== */
469480: root {
470481 /* Colors */
471- --tooltip-link-color : oklch (50.99% 0.2119 287.99 );
472- --bg : oklch (100% 0 0 );
473- --text : oklch (26.86% 0 0 );
474- --text-secondary : oklch (45.12% 0.0123 264.12 );
475- --text-tertiary : oklch (61.18% 0.0175 262.96 );
476- --muted : oklch (55.1% 0.0234 264.36 );
477- --border : oklch (92.76% 0.0058 264.53 );
478- --border-secondary : oklch (95% 0.0087 260.89 );
479- --accent : oklch (55.63% 0.2368 288.08 );
480-
482+ --tooltip-link-color : oklch (0.51 0.2119 287.99 );
483+ --bg : oklch (1 0 0 );
484+ --text : oklch (0.2686 0 0 );
485+ --text-secondary : oklch (0.4512 0.0123 264.12 );
486+ --text-tertiary : oklch (0.6118 0.0175 262.96 );
487+ --muted : oklch (0.551 0.0234 264.36 );
488+ --border : oklch (0.9276 0.0058 264.53 );
489+ --border-secondary : oklch (0.95 0.0087 260.89 );
490+ --accent : oklch (0.5563 0.2368 288.08 );
481491 /* Component Colors */
482- --section-icon-bg : # eef2ff ;
483- --card-bg : oklch (100 % 0 0 );
484- --shadow : oklch (0% 0 0 );
492+ --section-icon-bg : oklch ( 0.9619 0.0179 272.31 ) ;
493+ --card-bg : oklch (1 0 0 );
494+ --shadow : oklch (0 0 0 );
485495 --card-shadow : oklch (from var (--shadow ) l c h / calc (alpha - 0.08 ));
486496
487497 /* Form Elements */
488- --input-bg : oklch (100 % 0 0 );
489- --input-border : oklch (87.17 % 0.0093 258.34 );
490- --input-placeholder : oklch (71.37 % 0.0192 261.32 );
491- --dash-color : oklch (93.68 % 0.0029 264.54 );
498+ --input-bg : oklch (1 0 0 );
499+ --input-border : oklch (0.8717 0.0093 258.34 );
500+ --input-placeholder : oklch (0.7137 0.0192 261.32 );
501+ --dash-color : oklch (0.9368 0.0029 264.54 );
492502
493503 /* Legacy filters - preserved for compatibility */
494504 --github-logo-filter : none;
495505}
496506
497507.dark {
498508 /* Dark Mode Colors */
499- --tooltip-link-color : oklch (50.99 % 0.2119 287.99 );
500- --bg : oklch (17.73 % 0.0089 264.32 );
501- --text : oklch (92.76 % 0.0058 264.53 );
502- --text-secondary : oklch (71.37 % 0.0192 261.32 );
503- --text-tertiary : oklch (55.1 % 0.0234 264.36 );
504- --muted : oklch (71.55 % 0 0 );
505- --border : oklch (28.49 % 0.0175 266.34 );
506- --border-secondary : oklch (36.4 % 0.0293 266.43 );
507- --accent : oklch (50.99 % 0.2119 287.99 );
509+ --tooltip-link-color : oklch (0.5099 0.2119 287.99 );
510+ --bg : oklch (0.0672 0 0 );
511+ --text : oklch (0.9881 0 0 );
512+ --text-secondary : oklch (0.7412 0 0 );
513+ --text-tertiary : oklch (0.5999 0 0 );
514+ --muted : oklch (0.7155 0 0 );
515+ --border : oklch (0.2849 0.0175 266.34 );
516+ --border-secondary : oklch (0.285 0 0 );
517+ --accent : oklch (0.7521 0.1302 295.22 );
508518
509519 /* Dark Mode Component Colors */
510- --section-icon-bg : # 1b1f2a ;
511- --card-bg : # 151923 ;
512- --shadow : # 000000 ;
513- --card-shadow : rgba ( 255 , 255 , 255 , 0.06 );
520+ --section-icon-bg : oklch ( 0.2404 0.022 269.15 ) ;
521+ --card-bg : oklch ( 0.2141 0.0207 267.68 ) ;
522+ --shadow : oklch ( 0.3 0 0 ) ;
523+ --card-shadow : oklch ( 1 0 0 / 6 % );
514524
515525 /* Dark Mode Form Elements */
516- --input-bg : # 141825 ;
517- --input-border : # 2a3140 ;
518- --input-placeholder : # 6b7280 ;
519- --dash-color : rgba ( 255 , 255 , 255 , 0.14 );
526+ --input-bg : oklch ( 0.2115 0.0266 270.84 ) ;
527+ --input-border : oklch ( 0.3131 0.0287 265.24 ) ;
528+ --input-placeholder : oklch ( 0.551 0.0234 264.36 ) ;
529+ --dash-color : oklch ( 1 0 0 / 14 % );
520530}
521531
522532html [style *= "color-scheme: dark" ] {
@@ -595,7 +605,7 @@ html[style*="color-scheme: dark"] {
595605 margin : 20px 0 ;
596606}
597607
598- .frame > div > span [data-as = p ] {
608+ .frame > div > span [data-as = "p" ] {
599609 margin-top : 0 !important ;
600610 margin-bottom : 0 !important ;
601611}
@@ -1400,16 +1410,51 @@ ul.flex.items-center > li > a[href*="/u/login"] {
14001410 flex-direction : column;
14011411 justify-content : space-between;
14021412 transition : box-shadow 0.15s ease, transform 0.15s ease;
1413+ box-shadow : 0 0 0 1px var (--border-secondary ),
1414+ 0 1px 1px -1px oklch (from var (--shadow ) l c h / 0.06 ),
1415+ 0 2px 2px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1416+ 0 2px 4px -2px oklch (from var (--shadow ) l c h / 0.06 );
14031417}
14041418
14051419.libraries_card : hover {
1406- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.12 );
1407- transform : translateY (-1px );
1420+ box-shadow : 0 0 0 1px oklch (from var (--accent ) l c h / 0.25 ),
1421+ 0 1px 1px -1px oklch (from var (--shadow ) l c h / 0.06 ),
1422+ 0 2px 2px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1423+ 0 2px 4px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1424+ 0 4px 6px -4px oklch (from var (--shadow ) l c h / 0.06 ),
1425+ 0 6px 8px -6px oklch (from var (--shadow ) l c h / 0.06 ),
1426+ 0 8px 12px -8px oklch (from var (--shadow ) l c h / 0.06 );
1427+ transition : background-color 0.15s ease-out, box-shadow 0.15s ease-out;
1428+ }
1429+
1430+ .libraries_card_divider {
1431+ border-top : 1px solid oklch (from var (--border ) l c h / 0.24 );
1432+ margin : 0 1rem ;
1433+ }
1434+
1435+ .dark .libraries_card {
1436+ border : none;
1437+ background-color : oklch (from var (--bg ) l c h / 1 );
1438+ box-shadow : 0 0 0 1px oklch (from var (--border-secondary ) l c h / 0.25 ),
1439+ 0 1px 1px -1px oklch (from var (--shadow ) l c h / 0.06 ),
1440+ 0 2px 2px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1441+ 0 2px 4px -2px oklch (from var (--shadow ) l c h / 0.06 );
1442+ backdrop-filter : blur (4px );
1443+ --webkit-backdrop-filter : blur (4px );
1444+ transition : background-color 0.15s ease-out, box-shadow 0.15s ease-out;
14081445}
14091446
14101447.dark .libraries_card : hover {
1411- background-color : transparent;
1412- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.12 );
1448+ border : none;
1449+ background-color : oklch (from var (--bg ) l c h / 0.6 );
1450+ box-shadow : 0 0 0 1px oklch (from var (--accent ) l c h / 0.2 ),
1451+ 0 1px 1px -1px oklch (from var (--shadow ) l c h / 0.06 ),
1452+ 0 2px 2px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1453+ 0 2px 4px -2px oklch (from var (--shadow ) l c h / 0.06 ),
1454+ 0 4px 6px -4px oklch (from var (--shadow ) l c h / 0.06 ),
1455+ 0 6px 8px -6px oklch (from var (--shadow ) l c h / 0.06 ),
1456+ 0 8px 12px -8px oklch (from var (--shadow ) l c h / 0.06 );
1457+ transition : background-color 0.15s ease-out, box-shadow 0.15s ease-out;
14131458}
14141459
14151460.libraries_cards a svg {
@@ -1605,6 +1650,7 @@ a.card[href^="http"]::after {
16051650}
16061651
16071652.api_page_container .card {
1653+ background-color : transparent;
16081654 border : 0 ;
16091655 border-radius : 0 ;
16101656 border-bottom : 2px solid var (--text ) !important ;
@@ -1616,7 +1662,7 @@ a.card[href^="http"]::after {
16161662}
16171663
16181664.api_page_container .card : hover {
1619- background-color : var ( --bg ) ;
1665+ background-color : transparent ;
16201666 border-bottom : 2px solid var (--accent ) !important ;
16211667 box-shadow : none;
16221668 transition : all 0.15s ease-out;
@@ -1731,7 +1777,7 @@ a.card[href^="http"]::after {
17311777}
17321778
17331779/* FIXME: Temporary override for both the original SDK cards and the custom cards due to large margin in Mintlify's latest changes to their <CardGroup> component styling */
1734- .prose : where (img ): not (: where ([class ~= not-prose ] , [class ~= not-prose ] * )) {
1735- margin-top : 0 ;
1736- margin-bottom : 0 ;
1780+ .prose : where (img ): not (: where ([class ~= " not-prose" ] , [class ~= " not-prose" ] * )) {
1781+ margin-top : 0 ;
1782+ margin-bottom : 0 ;
17371783}
0 commit comments