@theguild/components 8.2.0-alpha-20250103152610-f56689074885351411e9046a71ff4febc8466832 → 8.2.0-alpha-20250103194157-08e100bab87d3b6829f58babec2135427b2a128e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/theme-layout.js +18 -12
- package/package.json +1 -1
|
@@ -70,27 +70,33 @@ const GuildLayout = async ({
|
|
|
70
70
|
suppressHydrationWarning: true,
|
|
71
71
|
...htmlProps,
|
|
72
72
|
children: [
|
|
73
|
-
/* @__PURE__ */ jsx(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
/* @__PURE__ */ jsx(
|
|
74
|
+
Head,
|
|
75
|
+
{
|
|
76
|
+
backgroundColor: { dark: "#111111", light: "#ffffff" },
|
|
77
|
+
color: {
|
|
78
|
+
hue: { dark: 67.1, light: 191 },
|
|
79
|
+
saturation: { dark: 100, light: 40 },
|
|
80
|
+
lightness: { dark: 55, light: 35 }
|
|
81
|
+
},
|
|
82
|
+
...headProps,
|
|
83
|
+
children: /* @__PURE__ */ jsx("style", { children: `
|
|
84
|
+
::selection {
|
|
85
|
+
background: hsl(var(--nextra-primary-hue)var(--nextra-primary-saturation)var(--nextra-primary-lightness)/.25) !important;
|
|
82
86
|
}
|
|
83
|
-
:
|
|
84
|
-
body.light {
|
|
87
|
+
.dark:has(body.light) {
|
|
85
88
|
--nextra-primary-hue: 191deg;
|
|
86
89
|
--nextra-primary-saturation: 40%;
|
|
90
|
+
--nextra-primary-lightness: 35%;
|
|
87
91
|
--nextra-bg: 255, 255, 255;
|
|
88
92
|
}
|
|
89
93
|
.x\\:tracking-tight,
|
|
90
94
|
.nextra-steps :is(h2, h3, h4) {
|
|
91
95
|
letter-spacing: normal;
|
|
92
96
|
}
|
|
93
|
-
` })
|
|
97
|
+
` })
|
|
98
|
+
}
|
|
99
|
+
),
|
|
94
100
|
/* @__PURE__ */ jsx(Body, { lightOnlyPages, children: /* @__PURE__ */ jsx(
|
|
95
101
|
Layout,
|
|
96
102
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.2.0-alpha-
|
|
3
|
+
"version": "8.2.0-alpha-20250103194157-08e100bab87d3b6829f58babec2135427b2a128e",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|