From 6b2aac8ce214182f4379682ca6e76ea6a72ace6f Mon Sep 17 00:00:00 2001 From: pat-s Date: Tue, 28 Mar 2023 23:08:29 +0200 Subject: [PATCH] light: port border-radius changes from dark --- theme-github-auto.css | 29 +++++++++++++++-------------- theme-github.css | 8 ++++++-- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/theme-github-auto.css b/theme-github-auto.css index 9505809..4d3d186 100644 --- a/theme-github-auto.css +++ b/theme-github-auto.css @@ -42,11 +42,15 @@ .ui.green.button { background-color: #1a7f37; color: #cdd9e5 !important; + border-radius: 2em; + padding: 5px 10px; } .ui.green.labels .label, .ui.ui.ui.green.label { background-color: #1a7f37; color: #cdd9e5 !important; + border-radius: 2em; + padding: 5px 10px; } /* "edit" and "reopen" button font color */ .ui.basic.green.buttons .button, @@ -67,7 +71,7 @@ .ui.basic.blue.buttons .button, .ui.basic.primary.button, .ui.basic.primary.buttons .button { - background-color: #cdd9e5 !important; + background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(34, 36, 38, 0.15) !important; color: var(--color-text) !important; } @@ -81,7 +85,7 @@ .ui.basic.blue.buttons .button:hover, .ui.basic.primary.button:hover, .ui.basic.primary.buttons .button:hover { - background-color: #cdd9e5 !important; + background-color: #fff !important; } ui.basic.blue.button:hover, .ui.basic.blue.buttons .button:hover, @@ -96,7 +100,7 @@ } .ui.basic.labels .label, .ui.basic.label { - background-color: #cdd9e5; + background-color: #fff; } .ui.labeled.button.disabled > .button, .ui.basic.buttons .button, @@ -120,11 +124,11 @@ } .ui .error.header { background-color: #cf222e !important; - color: #cdd9e5 !important; + color: #fff !important; } .ui.red.buttons .button, .ui.red.button { - color: #cdd9e5 !important; + color: #fff !important; } .ui.basic.red.buttons .button, .ui.basic.red.button { @@ -153,7 +157,7 @@ font-size: 13px; } a.ui.label { - color: #cdd9e5 !important; + color: #fff !important; } .ui .sha.label { color: var(--color-text) !important; @@ -321,10 +325,7 @@ color: black !important; } - .repository.file.list - #repo-files-table - tbody - .svg.octicon-file-directory-fill, + .repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill, .repository.file.list #repo-files-table tbody .svg.octicon-file-submodule { color: #54aeff !important; } @@ -336,7 +337,7 @@ .ui.negative.buttons .button, .ui.negative.button { background-color: none; - color: #cdd9e5; + color: #fff; } .ui.green.button { @@ -407,16 +408,16 @@ } // hover - .ui.basic.secondary.buttons .button:hover, - .ui.basic.secondary.button:hover { + .ui.basic.secondary.buttons .button:hover, .ui.basic.secondary.button:hover { background: var(--color-hover) !important; } // settings button in org team settings .ui.teal.labels .label, .ui.ui.ui.teal.label, .ui.teal.button, .ui.teal.buttons .button { background: var(--color-green); - color: #cdd9e5 !important; + color: #fff !important; } + } @media (prefers-color-scheme: dark) { :root { diff --git a/theme-github.css b/theme-github.css index 190e7e4..668aafd 100644 --- a/theme-github.css +++ b/theme-github.css @@ -40,12 +40,16 @@ .ui.green.buttons .button, .ui.green.button { background-color: #1a7f37; - color: #fff !important; + color: #cdd9e5 !important; + border-radius: 2em; + padding: 5px 10px; } .ui.green.labels .label, .ui.ui.ui.green.label { background-color: #1a7f37; - color: #fff !important; + color: #cdd9e5 !important; + border-radius: 2em; + padding: 5px 10px; } /* "edit" and "reopen" button font color */ .ui.basic.green.buttons .button,