From d12da717cec299c917f8b91f9dce9740d4fc6a60 Mon Sep 17 00:00:00 2001 From: ma91n Date: Mon, 28 Sep 2026 10:19:01 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E3=83=96?= =?UTF-8?q?=E3=83=AD=E3=83=83=E3=82=AF=E3=81=AE=E6=8A=98=E3=82=8A=E8=BF=94?= =?UTF-8?q?=E3=81=97=E3=81=AE=E7=B8=A6=E7=B7=9A=E3=82=92=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=83=88=E3=81=A7=20rule-strong=20=E3=81=AB=E3=81=99=E3=82=8B?= =?UTF-8?q?=20(#3303)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- themes/future/css-src/_variables.styl | 3 +++ themes/future/css-src/highlight.styl | 2 +- themes/future/css-src/theme-styles.styl | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/future/css-src/_variables.styl b/themes/future/css-src/_variables.styl index 5bcb6e91875..1443b78a8c4 100644 --- a/themes/future/css-src/_variables.styl +++ b/themes/future/css-src/_variables.styl @@ -339,6 +339,8 @@ code-diff-removed = code-keyword // 一段引いた位置に来る。**つまみは文字ではないので同じ値を共有しない** // (scrollbar-thumb。#3274) code-line-number = ink-faint +// 折り返した行の縦線。線なので rule の段から選ぶ。rule-weak では 2px の線が地に溶ける +code-wrap-line = rule-strong // gist のメタ行のリンク。コードの地の上なのでインラインコードと同じ段を借りる code-link = link-on-tint // コードブロックの配色の暗い側。JetBrains Darcula(GoLand などの既定テーマ)に @@ -361,6 +363,7 @@ dark-code-tag = #ff6b68 dark-code-diff-added = #89d185 dark-code-diff-removed = #ff6b68 dark-code-line-number = #666 +dark-code-wrap-line = dark-code-comment // 暗い地の上のリンク色。旧 color-link(#258fb8)は 3.84 で AA 未満だった // (この地では 7.33) dark-code-link = #57c8eb diff --git a/themes/future/css-src/highlight.styl b/themes/future/css-src/highlight.styl index 3037bf7f614..ead52460be5 100644 --- a/themes/future/css-src/highlight.styl +++ b/themes/future/css-src/highlight.styl @@ -282,7 +282,7 @@ $line-numbers // 引く長さを始点より 2px 多く削るので、折り返していない行では // 長さが負になり線そのものが出ない wrap-line-top = ceil(font-size * leading-row) - background-image: linear-gradient(var(--code-comment), var(--code-comment)) + background-image: linear-gradient(var(--code-wrap-line), var(--code-wrap-line)) background-repeat: no-repeat background-size: 2px unquote('calc(100% - ' + (wrap-line-top + 2px) + ')') background-position: left 2px top wrap-line-top diff --git a/themes/future/css-src/theme-styles.styl b/themes/future/css-src/theme-styles.styl index c857050027e..1ba1092a343 100644 --- a/themes/future/css-src/theme-styles.styl +++ b/themes/future/css-src/theme-styles.styl @@ -103,6 +103,7 @@ --code-diff-added: code-diff-added; --code-diff-removed: code-diff-removed; --code-line-number: code-line-number; + --code-wrap-line: code-wrap-line; --code-link: code-link; // note の中のコードブロックの地 (#3266)。その note の色を白で薄めた面。 // 一段濃い側は中のインラインコードが持っているので、ブロックは反対側へ離す @@ -188,6 +189,7 @@ dark-tokens() --code-diff-added: dark-code-diff-added; --code-diff-removed: dark-code-diff-removed; --code-line-number: dark-code-line-number; + --code-wrap-line: dark-code-wrap-line; --code-link: dark-code-link; --note-tip-codeblock: dark-code-block-bg; --note-info-codeblock: dark-code-block-bg; From 295c36976715672ca9d586ef2a68f223b6886186 Mon Sep 17 00:00:00 2001 From: ma91n Date: Mon, 28 Sep 2026 10:20:09 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8A=98=E3=82=8A=E8=BF=94=E3=81=97?= =?UTF-8?q?=E3=81=AE=E7=B8=A6=E7=B7=9A=E3=82=92=E3=83=80=E3=83=BC=E3=82=AF?= =?UTF-8?q?=E3=81=A7=E3=82=82=20dark-rule-strong=20=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B=20(#3303)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- themes/future/css-src/_variables.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/future/css-src/_variables.styl b/themes/future/css-src/_variables.styl index 1443b78a8c4..9a2eb04e8b0 100644 --- a/themes/future/css-src/_variables.styl +++ b/themes/future/css-src/_variables.styl @@ -363,7 +363,7 @@ dark-code-tag = #ff6b68 dark-code-diff-added = #89d185 dark-code-diff-removed = #ff6b68 dark-code-line-number = #666 -dark-code-wrap-line = dark-code-comment +dark-code-wrap-line = dark-rule-strong // 暗い地の上のリンク色。旧 color-link(#258fb8)は 3.84 で AA 未満だった // (この地では 7.33) dark-code-link = #57c8eb