@@ -30,12 +30,12 @@ The `developer` and `about` repos are both Astro Starlight sites with the same F
3030
3131## Options
3232
33- ### Option A: Shared npm package (` @fashionunited /starlight-theme ` )
33+ ### Option A: Shared npm package (` @fuww /starlight-theme ` )
3434
3535Create a new repo (or a directory in the org workspace) that publishes an npm package containing:
3636
3737```
38- @fashionunited /starlight-theme/
38+ @fuww /starlight-theme/
3939 tailwind.config.mjs # The base config (colors, fonts, gradients, plugins)
4040 tailwind-preset.mjs # Tailwind preset (importable, mergeable)
4141 styles/
@@ -58,7 +58,7 @@ Create a new repo (or a directory in the org workspace) that publishes an npm pa
5858
5959``` js
6060// tailwind.config.mjs
61- import { fuThemePreset } from ' @fashionunited /starlight-theme/tailwind-preset' ;
61+ import { fuThemePreset } from ' @fuww /starlight-theme/tailwind-preset' ;
6262export default {
6363 presets: [fuThemePreset],
6464 // site-specific overrides here
@@ -67,7 +67,7 @@ export default {
6767
6868``` js
6969// astro.config.mjs
70- import { starlightConfig } from ' @fashionunited /starlight-theme' ;
70+ import { starlightConfig } from ' @fuww /starlight-theme' ;
7171export default defineConfig ({
7272 integrations: [
7373 starlight ({
@@ -96,7 +96,7 @@ export default defineConfig({
9696
9797Starlight has a [ plugin API] ( https://starlight.astro.build/reference/plugins/ ) that can inject CSS, components, and configuration. This is what ` starlight-theme-next ` already does for you.
9898
99- Create ` @fashionunited /starlight-plugin-theme ` :
99+ Create ` @fuww /starlight-plugin-theme ` :
100100
101101``` ts
102102// index.ts
@@ -109,13 +109,13 @@ export default function fashionunitedTheme(): StarlightPlugin {
109109 setup({ config , updateConfig , addIntegration }) {
110110 updateConfig ({
111111 customCss: [
112- ' @fashionunited /starlight-plugin-theme/styles/base.css' ,
113- ' @fashionunited /starlight-plugin-theme/styles/globals.css' ,
112+ ' @fuww /starlight-plugin-theme/styles/base.css' ,
113+ ' @fuww /starlight-plugin-theme/styles/globals.css' ,
114114 ... config .customCss ,
115115 ],
116116 components: {
117- Head: ' @fashionunited /starlight-plugin-theme/components/Head.astro' ,
118- PageTitle: ' @fashionunited /starlight-plugin-theme/components/PageTitle.astro' ,
117+ Head: ' @fuww /starlight-plugin-theme/components/Head.astro' ,
118+ PageTitle: ' @fuww /starlight-plugin-theme/components/PageTitle.astro' ,
119119 ... config .components , // consumer overrides win
120120 },
121121 });
@@ -129,7 +129,7 @@ export default function fashionunitedTheme(): StarlightPlugin {
129129
130130``` js
131131// astro.config.mjs
132- import fashionunitedTheme from ' @fashionunited /starlight-plugin-theme' ;
132+ import fashionunitedTheme from ' @fuww /starlight-plugin-theme' ;
133133
134134starlight ({
135135 plugins: [fashionunitedTheme (), starlightLlmsTxt (), starlightThemeNext ()],
@@ -196,7 +196,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
196196
197197### Phase 1: Extract shared theme (new package)
198198
199- 1 . Create ` @fashionunited /starlight-plugin-theme ` repo (or ` /theme ` in the org workspace)
199+ 1 . Create ` @fuww /starlight-plugin-theme ` repo (or ` /theme ` in the org workspace)
2002002 . Move into it:
201201 - ` styles/base.css ` — the shared ~ 55 lines from custom.css / tailwind.css (dark mode fix, hero gradient, site-title gradient, button gradients, sidebar active state)
202202 - ` styles/globals.css ` — the shadcn CSS variable system (pick one source of truth, reconcile the HSL drift)
@@ -211,7 +211,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
211211
212212### Phase 2: Migrate developer site
213213
214- 1 . ` bun add @fashionunited /starlight-plugin-theme `
214+ 1 . ` bun add @fuww /starlight-plugin-theme `
2152152 . Replace ` tailwind.config.mjs ` with preset import + site-specific overrides only
2162163 . Replace ` custom.css ` with an import of the shared base (or let the plugin inject it)
2172174 . Remove ` globals.css ` , ` utils.ts ` , ` constants.ts ` , ` button.tsx ` , ` card.tsx ` , ` PageTitle.astro ` (now from package)
@@ -220,7 +220,7 @@ The Tailwind preset can ship alongside the plugin as a separate export. The shad
220220
221221### Phase 3: Migrate about site
222222
223- 1 . ` bun add @fashionunited /starlight-plugin-theme `
223+ 1 . ` bun add @fuww /starlight-plugin-theme `
2242242 . Replace shared portions of ` tailwind.config.mjs ` with preset
2252253 . Split ` src/tailwind.css ` — shared base moves to package, prompt system CSS stays local
2262264 . Remove duplicated files
0 commit comments