jamdesk 1.1.106 → 1.1.108

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamdesk",
3
- "version": "1.1.106",
3
+ "version": "1.1.108",
4
4
  "description": "CLI for Jamdesk — build, preview, and deploy documentation sites from MDX. Dev server with hot reload, 50+ components, OpenAPI support, AI search, and Mintlify migration",
5
5
  "keywords": [
6
6
  "jamdesk",
@@ -1,5 +1,14 @@
1
1
  @import "tailwindcss";
2
2
 
3
+ /*
4
+ * Load the v3-style JS config so Tailwind v4 generates the theme-* utility
5
+ * classes (text-theme-accent, bg-theme-bg-primary, etc.) declared in
6
+ * tailwind.config.ts. Without this directive v4 ignores the JS config and
7
+ * those classes are silently absent — inline links and other theme-colored
8
+ * elements then fall back to inherited body color.
9
+ */
10
+ @config "../tailwind.config.ts";
11
+
3
12
  /* Import base shared styles */
4
13
  @import "../themes/base.css";
5
14
 
@@ -7,18 +7,15 @@ import { getBrandingUrl } from '@/lib/branding-url';
7
7
 
8
8
  const showBranding = process.env.NEXT_PUBLIC_SHOW_BRANDING !== 'false';
9
9
 
10
+ // Wordmark renders as a CSS mask so its fill inherits `currentColor`, letting
11
+ // the link's text color (and hover state) drive the SVG color in one place.
12
+ const WORDMARK_MASK = 'url(/_jd/branding/jamdesk-wordmark.svg) no-repeat center / contain';
10
13
  const WORDMARK_STYLE: CSSProperties = {
11
14
  width: '54px',
12
15
  height: '14px',
13
16
  backgroundColor: 'currentColor',
14
- WebkitMaskImage: 'url(/_jd/branding/jamdesk-wordmark.svg)',
15
- maskImage: 'url(/_jd/branding/jamdesk-wordmark.svg)',
16
- WebkitMaskRepeat: 'no-repeat',
17
- maskRepeat: 'no-repeat',
18
- WebkitMaskSize: 'contain',
19
- maskSize: 'contain',
20
- WebkitMaskPosition: 'center',
21
- maskPosition: 'center',
17
+ WebkitMask: WORDMARK_MASK,
18
+ mask: WORDMARK_MASK,
22
19
  };
23
20
 
24
21
  interface SocialFooterProps {
@@ -164,13 +161,13 @@ export function SocialFooter({ config, hidden, projectSlug }: SocialFooterProps)
164
161
  href={getBrandingUrl(projectSlug)}
165
162
  target="_blank"
166
163
  rel="noopener noreferrer"
167
- className="group flex items-baseline gap-1 text-sm text-[var(--color-marker)] hover:text-[var(--color-text-tertiary)] transition-colors whitespace-nowrap"
164
+ className="group flex items-baseline gap-1 text-sm text-[var(--color-text-muted)]/60 hover:text-[var(--color-text-muted)] transition-colors whitespace-nowrap"
168
165
  >
169
166
  Powered by
170
167
  <span
171
168
  role="img"
172
169
  aria-label="Jamdesk"
173
- className="inline-block translate-y-[2px]"
170
+ className="inline-block translate-y-[2px] text-[var(--color-text-muted)]/85 group-hover:text-[var(--color-text-primary)]"
174
171
  style={WORDMARK_STYLE}
175
172
  />
176
173
  </a>