From b3dead50bf76da259736c0ae0279e86ddf6606f7 Mon Sep 17 00:00:00 2001 From: Troy Howard Date: Mon, 13 May 2024 12:50:05 -0700 Subject: [PATCH 1/4] make code highlight background color more readable --- themes/default/theme/src/scss/_chroma.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/theme/src/scss/_chroma.scss b/themes/default/theme/src/scss/_chroma.scss index 70128fb66d9..e49354c86a9 100644 --- a/themes/default/theme/src/scss/_chroma.scss +++ b/themes/default/theme/src/scss/_chroma.scss @@ -6,7 +6,7 @@ /* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .chroma .hl { background-color: #ffffcc } +/* LineHighlight */ .chroma .hl { background-color: #474747 } /* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #64686c } /* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #6e7681 } /* Line */ .chroma .line { display: flex; } From ce65026f2f8683ce49b09ffe5e3371d666a14f5c Mon Sep 17 00:00:00 2001 From: Troy Howard Date: Mon, 13 May 2024 13:37:07 -0700 Subject: [PATCH 2/4] rebuild bundle --- themes/default/assets/css/bundle.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/assets/css/bundle.css b/themes/default/assets/css/bundle.css index 4e8a51f9ea6..19bc4f4af1c 100644 --- a/themes/default/assets/css/bundle.css +++ b/themes/default/assets/css/bundle.css @@ -2591,7 +2591,7 @@ a.dismissable-banner i#dismiss-banner{ } .chroma .hl{ - background-color:#ffc + background-color:#474747 } .chroma .lnt{ From 76de9c5d07421b5e8ce7ba98b15186c8f4d80d70 Mon Sep 17 00:00:00 2001 From: Troy Howard Date: Mon, 13 May 2024 17:51:48 -0500 Subject: [PATCH 3/4] Update _chroma.scss --- themes/default/theme/src/scss/_chroma.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/theme/src/scss/_chroma.scss b/themes/default/theme/src/scss/_chroma.scss index e49354c86a9..cc724e5c6cd 100644 --- a/themes/default/theme/src/scss/_chroma.scss +++ b/themes/default/theme/src/scss/_chroma.scss @@ -6,7 +6,7 @@ /* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } -/* LineHighlight */ .chroma .hl { background-color: #474747 } +/* LineHighlight */ .chroma .hl { background-color: #4d3675 } /* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #64686c } /* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #6e7681 } /* Line */ .chroma .line { display: flex; } From e71a339149271fc0fd5ca0810a49a8c1d46cff0b Mon Sep 17 00:00:00 2001 From: Troy Howard Date: Mon, 13 May 2024 15:53:10 -0700 Subject: [PATCH 4/4] update color to fit brand palette --- themes/default/assets/css/bundle.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/assets/css/bundle.css b/themes/default/assets/css/bundle.css index 19bc4f4af1c..576a92f4ea5 100644 --- a/themes/default/assets/css/bundle.css +++ b/themes/default/assets/css/bundle.css @@ -2591,7 +2591,7 @@ a.dismissable-banner i#dismiss-banner{ } .chroma .hl{ - background-color:#474747 + background-color:#4d3675 } .chroma .lnt{