@justai/cuts 0.57.0 → 0.59.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/package.json +4 -4
- package/src/BackToZone.astro +5 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justai/cuts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "A persona's named parts — the page shell that holds them, and the cuts themselves.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@justai/core": "^0
|
|
38
|
-
"@justai/ui": "^0
|
|
39
|
-
"@justai/atrium": "^0
|
|
37
|
+
"@justai/core": "^0",
|
|
38
|
+
"@justai/ui": "^0",
|
|
39
|
+
"@justai/atrium": "^0"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/src/BackToZone.astro
CHANGED
|
@@ -5,29 +5,19 @@
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<a class="home" href="https://app.zone" data-home aria-label="app.zone" title="app.zone">
|
|
8
|
-
<
|
|
9
|
-
<img class="zmark az-dark" src="https://app.zone/appzone-mark.svg" alt="" width="20" height="20" loading="lazy" />
|
|
8
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 10.5L12 3l9 7.5"/><path d="M5 9.5V20h14V9.5"/></svg>
|
|
10
9
|
</a>
|
|
11
10
|
|
|
12
11
|
<style>
|
|
13
12
|
/* icon-only, flat — flush to the left edge of the (full-bleed) toolbar */
|
|
14
13
|
.home {
|
|
15
14
|
display: inline-grid; place-items: center; width: 36px; height: 36px;
|
|
16
|
-
text-decoration: none; margin-inline-start: -7px;
|
|
17
|
-
transition: transform 0.2s var(--ease-spring);
|
|
15
|
+
color: var(--text-dim); text-decoration: none; margin-inline-start: -7px;
|
|
16
|
+
transition: color 0.2s, transform 0.2s var(--ease-spring);
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
"this answers you" without recolouring the brand: held slightly back at rest, full on hover. */
|
|
21
|
-
.home .zmark { width: 20px; height: 20px; display: block; opacity: 0.78; transition: opacity 0.2s; }
|
|
22
|
-
.home:hover .zmark { opacity: 1; }
|
|
18
|
+
.home:hover { color: var(--text); }
|
|
23
19
|
.home:active { transform: scale(0.9); }
|
|
24
|
-
|
|
25
|
-
prefers-color-scheme does not survive being loaded through <img>, measured. So the page chooses. */
|
|
26
|
-
.home .zmark.az-dark { display: none; }
|
|
27
|
-
@media (prefers-color-scheme: dark) {
|
|
28
|
-
.home .zmark.az-light { display: none; }
|
|
29
|
-
.home .zmark.az-dark { display: block; }
|
|
30
|
-
}
|
|
20
|
+
.home svg { width: 20px; height: 20px; }
|
|
31
21
|
</style>
|
|
32
22
|
|
|
33
23
|
<script>
|