@axiapps/axi-design 1.23.0 → 1.23.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/dist/axi.css +7 -0
- package/package.json +1 -1
- package/src/primitives.css +7 -0
package/dist/axi.css
CHANGED
|
@@ -321,6 +321,13 @@ a { color: inherit; }
|
|
|
321
321
|
.axi-panel--tile {
|
|
322
322
|
border-width: var(--axi-border-control);
|
|
323
323
|
box-shadow: var(--axi-shadow-control);
|
|
324
|
+
/* The control radius, not the panel's. A tile has already said it is
|
|
325
|
+
control-sized by taking the control border and the control block, and
|
|
326
|
+
--axi-radius's own note says control-sized surfaces read the small step -
|
|
327
|
+
so inheriting .axi-panel's corner was the one place the tile disagreed
|
|
328
|
+
with itself. Both are 0 in this theme, which is exactly why it had to be
|
|
329
|
+
fixed by reading the token rather than by looking at it. */
|
|
330
|
+
border-radius: var(--axi-radius-sm);
|
|
324
331
|
padding: var(--axi-panel-pad, 12px);
|
|
325
332
|
}
|
|
326
333
|
/* A tile you can press moves under the press, the way every other control in
|
package/package.json
CHANGED
package/src/primitives.css
CHANGED
|
@@ -55,6 +55,13 @@
|
|
|
55
55
|
.axi-panel--tile {
|
|
56
56
|
border-width: var(--axi-border-control);
|
|
57
57
|
box-shadow: var(--axi-shadow-control);
|
|
58
|
+
/* The control radius, not the panel's. A tile has already said it is
|
|
59
|
+
control-sized by taking the control border and the control block, and
|
|
60
|
+
--axi-radius's own note says control-sized surfaces read the small step -
|
|
61
|
+
so inheriting .axi-panel's corner was the one place the tile disagreed
|
|
62
|
+
with itself. Both are 0 in this theme, which is exactly why it had to be
|
|
63
|
+
fixed by reading the token rather than by looking at it. */
|
|
64
|
+
border-radius: var(--axi-radius-sm);
|
|
58
65
|
padding: var(--axi-panel-pad, 12px);
|
|
59
66
|
}
|
|
60
67
|
/* A tile you can press moves under the press, the way every other control in
|