Files
Modrinth-plus/packages/assets/styles/i18n-debug.css
Calum H. a536d795f3 devex: dead locales cleanup + i18n inspect tool (#5313)
* chore: remove old locales + just enable all locales now

* feat: debug panel for i18n + tooltips

* feat: dedupe

* fix: debugger for app

* fix: crowdin code mismatches

* fix: lint
2026-02-09 16:00:46 +00:00

24 lines
572 B
CSS

body.i18n-debug [data-i18n-key] {
outline: 1px dashed var(--color-brand);
outline-offset: 2px;
}
body.i18n-debug [data-i18n-key]:hover {
outline: 2px solid var(--color-orange);
background: color-mix(in srgb, var(--color-orange) 5%, transparent);
}
.i18n-key-tooltip {
position: fixed;
z-index: 99999;
background: var(--surface-1);
color: var(--color-base);
font: 10px/1.4 monospace;
padding: 2px 6px;
border-radius: var(--radius-xs);
border: 1px solid var(--color-divider);
white-space: nowrap;
pointer-events: none;
box-shadow: var(--shadow-floating);
}