From 08797fe8a171c68205a9fa383f2c15ef198fc564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=B1=80?= <131967983+lutinglt@users.noreply.github.com> Date: Sat, 7 Dec 2024 23:21:52 +0800 Subject: [PATCH] Update theme-github.css --- theme-github.css | 50 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/theme-github.css b/theme-github.css index 9f998cb..d7d5e49 100644 --- a/theme-github.css +++ b/theme-github.css @@ -436,10 +436,28 @@ a.muted:hover, color: var(--color-blue); } +.diff-toggle-file-tree-button:hover { + color: var(--color-blue); +} + +.text.primary, +.flex-item a:not(.label, .button):hover { + color: var(--color-blue) !important; +} + .interact-fg:hover { color: var(--color-blue) !important; } +.issue.list a:not(.label):hover { + color: var(--color-blue) !important; +} + +/* font color line numbers */ +.lines-num span:after { + color: var(--color-text); +} + .repository.file.list .file-actions .btn-octicon:hover { color: var(--color-blue) !important; } @@ -456,6 +474,11 @@ a.muted:hover, color: var(--color-text); } +.repository.view.issue .comment-list .comment>.content>div:last-child { + border-bottom-right-radius: var(--border-radius); + border-bottom-left-radius: var(--border-radius); +} + /* gpg commit label */ .repository #commits-table td.sha .sha.label.isSigned.isVerified, .repository #repo-files-table .sha.label.isSigned.isVerified, @@ -495,11 +518,6 @@ a.muted:hover, color: var(--color-blue); } -/* font color line numbers */ -.lines-num span:after { - color: var(--color-text); -} - /* default border radius */ .ui.button, .ui.basic.buttons .button, @@ -571,11 +589,6 @@ a.muted:hover, border-radius: 0 0 var(--border-radius) var(--border-radius); } -.repository.view.issue .comment-list .comment>.content>div:last-child { - border-bottom-right-radius: var(--border-radius); - border-bottom-left-radius: var(--border-radius); -} - .ui.table>thead>tr:first-child>th:first-child { border-radius: var(--border-radius) 0 0; } @@ -628,6 +641,7 @@ textarea:focus, .ui.form input[type="url"]:focus, .ui.selection.dropdown:focus { border: 1.5px solid var(--color-blue) !important; + border-color: var(--color-blue); border-radius: var(--border-radius); } @@ -642,8 +656,15 @@ textarea:focus, border-color: var(--color-blue); } -.issue.list a:not(.label):hover { - color: var(--color-blue) !important; +.ui.selection.active.dropdown, +.ui.selection.active.dropdown:hover, +.ui.selection.active.dropdown .menu, +.ui.selection.active.dropdown:hover .menu { + border-color: var(--color-blue); +} + +.ui.label.sha { + color: var(--color-text); } .vch__day__square, @@ -807,7 +828,7 @@ textarea:focus, --color-warning-text: #fbbd08; --color-info-border: #306090; --color-info-bg: #26354c; - --color-info-text: #38a8e8; + --color-info-text: var(--color-blue); --color-red-badge: #db2828; --color-red-badge-bg: #db28281a; --color-red-badge-hover-bg: #db28284d; @@ -867,7 +888,7 @@ textarea:focus, --color-tooltip-bg: #000000f0; --color-nav-bg: #010409; --color-nav-hover-bg: #383c47; - --color-label-text: #dfe3ec; + --color-label-text: var(--color-green); --color-label-bg: #7c84974b; --color-label-hover-bg: #7c8497a0; --color-label-active-bg: #7c8497; @@ -877,7 +898,6 @@ textarea:focus, accent-color: var(--color-accent); color-scheme: dark; } - .emoji[aria-label="check\ mark"], .emoji[aria-label="currency\ exchange"], .emoji[aria-label="TOP\ arrow"],