@commonpub/layer 0.64.0 → 0.64.1
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 +8 -8
- package/theme/stoa.css +34 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commonpub/layer",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"files": [
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"vue": "^3.4.0",
|
|
54
54
|
"vue-router": "^4.3.0",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
|
-
"@commonpub/auth": "0.8.0",
|
|
57
|
-
"@commonpub/editor": "0.7.11",
|
|
58
56
|
"@commonpub/config": "0.19.0",
|
|
57
|
+
"@commonpub/auth": "0.8.0",
|
|
58
|
+
"@commonpub/explainer": "0.7.15",
|
|
59
59
|
"@commonpub/docs": "0.6.3",
|
|
60
|
-
"@commonpub/
|
|
61
|
-
"@commonpub/
|
|
60
|
+
"@commonpub/schema": "0.35.0",
|
|
61
|
+
"@commonpub/editor": "0.7.11",
|
|
62
62
|
"@commonpub/protocol": "0.13.0",
|
|
63
|
-
"@commonpub/
|
|
64
|
-
"@commonpub/ui": "0.11.
|
|
65
|
-
"@commonpub/
|
|
63
|
+
"@commonpub/server": "2.82.0",
|
|
64
|
+
"@commonpub/ui": "0.11.1",
|
|
65
|
+
"@commonpub/learning": "0.5.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@testing-library/jest-dom": "^6.9.1",
|
package/theme/stoa.css
CHANGED
|
@@ -340,6 +340,40 @@
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
|
|
343
|
+
/* ═══════════════════════════════════════════
|
|
344
|
+
UNIVERSAL-RADIUS GUARD
|
|
345
|
+
base.css applies `* { border-radius: var(--radius) }`. With Stoa's rounded
|
|
346
|
+
--radius that rounds things that must stay sharp — most visibly it clipped
|
|
347
|
+
the Town Square logo SVG into a blob. Keep SVG marks / icons / illustrations
|
|
348
|
+
square (avatars use <img> + --radius-full, so they're unaffected). Also pin
|
|
349
|
+
media inside cards to the card's own corners so the rounded, overflow-hidden
|
|
350
|
+
card clips them cleanly instead of leaving wedge gaps.
|
|
351
|
+
═══════════════════════════════════════════ */
|
|
352
|
+
|
|
353
|
+
[data-theme="stoa"] svg,
|
|
354
|
+
[data-theme="stoa-dark"] svg { border-radius: 0; }
|
|
355
|
+
|
|
356
|
+
[data-theme="stoa"] .cpub-content-card img,
|
|
357
|
+
[data-theme="stoa-dark"] .cpub-content-card img,
|
|
358
|
+
[data-theme="stoa"] .cpub-card-cover,
|
|
359
|
+
[data-theme="stoa-dark"] .cpub-card-cover { border-radius: 0; }
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/* ═══════════════════════════════════════════
|
|
363
|
+
EDGE DEFINITION
|
|
364
|
+
Slightly firmer card/panel borders so cards read as objects on the warm
|
|
365
|
+
grounds rather than floating tints.
|
|
366
|
+
═══════════════════════════════════════════ */
|
|
367
|
+
|
|
368
|
+
[data-theme="stoa"] .cpub-content-card,
|
|
369
|
+
[data-theme="stoa"] .cpub-sb-card,
|
|
370
|
+
[data-theme="stoa"] .cpub-stat-card { border-color: rgba(42, 38, 32, 0.18); }
|
|
371
|
+
|
|
372
|
+
[data-theme="stoa-dark"] .cpub-content-card,
|
|
373
|
+
[data-theme="stoa-dark"] .cpub-sb-card,
|
|
374
|
+
[data-theme="stoa-dark"] .cpub-stat-card { border-color: rgba(241, 235, 218, 0.16); }
|
|
375
|
+
|
|
376
|
+
|
|
343
377
|
/* ═══════════════════════════════════════════
|
|
344
378
|
LOGO SWITCH
|
|
345
379
|
Stoa shares Agora's Town Square mark (hide
|