utopia-ia/elffuss-code public
Changesets · Branches · Tags · Compare
| Changeset | e5e3d9f720685aa62e72177b3a1a0fd7e6007a49ef22f71bb2421bdac5181d4c |
|---|---|
| Author | KikoCis <kikocisneros@gmail.com> · 2026-10-11 15:40 +02:00 |
| Committer | KikoCis <kikocisneros@gmail.com> · 2026-10-11 15:40 +02:00 |
| Parents | 88d1ced5b041 |
2 files changed
modified tests/extensions.mjs +1 −1
| @@ -194,7 +194,7 @@ | ||
| 194 | 194 | await abre('app.js'); |
| 195 | 195 | await p.evaluate(() => { const ed = window.monaco.editor.getEditors()[0]; ed.focus(); ed.trigger('t', 'type', { text: ' ' }); }); |
| 196 | 196 | const punto = await hasta(() => p.evaluate(() => { |
| 197 | - const tab = document.querySelector('#tabs-bar .tab.active'), dot = tab?.querySelector('b.dirty'); | |
| 197 | + const tab = document.querySelector('#tabs-bar .tab.active'), dot = tab?.querySelector('.tab-x.dirty'); | |
| 198 | 198 | if (!dot) return null; |
| 199 | 199 | const num = c => c.match(/[\d.]+/g).map(Number); |
| 200 | 200 | const [r, g, b, a = 1] = num(getComputedStyle(dot).color), fondo = num(getComputedStyle(tab).backgroundColor); |
modified web/js/ext/themes.js +3 −2
| @@ -337,8 +337,9 @@ | ||
| 337 | 337 | `#tabs-bar .tab { color: ${texto};${borde ? ` border-right-color: ${borde};` : ''} }`, |
| 338 | 338 | `#tabs-bar .tab.active { background: ${activa}; color: ${textoActiva};${acento ? ` box-shadow: inset 0 2px 0 ${acento};` : ''} }`, |
| 339 | 339 | // el ● de «sin guardar» lleva el color claro del IDE (code.css): con un |
| 340 | - // tema claro desaparecería, y es el único aviso de cambios sin guardar | |
| 341 | - `#tabs-bar .tab b.dirty { color: inherit; }`, | |
| 340 | + // tema claro desaparecería, y es el único aviso de cambios sin guardar. Es | |
| 341 | + // el botón .tab-x desde que la × dejó de ser un <b> (a02733c). | |
| 342 | + `#tabs-bar .tab .tab-x.dirty { color: inherit; }`, | |
| 342 | 343 | `#editor-empty { background: ${bg}; color: ${texto}; }`, |
| 343 | 344 | ].join('\n'); |
| 344 | 345 | } |