From ca37dfc8907511ab2a0cb6770447f4429aab3187 Mon Sep 17 00:00:00 2001 From: Yukon <126093594+baseGame@users.noreply.github.com> Date: Sat, 26 Sep 2026 16:12:07 +0800 Subject: [PATCH] Match Hex offset chrome border to capture #c0c0c0 --- src/styles/hexChromeDensity.test.ts | 6 ++++++ src/views/HexCompareView.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/styles/hexChromeDensity.test.ts b/src/styles/hexChromeDensity.test.ts index 12dfea9e..c98126d1 100644 --- a/src/styles/hexChromeDensity.test.ts +++ b/src/styles/hexChromeDensity.test.ts @@ -166,3 +166,9 @@ describe('hex-offset-chrome border', () => { ) }) }) + +describe('hex offset chrome border', () => { + it('matches capture hex offset border #c0c0c0', () => { + expect(hexView).toMatch(/border-bottom:\s*1px solid #c0c0c0/) + }) +}) diff --git a/src/views/HexCompareView.vue b/src/views/HexCompareView.vue index 172fa85c..2ed6a833 100644 --- a/src/views/HexCompareView.vue +++ b/src/views/HexCompareView.vue @@ -1575,7 +1575,7 @@ h2 { grid-template-columns: 52px minmax(200px, 1fr) 104px; min-width: 420px; min-height: 17.5px; - border-bottom: 1px solid #e0e0e0; + border-bottom: 1px solid #c0c0c0; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; font-size: 11px; line-height: 16px;