| @@ -202,17 +202,18 @@ | ||
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | /* The CANONICAL selection pair every tile in the shell wears |
| 205 | 205 | * (`.os-file-tile--selected` in desktop-files.css): the |
| 206 | - * `--os-tile-selected-bg` wash under an inset `--os-tile-focus-ring` | |
| 207 | - * ring that resolves to the admin scheme colour. The root folder | |
| 208 | - * tiles are plain buttons rather than `<os-tile>`s, so they restate | |
| 209 | - * the same chains — reading `--os-ui-accent` here painted the raw | |
| 210 | - * brand Pulse instead of the theme's selection, which is exactly the | |
| 211 | - * divergence the shared tokens exist to prevent. */ | |
| 206 | + * `--os-tile-selected-bg` fill under an inset `--os-tile-focus-ring` | |
| 207 | + * ring whose width the palette decides (0 on OpenStation's, 1px on | |
| 208 | + * Legacy). The root folder tiles are plain buttons rather than | |
| 209 | + * `<os-tile>`s, so they restate the same chains — reading | |
| 210 | + * `--os-ui-accent` here painted the raw brand Pulse instead of the | |
| 211 | + * theme's selection, which is exactly the divergence the shared | |
| 212 | + * tokens exist to prevent. */ | |
| 212 | 213 | .os-mywp__tile.is-selected { |
| 213 | 214 | background: var( --os-tile-selected-bg, rgba( 34, 113, 177, 0.14 ) ); |
| 214 | - box-shadow: inset 0 0 0 1px | |
| 215 | + box-shadow: inset 0 0 0 var( --os-tile-selected-ring-width, 1px ) | |
| 215 | 216 | var( --os-tile-focus-ring, var( --wp-admin-theme-color, #2271b1 ) ); |
| 216 | 217 | } |
| 217 | 218 | |
| 218 | 219 | /* The icon well matches WP Explorer's `.os-file-tile__icon` / |