From f916b65d7fa4ecb3672e66087015a98080bc269d Mon Sep 17 00:00:00 2001 From: sudacode Date: Wed, 18 Mar 2026 19:32:51 -0700 Subject: [PATCH] fix: sync texthooker-ui annotation overrides --- src/core/services/texthooker.test.ts | 2 +- src/core/services/texthooker.ts | 2 +- vendor/texthooker-ui | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/services/texthooker.test.ts b/src/core/services/texthooker.test.ts index e4f85ce..33f9ed9 100644 --- a/src/core/services/texthooker.test.ts +++ b/src/core/services/texthooker.test.ts @@ -64,7 +64,7 @@ test('injectTexthookerBootstrapHtml injects websocket bootstrap before head clos assert.match(actual, /--subminer-jlpt-n1-color:\s*#ed8796;/); assert.match(actual, /--subminer-frequency-band-4-color:\s*#8bd5ca;/); assert.match(actual, /--sm-token-hover-bg:\s*rgba\(54, 58, 79, 0\.84\);/); - assert.match(actual, /p \.word\.word-known\s*\{\s*color:\s*var\(--subminer-known-word-color\);/); + assert.doesNotMatch(actual, /p \.word\.word-known\s*\{/); assert.ok(actual.indexOf('') !== -1); assert.ok(actual.includes('bannou-texthooker-websocketUrl')); }); diff --git a/src/core/services/texthooker.ts b/src/core/services/texthooker.ts index 9e76533..cbcdfda 100644 --- a/src/core/services/texthooker.ts +++ b/src/core/services/texthooker.ts @@ -64,7 +64,7 @@ function buildTexthookerBootstrapStyle(settings?: TexthookerBootstrapSettings): const [band1, band2, band3, band4, band5] = settings.frequencyDictionary.bandedColors; - return ``; + return ``; } export function injectTexthookerBootstrapHtml( diff --git a/vendor/texthooker-ui b/vendor/texthooker-ui index 96e8404..550c45e 160000 --- a/vendor/texthooker-ui +++ b/vendor/texthooker-ui @@ -1 +1 @@ -Subproject commit 96e8404130fe9c2d51f41a512037a8cb0363569f +Subproject commit 550c45eccb1e08c047b2f84ad1f5ad1cca905f80