@rxova/astro-ui 0.6.0 → 0.6.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxova/astro-ui",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "description": "Astro components, Starlight preset and shared chrome for rxova.org",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@rxova/brand": "^1.2.0",
49
+ "@rxova/brand": "^1.3.0",
50
50
  "lucide-static": "^1.45.0"
51
51
  },
52
52
  "devDependencies": {
@@ -40,7 +40,7 @@ const { title, back, variant = 'index', measure = 'wide' } = Astro.props
40
40
  letter-spacing: -0.02em;
41
41
  margin-bottom: 0.6rem;
42
42
  }
43
- /* One title across /about, /blog and /updates, so switching pages does not move it. */
43
+ /* One title across /projects, /blog and /updates, so switching pages does not move it. */
44
44
  .index h1 {
45
45
  line-height: 1.15;
46
46
  font-weight: 650;
@@ -106,6 +106,17 @@ const { shots, link } = Astro.props
106
106
  height: auto;
107
107
  }
108
108
 
109
+ /* A light capture is the brightest thing on a dark page; dimmed, it sits on the surface instead of glaring. */
110
+ @media (prefers-color-scheme: dark) {
111
+ :global(html:not([data-theme='light'])) .rx-shots__frame :global(img) {
112
+ filter: brightness(0.8);
113
+ }
114
+ }
115
+
116
+ :global(html[data-theme='dark']) .rx-shots__frame :global(img) {
117
+ filter: brightness(0.8);
118
+ }
119
+
109
120
  /* Index beside the label, detail hanging under the label; the indent binds the pair. */
110
121
  .rx-shots__caption {
111
122
  display: grid;
@@ -19,7 +19,7 @@ interface Props {
19
19
  docs?: { label: string; href: string }[]
20
20
  /**
21
21
  * Standalone surfaces listed under "Site", below Home. Only the umbrella repo knows which are
22
- * deployed; the default (for docs sites) includes /about, a page of the landing build.
22
+ * deployed; the default (for docs sites) is `SECTIONS`: Projects, Blog and Updates.
23
23
  */
24
24
  site?: readonly SiteLink[]
25
25
  /**