@abraca/junis 2.81.0 → 2.83.0
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/README.md +31 -15
- package/dist/module.json +1 -1
- package/dist/module.mjs +49 -18
- package/dist/runtime/assets/css/jun.css +1 -1
- package/dist/runtime/components/JunCampfireChat.vue +1 -1
- package/dist/runtime/components/JunCampfirePanel.vue +12 -12
- package/dist/runtime/components/JunCampfirePresence.client.vue +8 -8
- package/dist/runtime/components/JunCampfireRoster.vue +13 -13
- package/dist/runtime/components/JunCampfireYou.vue +9 -9
- package/dist/runtime/components/JunGlobeEditor.client.vue +396 -183
- package/dist/runtime/components/JunGlobeMap.client.vue +1 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue +41 -4
- package/dist/runtime/components/JunImagePopup.client.vue +1 -1
- package/dist/runtime/components/renderers/JunAppsRenderer.vue +5 -5
- package/dist/runtime/components/renderers/JunCvRenderer.vue +1 -1
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +1 -1
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue +2 -0
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +2 -2
- package/dist/runtime/components/renderers/JunJournalRenderer.vue +6 -6
- package/dist/runtime/components/renderers/JunLiveRenderer.vue +2 -1
- package/dist/runtime/components/renderers/JunMovieRenderer.vue +1 -1
- package/dist/runtime/components/renderers/JunNowRenderer.vue +39 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue +2 -2
- package/dist/runtime/components/renderers/JunStatsRenderer.vue +293 -74
- package/dist/runtime/components/renderers/JunTrackRenderer.vue +44 -0
- package/dist/runtime/components/renderers/JunWallRenderer.vue +1 -0
- package/dist/runtime/composables/useJunChrome.js +11 -2
- package/dist/runtime/composables/useJunTheme.js +9 -0
- package/dist/runtime/composables/useJunViewingAccent.d.ts +0 -1
- package/dist/runtime/composables/useJunViewingAccent.js +1 -1
- package/dist/runtime/plugins/jun-fresh-server.client.d.ts +2 -0
- package/dist/runtime/plugins/jun-fresh-server.client.js +42 -0
- package/dist/runtime/server/api/stats.get.d.ts +27 -0
- package/dist/runtime/server/api/stats.get.js +35 -8
- package/dist/runtime/server/janitor/junJanitorChores.d.ts +23 -2
- package/dist/runtime/server/janitor/junJanitorChores.js +74 -8
- package/dist/runtime/server/janitor/junJanitorMachine.js +16 -2
- package/dist/runtime/server/janitor/junJanitorStore.d.ts +35 -1
- package/dist/runtime/server/janitor/junJanitorStore.js +62 -4
- package/dist/runtime/server/plugins/jun-bootstrap.js +128 -15
- package/dist/runtime/server/plugins/jun-doc-cache.js +44 -3
- package/dist/runtime/server/tasks/jun-register-tree.d.ts +16 -0
- package/dist/runtime/server/tasks/jun-register-tree.js +22 -0
- package/dist/runtime/server/utils/junActivity.d.ts +15 -0
- package/dist/runtime/server/utils/junActivity.js +71 -0
- package/dist/runtime/server/utils/junActivityMath.d.ts +61 -0
- package/dist/runtime/server/utils/junActivityMath.js +31 -0
- package/dist/runtime/server/utils/junCache.d.ts +15 -0
- package/dist/runtime/server/utils/junCache.js +9 -0
- package/dist/runtime/server/utils/junRegisterTree.d.ts +59 -0
- package/dist/runtime/server/utils/junRegisterTree.js +76 -0
- package/dist/runtime/server/utils/junServiceFetch.js +1 -1
- package/dist/runtime/server/utils/junVisibility.js +2 -0
- package/dist/runtime/types.d.ts +1 -1
- package/dist/runtime/utils/junVisibility.js +2 -0
- package/package.json +5 -2
- package/dist/runtime/components/renderers/JunWindowRenderer.d.vue.ts +0 -10
- package/dist/runtime/components/renderers/JunWindowRenderer.vue +0 -516
- package/dist/runtime/components/renderers/JunWindowRenderer.vue.d.ts +0 -10
package/README.md
CHANGED
|
@@ -5,22 +5,28 @@ a document tree and you get a website: typed page renderers, presence-aware
|
|
|
5
5
|
chrome, an owner editing studio, server-side rendering, feeds, search, and
|
|
6
6
|
visitor interaction — all driven by documents rather than code.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
>
|
|
12
|
-
>
|
|
13
|
-
> assertions**, from an empty database. The **globe** is the twenty-fourth: it is
|
|
14
|
-
> ported but has **never been rendered**, because it needs a Mapbox token and
|
|
15
|
-
> seeded waypoints. Treat it as unproven.
|
|
8
|
+
> **Status: pre-1.0, and honest about it.** All **23** page types render and are
|
|
9
|
+
> exercised on every boot from an **empty database** — the playground ships no
|
|
10
|
+
> database, deliberately, because one that ships a database never proves its
|
|
11
|
+
> seeder works. A cold start seeds **64 documents**, **19 bodies** and two
|
|
12
|
+
> generated photographs for the wall.
|
|
16
13
|
>
|
|
17
|
-
>
|
|
18
|
-
> **skips unless `puppeteer-core` is installed**, and it has never run here. A
|
|
19
|
-
> green suite without it means the SSR payload is right, nothing more.
|
|
14
|
+
> Verified on every change, and these numbers are what the commands print:
|
|
20
15
|
>
|
|
21
|
-
>
|
|
22
|
-
>
|
|
23
|
-
>
|
|
16
|
+
> | | |
|
|
17
|
+
> |---|---|
|
|
18
|
+
> | `pnpm parity` | **394** SSR assertions across all 23 types |
|
|
19
|
+
> | `pnpm parity:nav` | **56** assertions — the only check that catches broken client-side navigation |
|
|
20
|
+
> | `pnpm test` | **150** assertions, no server needed |
|
|
21
|
+
> | `pnpm lint` · `pnpm typecheck` | clean |
|
|
22
|
+
>
|
|
23
|
+
> The **globe** is on in the playground with a token and seeded waypoints, and
|
|
24
|
+
> off by default in the module because enabling it pulls `mapbox-gl` into the
|
|
25
|
+
> bundle graph.
|
|
26
|
+
>
|
|
27
|
+
> **The largest gap:** `parity` and `parity:nav` both walk the site as a
|
|
28
|
+
> *visitor*. Nothing automated exercises the owner **studio**. Remaining gaps
|
|
29
|
+
> are in `FOLLOW-UP.md`; `CLAUDE.md` is the working reference.
|
|
24
30
|
|
|
25
31
|
```bash
|
|
26
32
|
pnpm add @abraca/junis @abraca/nuxt @abraca/dabra @abraca/convert
|
|
@@ -103,7 +109,6 @@ default except `globe`.
|
|
|
103
109
|
| `jun-mosaic` | A page composed of other pages — panes are documents, rendered by their own renderers. |
|
|
104
110
|
| `jun-guestbook` | The one page visitors write to, over RPC. |
|
|
105
111
|
| `jun-stats` | Live numbers over the document tree. |
|
|
106
|
-
| `jun-window` | A pretend app — the presence vocabulary, all at once. |
|
|
107
112
|
| `jun-redirect` | A document whose `meta.url` is a destination. Emits a real 301. |
|
|
108
113
|
| `jun-home` | A composed front page — sections assembled from the tree. |
|
|
109
114
|
| `jun-config` | The site's own settings. Owner-only, enforced. |
|
|
@@ -147,6 +152,17 @@ canonical one, so documents keep rendering without a migration:
|
|
|
147
152
|
jun: { pageTypeAliases: { 'janis-journal': 'jun-journal' } }
|
|
148
153
|
```
|
|
149
154
|
|
|
155
|
+
It is also how you survive a type being **retired**. `jun-window` — a pretend
|
|
156
|
+
application that showed the whole presence vocabulary at once — was removed in
|
|
157
|
+
2.82.0. A document still carrying that type does not break: an unrecognised type
|
|
158
|
+
falls through to FLOWING and renders in the editor, which is the same tolerance
|
|
159
|
+
that makes "Page type ▸" a safe menu item. To point those pages somewhere
|
|
160
|
+
deliberate instead:
|
|
161
|
+
|
|
162
|
+
```ts
|
|
163
|
+
jun: { pageTypeAliases: { 'jun-window': 'jun-mosaic' } }
|
|
164
|
+
```
|
|
165
|
+
|
|
150
166
|
### The mosaic — an alternative to the home page
|
|
151
167
|
|
|
152
168
|
`jun-home` composes a front page out of a fixed vocabulary of sections.
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -139,12 +139,6 @@ const PAGE_TYPES = {
|
|
|
139
139
|
renderer: "JunConfigRenderer",
|
|
140
140
|
default: true
|
|
141
141
|
},
|
|
142
|
-
window: {
|
|
143
|
-
label: "Window",
|
|
144
|
-
icon: "i-lucide-app-window",
|
|
145
|
-
renderer: "JunWindowRenderer",
|
|
146
|
-
default: true
|
|
147
|
-
},
|
|
148
142
|
cinema: {
|
|
149
143
|
label: "Cinema",
|
|
150
144
|
icon: "i-lucide-clapperboard",
|
|
@@ -254,6 +248,10 @@ const BUILTIN_META_EXCLUDE_KEYS = [
|
|
|
254
248
|
// Waveform peaks — an array of a few hundred floats. Same class of hazard as
|
|
255
249
|
// `routeGeo`: a chip would stringify the lot on the main thread.
|
|
256
250
|
"peaks",
|
|
251
|
+
// Which tiles the Pulse page shows, in order. An ARRAY of tile keys, written
|
|
252
|
+
// by ticking a menu — a chip for it is an editable string that can only be
|
|
253
|
+
// got wrong.
|
|
254
|
+
"statsTiles",
|
|
257
255
|
// The mosaic's own composition. `paneSpan` is edited by dragging a corner,
|
|
258
256
|
// `paneRect` is four numbers in grid units, and `mosaicLayout` is picked from
|
|
259
257
|
// a card row — a chip for any of them is an editable string that can only be
|
|
@@ -449,6 +447,20 @@ const FONT_FAMILIES = [
|
|
|
449
447
|
{ name: "Space Grotesk", provider: "google", fallbacks: ["system-ui", "sans-serif"], weights: [300, 400, 500, 600, 700], styles: ["normal"], display: "swap" },
|
|
450
448
|
{ name: "JetBrains Mono", provider: "google", fallbacks: ["ui-monospace", "monospace"], weights: [400, 500, 600], styles: ["normal"], display: "swap" }
|
|
451
449
|
];
|
|
450
|
+
function nuxtOptionsRecord(nuxt) {
|
|
451
|
+
return nuxt.options;
|
|
452
|
+
}
|
|
453
|
+
function asRecord(value) {
|
|
454
|
+
return value && typeof value === "object" ? value : void 0;
|
|
455
|
+
}
|
|
456
|
+
function siblingOptions(nuxt, key) {
|
|
457
|
+
const all = nuxtOptionsRecord(nuxt);
|
|
458
|
+
const existing = all[key];
|
|
459
|
+
if (existing && typeof existing === "object") return existing;
|
|
460
|
+
const created = {};
|
|
461
|
+
all[key] = created;
|
|
462
|
+
return created;
|
|
463
|
+
}
|
|
452
464
|
function resolveJanitor(options, featureOn) {
|
|
453
465
|
const name = options?.name ?? "janitor";
|
|
454
466
|
return {
|
|
@@ -554,8 +566,12 @@ const module$1 = defineNuxtModule({
|
|
|
554
566
|
},
|
|
555
567
|
async setup(options, nuxt) {
|
|
556
568
|
const resolver = createResolver(import.meta.url);
|
|
557
|
-
const iconOptions = nuxt
|
|
569
|
+
const iconOptions = siblingOptions(nuxt, "icon");
|
|
558
570
|
iconOptions.cssLayer ??= "base";
|
|
571
|
+
const registerFreshServerGuard = () => addPlugin({
|
|
572
|
+
src: resolver.resolve("./runtime/plugins/jun-fresh-server.client"),
|
|
573
|
+
mode: "client"
|
|
574
|
+
});
|
|
559
575
|
if (options.autoInstall !== false) {
|
|
560
576
|
if (!hasNuxtModule("@nuxt/ui")) await installModule("@nuxt/ui");
|
|
561
577
|
if (!hasNuxtModule("@nuxt/image")) await installModule("@nuxt/image");
|
|
@@ -565,11 +581,14 @@ const module$1 = defineNuxtModule({
|
|
|
565
581
|
}
|
|
566
582
|
if (options.fonts !== false && !hasNuxtModule("@nuxt/fonts")) await installModule("@nuxt/fonts");
|
|
567
583
|
if (!hasNuxtModule("@vueuse/motion/nuxt")) await installModule("@vueuse/motion/nuxt");
|
|
584
|
+
registerFreshServerGuard();
|
|
568
585
|
if (!hasNuxtModule("@abraca/nuxt")) await installModule("@abraca/nuxt");
|
|
569
586
|
} else if (!hasNuxtModule("@abraca/nuxt")) {
|
|
570
587
|
throw new Error(
|
|
571
588
|
"[@abraca/junis] requires @abraca/nuxt. Add it to `modules` before @abraca/junis, or leave `jun.autoInstall` on."
|
|
572
589
|
);
|
|
590
|
+
} else {
|
|
591
|
+
registerFreshServerGuard();
|
|
573
592
|
}
|
|
574
593
|
const enabled = [];
|
|
575
594
|
for (const [key, def] of Object.entries(PAGE_TYPES)) {
|
|
@@ -610,7 +629,6 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
610
629
|
"redirect",
|
|
611
630
|
"guestbook",
|
|
612
631
|
"stats",
|
|
613
|
-
"window",
|
|
614
632
|
"movie",
|
|
615
633
|
"track"
|
|
616
634
|
),
|
|
@@ -728,11 +746,12 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
728
746
|
githubToken: options.githubToken ?? ""
|
|
729
747
|
}
|
|
730
748
|
);
|
|
731
|
-
const abra = nuxt
|
|
749
|
+
const abra = siblingOptions(nuxt, "abracadabra");
|
|
732
750
|
abra.guestName ??= runtime.guestNames;
|
|
733
751
|
if (options.fonts !== false) {
|
|
734
|
-
const fonts = nuxt
|
|
735
|
-
fonts.families
|
|
752
|
+
const fonts = siblingOptions(nuxt, "fonts");
|
|
753
|
+
const families = Array.isArray(fonts.families) ? fonts.families : [];
|
|
754
|
+
fonts.families = [...families, ...FONT_FAMILIES];
|
|
736
755
|
}
|
|
737
756
|
nuxt.options.appConfig.ui = defu(nuxt.options.appConfig.ui ?? {}, {
|
|
738
757
|
colors: { primary: "stone", neutral: "stone" },
|
|
@@ -876,6 +895,13 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
876
895
|
}
|
|
877
896
|
if (runtime.features.docCache) {
|
|
878
897
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-doc-cache"));
|
|
898
|
+
nuxt.options.nitro.experimental = defu(nuxt.options.nitro.experimental, { tasks: true });
|
|
899
|
+
nuxt.options.nitro.tasks = defu(nuxt.options.nitro.tasks, {
|
|
900
|
+
"jun:register-tree": {
|
|
901
|
+
handler: resolver.resolve("./runtime/server/tasks/jun-register-tree"),
|
|
902
|
+
description: "REST-register yjs-only tree documents so the permission cascade sees them"
|
|
903
|
+
}
|
|
904
|
+
});
|
|
879
905
|
}
|
|
880
906
|
if (runtime.features.rpc) {
|
|
881
907
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-rpc"));
|
|
@@ -890,8 +916,8 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
890
916
|
inline: ["happy-dom"]
|
|
891
917
|
});
|
|
892
918
|
if (options.pwa !== false && hasNuxtModule("@vite-pwa/nuxt")) {
|
|
893
|
-
const
|
|
894
|
-
|
|
919
|
+
const all = nuxtOptionsRecord(nuxt);
|
|
920
|
+
all.pwa = defu(asRecord(all.pwa), {
|
|
895
921
|
registerType: "autoUpdate",
|
|
896
922
|
manifest: {
|
|
897
923
|
id: "/",
|
|
@@ -932,15 +958,20 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
932
958
|
});
|
|
933
959
|
}
|
|
934
960
|
if (options.imageDomains?.length) {
|
|
935
|
-
const image = nuxt
|
|
936
|
-
image.domains
|
|
961
|
+
const image = siblingOptions(nuxt, "image");
|
|
962
|
+
const domains = Array.isArray(image.domains) ? image.domains : [];
|
|
963
|
+
image.domains = [...domains, ...options.imageDomains];
|
|
937
964
|
}
|
|
938
965
|
if (hasNuxtModule("nuxt-og-image")) {
|
|
939
|
-
const
|
|
940
|
-
|
|
966
|
+
const all = nuxtOptionsRecord(nuxt);
|
|
967
|
+
all.ogImage = defu(asRecord(all.ogImage), { zeroRuntime: true });
|
|
941
968
|
}
|
|
942
969
|
nuxt.options.nitro.devStorage = defu(nuxt.options.nitro.devStorage, {
|
|
943
|
-
"cache:nuxt:payload": { driver: "memory" }
|
|
970
|
+
"cache:nuxt:payload": { driver: "memory" },
|
|
971
|
+
"jun": { driver: "fs", base: "./.data/jun" }
|
|
972
|
+
});
|
|
973
|
+
nuxt.options.nitro.storage = defu(nuxt.options.nitro.storage, {
|
|
974
|
+
jun: { driver: "fs", base: "./.data/jun" }
|
|
944
975
|
});
|
|
945
976
|
if (runtime.features.backdrop === "shader") {
|
|
946
977
|
nuxt.hook("vite:extendConfig", (config) => {
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
dark:from-neutral-900/65 dark:to-neutral-900/45
|
|
11
11
|
border border-white/10 dark:border-white/5
|
|
12
12
|
ring-1 ring-black/5 dark:ring-white/10
|
|
13
|
-
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:7rem}body,html{color-scheme:light dark;overscroll-behavior-y:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100vh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b}.dark{--ui-primary:#fff;--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome{background-color:rgba(250,250,252,.97)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome{background-color:rgba(24,24,27,.97)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:hsla(0,0%,100%,.97)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:rgba(24,24,27,.97)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px)}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none;background-color:rgba(250,250,252,.97);background-image:none}:root.dark .jun-bar.is-opaque{background-color:rgba(24,24,27,.97)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
|
|
13
|
+
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:7rem}body,html{color-scheme:light dark;overscroll-behavior-y:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100vh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
|
|
@@ -112,7 +112,7 @@ onBeforeUnmount(() => {
|
|
|
112
112
|
<p
|
|
113
113
|
v-if="sendError"
|
|
114
114
|
class="mx-3 mb-1 flex items-start gap-1.5 rounded-lg bg-black/[0.04] px-2.5 py-1.5
|
|
115
|
-
text-[11px] text-
|
|
115
|
+
text-[11px] text-neutral-500 dark:bg-white/[0.06] dark:text-neutral-400"
|
|
116
116
|
role="status"
|
|
117
117
|
>
|
|
118
118
|
<UIcon
|
|
@@ -57,27 +57,27 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
|
|
|
57
57
|
<template>
|
|
58
58
|
<div
|
|
59
59
|
class="jun-campfire-panel flex flex-col overflow-hidden rounded-2xl shadow-2xl shadow-black/20
|
|
60
|
-
ring-1 ring-
|
|
60
|
+
ring-1 ring-neutral-900/10 dark:ring-white/15"
|
|
61
61
|
:class="[`is-${settings.size}`, settings.blur ? 'is-blurred' : 'is-opaque']"
|
|
62
62
|
role="dialog"
|
|
63
63
|
:aria-label="settings.title"
|
|
64
64
|
>
|
|
65
65
|
<!-- Header -->
|
|
66
|
-
<div class="flex items-center gap-2 border-b border-
|
|
66
|
+
<div class="flex items-center gap-2 border-b border-neutral-900/5 px-4 py-3 dark:border-white/10">
|
|
67
67
|
<UIcon
|
|
68
68
|
:name="settings.icon"
|
|
69
69
|
class="size-4 shrink-0"
|
|
70
|
-
:class="settings.ember ? '
|
|
70
|
+
:class="settings.ember ? 'jun-ember-ink' : 'text-neutral-400 dark:text-neutral-500'"
|
|
71
71
|
/>
|
|
72
|
-
<span class="truncate text-sm font-medium text-
|
|
72
|
+
<span class="truncate text-sm font-medium text-neutral-800 dark:text-neutral-100">
|
|
73
73
|
{{ settings.title }}
|
|
74
74
|
</span>
|
|
75
|
-
<span class="ml-auto truncate text-xs text-
|
|
75
|
+
<span class="ml-auto truncate text-xs text-neutral-500 dark:text-neutral-400">{{ label }}</span>
|
|
76
76
|
<button
|
|
77
77
|
type="button"
|
|
78
78
|
data-jun-action="close"
|
|
79
79
|
class="jun-campfire-close -mr-1 flex size-6 flex-none items-center justify-center rounded-md
|
|
80
|
-
text-
|
|
80
|
+
text-neutral-400 dark:text-neutral-500"
|
|
81
81
|
:class="hot === 'close' ? 'is-hot' : ''"
|
|
82
82
|
:aria-label="`Close ${settings.title}`"
|
|
83
83
|
@click="emit('close')"
|
|
@@ -92,7 +92,7 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
|
|
|
92
92
|
<!-- Tabs. One tab is a heading, not a choice — so the strip goes away. -->
|
|
93
93
|
<div
|
|
94
94
|
v-if="tabs.length > 1"
|
|
95
|
-
class="flex gap-0.5 border-b border-
|
|
95
|
+
class="flex gap-0.5 border-b border-neutral-900/5 px-2 py-1.5 dark:border-white/10"
|
|
96
96
|
role="tablist"
|
|
97
97
|
>
|
|
98
98
|
<button
|
|
@@ -154,12 +154,12 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
|
|
|
154
154
|
>
|
|
155
155
|
<UIcon
|
|
156
156
|
name="i-lucide-message-square-dashed"
|
|
157
|
-
class="size-5 text-
|
|
157
|
+
class="size-5 text-neutral-300 dark:text-neutral-600"
|
|
158
158
|
/>
|
|
159
|
-
<p class="text-xs text-
|
|
159
|
+
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
|
160
160
|
no channel yet
|
|
161
161
|
</p>
|
|
162
|
-
<p class="text-[11px] leading-relaxed text-
|
|
162
|
+
<p class="text-[11px] leading-relaxed text-neutral-400 dark:text-neutral-500">
|
|
163
163
|
Nobody can speak here until the site opens its chat channel.
|
|
164
164
|
</p>
|
|
165
165
|
</div>
|
|
@@ -179,7 +179,7 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
|
|
|
179
179
|
<!-- Reactions — a gesture at the fire, on every tab. -->
|
|
180
180
|
<div
|
|
181
181
|
v-if="settings.reactions"
|
|
182
|
-
class="flex items-center gap-1.5 border-t border-
|
|
182
|
+
class="flex items-center gap-1.5 border-t border-neutral-900/5 px-3 py-2 dark:border-white/10"
|
|
183
183
|
>
|
|
184
184
|
<button
|
|
185
185
|
v-for="r in settings.reactionSet"
|
|
@@ -198,5 +198,5 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
|
|
|
198
198
|
</template>
|
|
199
199
|
|
|
200
200
|
<style scoped>
|
|
201
|
-
.jun-campfire-panel.is-sm{height:min(27.5rem,calc(100dvh - 9rem));width:min(17rem,calc(100vw - 2rem))}.jun-campfire-panel.is-md{height:min(32.375rem,calc(100dvh - 9rem));width:min(20rem,calc(100vw - 2rem))}.jun-campfire-panel.is-lg{height:min(37.25rem,calc(100dvh - 9rem));width:min(23rem,calc(100vw - 2rem))}.jun-campfire-panel.is-blurred{backdrop-filter:blur(24px);background:hsla(0,0%,100%,.7)}:root.dark .jun-campfire-panel.is-blurred{background:
|
|
201
|
+
.jun-campfire-panel.is-sm{max-height:min(27.5rem,calc(100dvh - 9rem));min-height:min(13rem,calc(100dvh - 9rem));width:min(17rem,calc(100vw - 2rem))}.jun-campfire-panel.is-md{max-height:min(32.375rem,calc(100dvh - 9rem));min-height:min(14.5rem,calc(100dvh - 9rem));width:min(20rem,calc(100vw - 2rem))}.jun-campfire-panel.is-lg{max-height:min(37.25rem,calc(100dvh - 9rem));min-height:min(16rem,calc(100dvh - 9rem));width:min(23rem,calc(100vw - 2rem))}.jun-campfire-panel.is-blurred{backdrop-filter:blur(24px);background:hsla(0,0%,100%,.7)}:root.dark .jun-campfire-panel.is-blurred{background:color-mix(in srgb,var(--color-neutral-900) 70%,transparent)}.jun-campfire-panel.is-opaque{background:hsla(0,0%,100%,.97)}:root.dark .jun-campfire-panel.is-opaque{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-campfire-tab{color:var(--color-neutral-500);transition:background-color .2s ease,color .2s ease}:root.dark .jun-campfire-tab{color:var(--color-neutral-400)}.jun-campfire-tab:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-tab:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-tab.is-on{background:rgba(0,0,0,.06);color:var(--color-neutral-900)}:root.dark .jun-campfire-tab.is-on{background:hsla(0,0%,100%,.09);color:var(--color-neutral-100)}.jun-campfire-unread{background:rgba(0,0,0,.55);border-radius:999px;color:#fff;font-size:9px;font-variant-numeric:tabular-nums;line-height:.9rem;min-width:.9rem;padding:0 .2rem;position:absolute;right:.35rem;top:.1rem}:root.dark .jun-campfire-unread{background:hsla(0,0%,100%,.65);color:var(--color-neutral-900)}.jun-campfire-unread.is-ember{background:var(--jun-ember);color:#fff}.jun-campfire-close{transition:background-color .2s ease,color .2s ease}.jun-campfire-close:hover{background:rgba(0,0,0,.06);color:var(--color-neutral-700)}:root.dark .jun-campfire-close:hover{background:hsla(0,0%,100%,.08);color:var(--color-neutral-200)}.jun-campfire-react{background:hsla(0,0%,100%,.5);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);transition:transform .2s cubic-bezier(.22,1,.36,1)}:root.dark .jun-campfire-react{background:hsla(0,0%,100%,.05);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.1)}.jun-campfire-react:hover{transform:translateY(-2px)}.jun-campfire-react:active{transform:scale(.92)}@media (prefers-reduced-motion:reduce){.jun-campfire-close,.jun-campfire-react,.jun-campfire-tab{transition:none}.jun-campfire-react:hover{transform:none}}
|
|
202
202
|
</style>
|
|
@@ -238,12 +238,12 @@ onBeforeUnmount(() => {
|
|
|
238
238
|
class="size-2 rounded-full"
|
|
239
239
|
:style="{ background: followingUser.color || 'var(--ui-text-muted)' }"
|
|
240
240
|
/>
|
|
241
|
-
<span class="font-medium text-
|
|
241
|
+
<span class="font-medium text-neutral-600 dark:text-neutral-300">
|
|
242
242
|
following {{ followingUser.name }}
|
|
243
243
|
</span>
|
|
244
244
|
<UIcon
|
|
245
245
|
name="i-lucide-x"
|
|
246
|
-
class="size-3 text-
|
|
246
|
+
class="size-3 text-neutral-400"
|
|
247
247
|
/>
|
|
248
248
|
</button>
|
|
249
249
|
</Transition>
|
|
@@ -274,7 +274,7 @@ onBeforeUnmount(() => {
|
|
|
274
274
|
<UIcon
|
|
275
275
|
:name="settings.icon"
|
|
276
276
|
class="relative size-4"
|
|
277
|
-
:class="settings.ember ? '
|
|
277
|
+
:class="settings.ember ? 'jun-ember-ink' : 'text-neutral-500 dark:text-neutral-400'"
|
|
278
278
|
/>
|
|
279
279
|
<span
|
|
280
280
|
v-if="unread && !open"
|
|
@@ -291,7 +291,7 @@ onBeforeUnmount(() => {
|
|
|
291
291
|
v-for="p in faces"
|
|
292
292
|
:key="p.publicKey || p.clientId"
|
|
293
293
|
class="flex size-5 items-center justify-center rounded-full bg-white text-[9px]
|
|
294
|
-
font-medium ring-2 ring-white dark:bg-
|
|
294
|
+
font-medium ring-2 ring-white dark:bg-neutral-900 dark:ring-neutral-900"
|
|
295
295
|
:class="p.idle ? 'opacity-50' : ''"
|
|
296
296
|
:style="{ color: p.color, boxShadow: `inset 0 0 0 1.5px ${p.color}` }"
|
|
297
297
|
>{{ initial(p.name) }}</span>
|
|
@@ -299,17 +299,17 @@ onBeforeUnmount(() => {
|
|
|
299
299
|
|
|
300
300
|
<span
|
|
301
301
|
v-if="settings.pillMode === 'full'"
|
|
302
|
-
class="font-medium tracking-wide whitespace-nowrap text-
|
|
302
|
+
class="font-medium tracking-wide whitespace-nowrap text-neutral-600 dark:text-neutral-300"
|
|
303
303
|
>{{ label }}</span>
|
|
304
304
|
<span
|
|
305
305
|
v-else-if="settings.pillMode !== 'ember'"
|
|
306
|
-
class="font-medium tabular-nums text-
|
|
306
|
+
class="font-medium tabular-nums text-neutral-600 dark:text-neutral-300"
|
|
307
307
|
>{{ count }}</span>
|
|
308
308
|
|
|
309
309
|
<UIcon
|
|
310
310
|
v-if="settings.hasPanel && settings.pillMode !== 'ember'"
|
|
311
311
|
:name="open ? 'i-lucide-chevron-down' : 'i-lucide-chevron-up'"
|
|
312
|
-
class="size-3.5 text-
|
|
312
|
+
class="size-3.5 text-neutral-400 dark:text-neutral-500"
|
|
313
313
|
/>
|
|
314
314
|
</button>
|
|
315
315
|
</template>
|
|
@@ -317,5 +317,5 @@ onBeforeUnmount(() => {
|
|
|
317
317
|
</template>
|
|
318
318
|
|
|
319
319
|
<style scoped>
|
|
320
|
-
.jun-campfire-pill{transition:transform .5s cubic-bezier(.22,1,.36,1)}.jun-campfire-pill:hover{transform:scale(1.03)}.jun-campfire-pill:active{transform:scale(.97)}.jun-campfire-pill.is-static{cursor:default}.jun-campfire-pill.is-static:hover{transform:none}.jun-campfire-badge{background
|
|
320
|
+
.jun-campfire-pill{transition:transform .5s cubic-bezier(.22,1,.36,1)}.jun-campfire-pill:hover{transform:scale(1.03)}.jun-campfire-pill:active{transform:scale(.97)}.jun-campfire-pill.is-static{cursor:default}.jun-campfire-pill.is-static:hover{transform:none}.jun-campfire-badge{background:var(--color-neutral-900);border-radius:999px;color:#fff;font-size:9px;font-variant-numeric:tabular-nums;font-weight:500;line-height:.95rem;min-width:.95rem;padding:0 .2rem;position:absolute;right:-.35rem;top:-.25rem}:root.dark .jun-campfire-badge{background:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-campfire-badge.is-ember{background:var(--jun-ember);color:#fff}.jun-campfire-glow{animation:jun-campfire-breathe 3.2s ease-in-out infinite;background:radial-gradient(circle at 50% 55%,color-mix(in srgb,var(--jun-ember-glow) 55%,transparent),color-mix(in srgb,var(--jun-ember) 18%,transparent) 55%,transparent 72%)}@keyframes jun-campfire-breathe{0%,to{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}.jun-campfire-floater{animation:jun-campfire-float 1.9s cubic-bezier(.22,1,.36,1) forwards;bottom:0;filter:drop-shadow(0 0 8px currentColor);font-size:1.25rem;position:absolute;right:0}@keyframes jun-campfire-float{0%{opacity:0;transform:translate(0) scale(.6)}18%{opacity:1;transform:translate(var(--dx),-1.5rem) scale(1.1)}to{opacity:0;transform:translate(calc(var(--dx)*1.6),-7.5rem) scale(.8)}}.jun-campfire-rise-enter-active,.jun-campfire-rise-leave-active{transition:opacity .28s ease,transform .28s cubic-bezier(.22,1,.36,1)}.jun-campfire-rise-enter-from,.jun-campfire-rise-leave-to{opacity:0;transform:translateY(12px) scale(.98)}@media (prefers-reduced-motion:reduce){.jun-campfire-glow{animation:none;opacity:.7}.jun-campfire-floater{animation-duration:1.2s}.jun-campfire-pill{transition:none}.jun-campfire-pill:hover{transform:none}.jun-campfire-rise-enter-active,.jun-campfire-rise-leave-active{transition:opacity .2s ease}.jun-campfire-rise-enter-from,.jun-campfire-rise-leave-to{transform:none}}
|
|
321
321
|
</style>
|
|
@@ -104,25 +104,25 @@ function roleMenu(p) {
|
|
|
104
104
|
<span
|
|
105
105
|
v-if="!p.idle"
|
|
106
106
|
class="jun-campfire-alive absolute -right-0.5 -bottom-0.5 size-2 rounded-full ring-2
|
|
107
|
-
ring-white dark:ring-
|
|
107
|
+
ring-white dark:ring-neutral-900"
|
|
108
108
|
:style="{ background: p.color }"
|
|
109
109
|
/>
|
|
110
110
|
</span>
|
|
111
111
|
|
|
112
112
|
<span class="min-w-0 flex-1">
|
|
113
113
|
<span class="flex items-baseline gap-1.5">
|
|
114
|
-
<span class="truncate text-sm text-
|
|
114
|
+
<span class="truncate text-sm text-neutral-800 dark:text-neutral-100">{{ p.name }}</span>
|
|
115
115
|
<span
|
|
116
116
|
v-if="p.isSelf"
|
|
117
|
-
class="text-[10px] tracking-wide text-
|
|
117
|
+
class="text-[10px] tracking-wide text-neutral-400 dark:text-neutral-500"
|
|
118
118
|
>you</span>
|
|
119
119
|
<span
|
|
120
120
|
v-else-if="p.isBot"
|
|
121
|
-
class="text-[10px] tracking-wide text-
|
|
121
|
+
class="text-[10px] tracking-wide text-neutral-400 dark:text-neutral-500"
|
|
122
122
|
>service</span>
|
|
123
123
|
<span
|
|
124
124
|
v-if="p.sessions > 1"
|
|
125
|
-
class="text-[10px] tabular-nums text-
|
|
125
|
+
class="text-[10px] tabular-nums text-neutral-400 dark:text-neutral-500"
|
|
126
126
|
>×{{ p.sessions }}</span>
|
|
127
127
|
<!-- The stored grant, owner's eyes only. Absent means "inherits the
|
|
128
128
|
site default", which is not the same as being a viewer by name. -->
|
|
@@ -131,7 +131,7 @@ function roleMenu(p) {
|
|
|
131
131
|
class="jun-campfire-grant"
|
|
132
132
|
>{{ grantFor(p) }}</span>
|
|
133
133
|
</span>
|
|
134
|
-
<span class="flex items-center gap-1 text-[11px] text-
|
|
134
|
+
<span class="flex items-center gap-1 text-[11px] text-neutral-400 dark:text-neutral-500">
|
|
135
135
|
<UIcon
|
|
136
136
|
v-if="p.statusIcon"
|
|
137
137
|
:name="`i-lucide-${p.statusIcon}`"
|
|
@@ -146,7 +146,7 @@ function roleMenu(p) {
|
|
|
146
146
|
v-else-if="showPages"
|
|
147
147
|
:to="placeFor(p).to ?? void 0"
|
|
148
148
|
class="truncate"
|
|
149
|
-
:class="placeFor(p).to ? 'hover:text-
|
|
149
|
+
:class="placeFor(p).to ? 'hover:text-neutral-600 dark:hover:text-neutral-300' : ''"
|
|
150
150
|
>{{ p.idle ? "resting on" : "reading" }} {{ placeFor(p).label }}</component>
|
|
151
151
|
</span>
|
|
152
152
|
</span>
|
|
@@ -155,7 +155,7 @@ function roleMenu(p) {
|
|
|
155
155
|
v-if="canFollow(p)"
|
|
156
156
|
type="button"
|
|
157
157
|
class="jun-campfire-follow flex size-7 flex-none items-center justify-center rounded-md
|
|
158
|
-
text-
|
|
158
|
+
text-neutral-400 dark:text-neutral-500"
|
|
159
159
|
:class="isFollowed(p) ? 'is-on' : ''"
|
|
160
160
|
:aria-pressed="isFollowed(p)"
|
|
161
161
|
:aria-label="isFollowed(p) ? `Stop following ${p.name}` : `Follow ${p.name}`"
|
|
@@ -177,7 +177,7 @@ function roleMenu(p) {
|
|
|
177
177
|
<button
|
|
178
178
|
type="button"
|
|
179
179
|
class="jun-campfire-follow flex size-7 flex-none items-center justify-center rounded-md
|
|
180
|
-
text-
|
|
180
|
+
text-neutral-400 dark:text-neutral-500"
|
|
181
181
|
:class="busy === p.publicKey ? 'is-on' : ''"
|
|
182
182
|
:aria-label="`Manage ${p.name}`"
|
|
183
183
|
>
|
|
@@ -210,7 +210,7 @@ function roleMenu(p) {
|
|
|
210
210
|
class="jun-campfire-mark flex size-8 items-center justify-center rounded-full text-xs font-medium"
|
|
211
211
|
:style="{ color: p.color, boxShadow: `inset 0 0 0 1.5px ${p.color}` }"
|
|
212
212
|
>{{ initial(p.name) }}</span>
|
|
213
|
-
<span class="w-full truncate text-center text-[10px] text-
|
|
213
|
+
<span class="w-full truncate text-center text-[10px] text-neutral-500 dark:text-neutral-400">
|
|
214
214
|
{{ p.isSelf ? "you" : p.name }}
|
|
215
215
|
</span>
|
|
216
216
|
</component>
|
|
@@ -226,7 +226,7 @@ function roleMenu(p) {
|
|
|
226
226
|
v-for="p in faces"
|
|
227
227
|
:key="p.publicKey || p.clientId"
|
|
228
228
|
class="jun-campfire-mark flex size-7 items-center justify-center rounded-full bg-white
|
|
229
|
-
text-[10px] font-medium ring-2 ring-white dark:bg-
|
|
229
|
+
text-[10px] font-medium ring-2 ring-white dark:bg-neutral-900 dark:ring-neutral-900"
|
|
230
230
|
:class="p.idle ? 'opacity-55' : ''"
|
|
231
231
|
:style="{ color: p.color, boxShadow: `inset 0 0 0 1.5px ${p.color}` }"
|
|
232
232
|
:title="p.name"
|
|
@@ -234,7 +234,7 @@ function roleMenu(p) {
|
|
|
234
234
|
</span>
|
|
235
235
|
<span
|
|
236
236
|
v-if="overflow"
|
|
237
|
-
class="text-xs tabular-nums text-
|
|
237
|
+
class="text-xs tabular-nums text-neutral-400 dark:text-neutral-500"
|
|
238
238
|
>+{{ overflow }}</span>
|
|
239
239
|
</div>
|
|
240
240
|
|
|
@@ -255,5 +255,5 @@ function roleMenu(p) {
|
|
|
255
255
|
</template>
|
|
256
256
|
|
|
257
257
|
<style scoped>
|
|
258
|
-
.jun-campfire-person{transition:background-color .2s ease}.jun-campfire-person:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-person:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-mark{transition:transform .25s cubic-bezier(.22,1,.36,1)}.jun-campfire-person:hover .jun-campfire-mark,.jun-campfire-tile:hover .jun-campfire-mark{transform:scale(1.08)}.jun-campfire-tile{transition:background-color .2s ease}.jun-campfire-tile:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-tile:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-tile.is-on{background:rgba(0,0,0,.07)}:root.dark .jun-campfire-tile.is-on{background:hsla(0,0%,100%,.1)}.jun-campfire-follow{opacity:0;transition:opacity .2s ease,color .2s ease,background-color .2s ease}.jun-campfire-follow.is-on,.jun-campfire-follow:focus-visible,.jun-campfire-person:hover .jun-campfire-follow{opacity:1}.jun-campfire-follow:hover{background:rgba(0,0,0,.06);color
|
|
258
|
+
.jun-campfire-person{transition:background-color .2s ease}.jun-campfire-person:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-person:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-mark{transition:transform .25s cubic-bezier(.22,1,.36,1)}.jun-campfire-person:hover .jun-campfire-mark,.jun-campfire-tile:hover .jun-campfire-mark{transform:scale(1.08)}.jun-campfire-tile{transition:background-color .2s ease}.jun-campfire-tile:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-tile:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-tile.is-on{background:rgba(0,0,0,.07)}:root.dark .jun-campfire-tile.is-on{background:hsla(0,0%,100%,.1)}.jun-campfire-follow{opacity:0;transition:opacity .2s ease,color .2s ease,background-color .2s ease}.jun-campfire-follow.is-on,.jun-campfire-follow:focus-visible,.jun-campfire-person:hover .jun-campfire-follow{opacity:1}.jun-campfire-follow:hover{background:rgba(0,0,0,.06);color:var(--color-neutral-700)}:root.dark .jun-campfire-follow:hover{background:hsla(0,0%,100%,.08);color:var(--color-neutral-200)}.jun-campfire-follow.is-on{color:var(--color-neutral-700)}:root.dark .jun-campfire-follow.is-on{color:var(--color-neutral-200)}.jun-campfire-grant{background:rgba(0,0,0,.07);border-radius:999px;color:var(--color-neutral-600);font-size:9px;letter-spacing:.04em;line-height:.95rem;padding:0 .3rem;text-transform:uppercase}:root.dark .jun-campfire-grant{background:hsla(0,0%,100%,.1);color:var(--color-neutral-300)}.jun-campfire-alive,.jun-campfire-pulse{animation:jun-campfire-pulse 5s ease-in-out infinite}@keyframes jun-campfire-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.18)}}@media (prefers-reduced-motion:reduce){.jun-campfire-alive,.jun-campfire-mark,.jun-campfire-pulse{animation:none;transition:none}}
|
|
259
259
|
</style>
|