chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17

- i18next 23->26 + react-i18next 15->17
- prettier 2->3, reformat all files
- replace @fontsource/inter with @fontsource-variable/inter 5, update import path
- domhandler 5->6 (aligns with transitive deps)
- lint-staged 16->17
This commit is contained in:
Lotus Bot
2026-05-21 23:30:50 -04:00
parent b3666fa876
commit 61a1f008d0
363 changed files with 1443 additions and 1419 deletions
+22 -22
View File
@@ -130,7 +130,7 @@ globalStyle(
left: 0,
width: '100%',
overflow: 'hidden',
}
},
);
globalStyle(`body.${lotusTerminalBodyClass} .lt-glitch::before`, {
@@ -256,7 +256,7 @@ globalStyle(
outline: 'none',
borderColor: '#FF6B00',
boxShadow: '0 0 0 2px rgba(255,107,0,0.25), 0 0 12px rgba(255,107,0,0.12)',
}
},
);
globalStyle(`body.${lotusTerminalBodyClass} [contenteditable="true"]:focus`, {
outline: 'none',
@@ -442,14 +442,14 @@ globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass}`, {
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass}::before,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass}::after`,
{ display: 'none' }
{ display: 'none' },
);
// Caret
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} input,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass} textarea`,
{ caretColor: '#c44e00' }
{ caretColor: '#c44e00' },
);
// Scrollbar
@@ -464,7 +464,7 @@ globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} ::-webkit-scrollbar-thumb:hover`,
{
background: 'rgba(0,98,184,0.50)',
}
},
);
// Selection
@@ -502,12 +502,12 @@ globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass} pre`, {
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} strong,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass} b`,
{ color: '#c44e00' }
{ color: '#c44e00' },
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} em,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass} i`,
{ color: '#0062b8' }
{ color: '#0062b8' },
);
globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass} mark`, {
background: 'rgba(138,90,0,0.15)',
@@ -516,7 +516,7 @@ globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass} mark`, {
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} del,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass} s`,
{ color: '#b5001f' }
{ color: '#b5001f' },
);
// Blockquote
@@ -539,13 +539,13 @@ globalStyle(
{
borderColor: '#c44e00',
boxShadow: '0 0 0 2px rgba(196,78,0,0.22), 0 1px 6px rgba(196,78,0,0.12)',
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [contenteditable="true"]:focus`,
{
boxShadow: '0 0 0 1px rgba(196,78,0,0.40), 0 1px 6px rgba(196,78,0,0.10)',
}
},
);
// Tables
@@ -620,7 +620,7 @@ globalStyle(
backgroundColor: 'rgba(0,98,184,0.12)',
borderColor: 'rgba(0,98,184,0.42)',
boxShadow: '0 0 7px rgba(0,98,184,0.16)',
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} button[data-reaction-key][aria-pressed="true"]`,
@@ -628,7 +628,7 @@ globalStyle(
backgroundColor: 'rgba(196,78,0,0.10)',
border: '1px solid rgba(196,78,0,0.35)',
color: '#c44e00',
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} button[data-reaction-key][aria-pressed="true"]:hover`,
@@ -636,7 +636,7 @@ globalStyle(
backgroundColor: 'rgba(196,78,0,0.18)',
borderColor: 'rgba(196,78,0,0.55)',
boxShadow: '0 0 7px rgba(196,78,0,0.18)',
}
},
);
// ── GIF picker (terminal mode) ───────────────────────────────────────────────
@@ -651,7 +651,7 @@ globalStyle(
borderRadius: '4px !important' as any,
fontSize: '12px !important' as any,
boxShadow: 'none !important' as any,
}
},
);
globalStyle(`body.${lotusTerminalBodyClass} [data-gif-terminal] input:focus`, {
borderColor: 'rgba(255,107,0,0.70) !important' as any,
@@ -666,7 +666,7 @@ globalStyle(
`body.${lotusTerminalBodyClass} [data-gif-terminal] button[type="reset"]`,
{
display: 'none !important' as any,
}
},
);
globalStyle(`body.${lotusTerminalBodyClass} [data-gif-terminal] ::-webkit-scrollbar`, {
width: '4px',
@@ -716,7 +716,7 @@ globalStyle(
fontFamily: "'JetBrains Mono','Cascadia Code','Fira Code',monospace !important" as any,
fontSize: '12px !important' as any,
boxShadow: 'none !important' as any,
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] input:focus`,
@@ -724,33 +724,33 @@ globalStyle(
borderColor: 'rgba(196,78,0,0.60) !important' as any,
boxShadow: '0 0 0 2px rgba(196,78,0,0.12) !important' as any,
outline: 'none !important' as any,
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] input::placeholder`,
{
color: 'rgba(196,78,0,0.45) !important' as any,
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] svg,` +
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] button[type="reset"]`,
{
display: 'none !important' as any,
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] ::-webkit-scrollbar-track`,
{
background: '#e2e7ef',
}
},
);
globalStyle(
`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-gif-terminal] ::-webkit-scrollbar-thumb`,
{
background: 'rgba(196,78,0,0.35)',
borderRadius: '2px',
}
},
);
// ── Tooltip TDS ──────────────────────────────────────────────────────────────
@@ -790,7 +790,7 @@ globalStyle(
{
background: 'rgba(196,78,0,0.18) !important' as any,
borderColor: 'rgba(196,78,0,0.55) !important' as any,
}
},
);
// ── Spinner TDS ───────────────────────────────────────────────────────────────