feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement
This commit is contained in:
parent
51bf664302
commit
f403111256
80 changed files with 1449 additions and 458 deletions
|
|
@ -26,6 +26,9 @@
|
|||
--d3-accent-main: #3b82f6;
|
||||
--d3-accent-light: #60a5fa;
|
||||
--d3-accent-dim: rgba(59, 130, 246, 0.14);
|
||||
--d3-accent-solid: #2563eb;
|
||||
--d3-accent-solidHover: #1d4ed8;
|
||||
--d3-accent-ink: #ffffff;
|
||||
--d3-status-danger: #f87171;
|
||||
--d3-status-success: #34d399;
|
||||
--d3-overlay-soft: rgba(238, 242, 251, 0.06);
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<div id="container" class="result-popup d3-panel" role="alertdialog" aria-labelledby="result-title" aria-describedby="result-text">
|
||||
<div class="result-head">
|
||||
<span id="result-title" class="result-title" data-i18n="resultTitle"></span>
|
||||
<button id="close-btn" class="icon-btn" type="button" data-i18n-label="close">
|
||||
<button id="close-btn" class="icon-btn" type="button" aria-label="닫기" data-i18n-label="close">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
|
||||
<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<body>
|
||||
<div id="root">
|
||||
<div id="panel" class="suggestion-panel">
|
||||
<button id="close" class="close" type="button">
|
||||
<button id="close" class="close" type="button" aria-label="닫기">
|
||||
<svg viewBox="0 0 16 16" width="10" height="10" aria-hidden="true">
|
||||
<path d="M3 3 L13 13 M13 3 L3 13" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ body {
|
|||
--d3-text-result: #eef2fb;
|
||||
--d3-text-secondary: #93a4c8;
|
||||
--d3-accent-main: #3b82f6;
|
||||
--d3-accent-light: #60a5fa;
|
||||
--d3-accent-dim: rgba(59, 130, 246, 0.14);
|
||||
--d3-shadow-popup: 0 8px 32px rgba(3, 7, 18, 0.5);
|
||||
}
|
||||
|
|
@ -184,7 +185,7 @@ body {
|
|||
}
|
||||
|
||||
.suggestion-item.active .suggestion-num {
|
||||
color: var(--d3-accent-main);
|
||||
color: var(--d3-accent-light);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
|
@ -328,7 +329,7 @@ kbd {
|
|||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
background: var(--d3-accent-dim);
|
||||
color: var(--d3-accent-main);
|
||||
color: var(--d3-accent-light);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -345,7 +346,7 @@ kbd {
|
|||
}
|
||||
|
||||
.correction ins {
|
||||
color: var(--d3-accent-main);
|
||||
color: var(--d3-accent-light);
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -357,6 +358,6 @@ kbd {
|
|||
|
||||
/* 후보 앞에 붙는 고친 글 — 이 글자들로 바뀐 뒤 후보가 이어진다는 표시 */
|
||||
.suggestion-text .corrected {
|
||||
color: var(--d3-accent-main);
|
||||
color: var(--d3-accent-light);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue