@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.
- package/dist/brickwork.css +405 -91
- package/package.json +4 -3
- package/src/components.css +2 -2
- package/src/document-a11y.css +15 -7
- package/src/layers/components.css +278 -70
- package/src/layout.css +2 -9
- package/src/primitives.css +3 -1
- package/src/reset.css +6 -1
- package/src/wave-e.css +1 -1
package/src/primitives.css
CHANGED
|
@@ -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-
|
|
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
|
-
|
|
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,
|