@bwui/css 0.1.3 → 0.1.5

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.
@@ -115,8 +115,10 @@
115
115
  .bw-fg-subtle {
116
116
  color: var(--bw-color-fg-subtle);
117
117
  }
118
+ /* Page ground; the same token as the body (icvoss/brickwork#26). There is no
119
+ * --bw-color-bg token, so this resolves to the surface role. */
118
120
  .bw-bg {
119
- background-color: var(--bw-color-bg);
121
+ background-color: var(--bw-color-surface);
120
122
  }
121
123
  .bw-surface {
122
124
  background-color: var(--bw-color-surface);
package/src/reset.css CHANGED
@@ -29,7 +29,12 @@ body {
29
29
  font-size: var(--bw-text-body-md-size, 1rem);
30
30
  -webkit-font-smoothing: antialiased;
31
31
  color: var(--bw-color-fg);
32
- background-color: var(--bw-color-bg);
32
+ /* Page ground (icvoss/brickwork#26): the surface token. A prior
33
+ * var(--bw-color-bg) named a token no theme defines, so the declaration was
34
+ * invalid at computed-value time and the body stayed transparent (a white
35
+ * canvas under dark text colours). Surface is white in light and near-black
36
+ * in dark, so light output is unchanged and dark now paints its own ground. */
37
+ background-color: var(--bw-color-surface);
33
38
  }
34
39
 
35
40
  img,
package/src/wave-e.css CHANGED
@@ -122,7 +122,7 @@
122
122
  line-height: 1;
123
123
  }
124
124
 
125
- .bw-icon--lg {
125
+ .bw-icon--lg, .bw-icon--size-lg {
126
126
  inline-size: 2.5rem;
127
127
  block-size: 2.5rem;
128
128
  font-size: var(--bw-text-heading-md-size);