@polyxd/web 0.3.0 → 0.4.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/styles.css CHANGED
@@ -1281,6 +1281,18 @@ textarea.pxd-input {
1281
1281
  .pxd-person-row[data-state="checked"] .pxd-option-description {
1282
1282
  color: inherit;
1283
1283
  }
1284
+ /* On a selected row the avatar's own tone can match the selection colour, so the face would vanish
1285
+ into the row. Tones built from the selection or neutral surfaces move to the plain surface, and
1286
+ every face gets a surface ring to keep its edge. */
1287
+ .pxd-person-row[data-state="checked"] .pxd-avatar {
1288
+ box-shadow: 0 0 0 var(--pxd-border-width-strong) var(--pxd-color-surface-default);
1289
+ }
1290
+ .pxd-person-row[data-state="checked"] .pxd-avatar-primary,
1291
+ .pxd-person-row[data-state="checked"] .pxd-avatar-secondary,
1292
+ .pxd-person-row[data-state="checked"] .pxd-avatar-tertiary {
1293
+ background: var(--pxd-color-surface-default);
1294
+ color: var(--pxd-color-text-default);
1295
+ }
1284
1296
  .pxd-person-text {
1285
1297
  flex: 1;
1286
1298
  display: flex;