@stacksjs/bunpress 0.1.9 → 0.1.11

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.
@@ -1952,8 +1952,10 @@ export const layoutCSS = `/**
1952
1952
  }
1953
1953
 
1954
1954
  .BPNavBarTitle {
1955
+ display: inline-flex;
1956
+ align-items: center;
1955
1957
  font-size: 16px;
1956
- font-weight: 600;
1958
+ font-weight: 750;
1957
1959
  color: var(--bp-c-text-1);
1958
1960
  white-space: nowrap;
1959
1961
  text-decoration: none;
@@ -1973,8 +1975,8 @@ export const layoutCSS = `/**
1973
1975
  .BPNavBarMenu a,
1974
1976
  .BPNavBarMenu .BPNavBarMenu-link {
1975
1977
  font-size: 14px;
1976
- font-weight: 500;
1977
- color: var(--bp-c-text-1);
1978
+ font-weight: 600;
1979
+ color: var(--bp-c-text-2);
1978
1980
  text-decoration: none;
1979
1981
  transition: color 0.25s;
1980
1982
  cursor: pointer;
@@ -2204,7 +2206,7 @@ export const layoutCSS = `/**
2204
2206
  * -------------------------------------------------------------------------- */
2205
2207
 
2206
2208
  .BPHero-name {
2207
- font-size: 20px;
2209
+ font-size: 22px;
2208
2210
  font-weight: 700;
2209
2211
  letter-spacing: -0.02em;
2210
2212
  line-height: 1.2;
@@ -2216,7 +2218,7 @@ export const layoutCSS = `/**
2216
2218
  }
2217
2219
 
2218
2220
  .BPHero-text {
2219
- font-size: 40px;
2221
+ font-size: 48px;
2220
2222
  font-weight: 800;
2221
2223
  letter-spacing: -0.02em;
2222
2224
  line-height: 1.1;
@@ -2225,6 +2227,7 @@ export const layoutCSS = `/**
2225
2227
  }
2226
2228
 
2227
2229
  .BPHero-tagline {
2230
+ max-width: 720px;
2228
2231
  font-size: 18px;
2229
2232
  font-weight: 400;
2230
2233
  line-height: 1.6;
@@ -2268,7 +2271,7 @@ export const layoutCSS = `/**
2268
2271
  }
2269
2272
 
2270
2273
  .BPButton-brand {
2271
- color: var(--bp-button-brand-text, #fff);
2274
+ color: var(--bp-button-brand-text, #03110b);
2272
2275
  background-color: var(--bp-c-brand-1);
2273
2276
  border-color: var(--bp-c-brand-1);
2274
2277
  }
@@ -2327,7 +2330,7 @@ export const layoutCSS = `/**
2327
2330
 
2328
2331
  .BPFeature {
2329
2332
  display: block;
2330
- padding: 24px;
2333
+ padding: 26px;
2331
2334
  background-color: var(--bp-c-bg-soft, var(--bp-c-bg-alt));
2332
2335
  border: 1px solid var(--bp-c-divider);
2333
2336
  border-radius: 12px;
@@ -2378,6 +2381,26 @@ export const layoutCSS = `/**
2378
2381
  color: var(--bp-c-text-2);
2379
2382
  }
2380
2383
 
2384
+ /**
2385
+ * Home page markdown body — rendered below the hero + features grid.
2386
+ * Wrapped as .BPHome-content > .bp-doc.vp-doc.container by markdownToHtml.
2387
+ * -------------------------------------------------------------------------- */
2388
+
2389
+ .BPHome-content {
2390
+ padding: 48px 24px 96px;
2391
+ }
2392
+
2393
+ .BPHome-content .container {
2394
+ margin: 0 auto;
2395
+ max-width: 1152px;
2396
+ }
2397
+
2398
+ @media (min-width: 960px) {
2399
+ .BPHome-content {
2400
+ padding: 64px 32px 128px;
2401
+ }
2402
+ }
2403
+
2381
2404
  /**
2382
2405
  * Inline content — badges, external link icons
2383
2406
  * -------------------------------------------------------------------------- */
package/dist/types.d.ts CHANGED
@@ -2,6 +2,7 @@ export declare interface BunPressConfig {
2
2
  verbose: boolean
3
3
  title?: string
4
4
  description?: string
5
+ darkMode?: boolean | 'auto' | 'dark' | 'light'
5
6
  themeConfig?: ThemeConfig & {
6
7
  sidebar?: SidebarItem[] | Record<string, SidebarItem[]>
7
8
  nav?: NavItem[]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/bunpress",
3
3
  "type": "module",
4
- "version": "0.1.9",
4
+ "version": "0.1.11",
5
5
  "description": "Modern documentation engine. Powered by Bun.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -52,13 +52,13 @@
52
52
  "typecheck": "bun --bun tsc --noEmit"
53
53
  },
54
54
  "dependencies": {
55
- "@stacksjs/clapp": "^0.2.0",
56
- "@stacksjs/stx": "^0.2.10",
55
+ "@stacksjs/stx": "^0.2.72",
57
56
  "@stacksjs/ts-md": "^0.1.1",
58
- "@stacksjs/ts-cloud": "^0.2.3",
57
+ "@stacksjs/ts-cloud": "^0.5.17",
59
58
  "bunfig": "^0.15.6"
60
59
  },
61
60
  "devDependencies": {
61
+ "@stacksjs/clapp": "^0.2.0",
62
62
  "ts-syntax-highlighter": "^0.2.1",
63
63
  "typescript": "^5.9.3"
64
64
  }
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{H as a,I as b,J as c,K as d,L as e,M as f}from"./chunk-dc9wxnsp.js";import"./chunk-43fsk0jg.js";export{c as wrapInLayout,b as stripConfiguredBasePath,e as startServer,f as serveCLI,d as markdownToHtml,a as getConfiguredBasePath};