From 23a51ce3436e6e16cfb08d0ce793bb033cb58c5c Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:17:24 -0300 Subject: [PATCH 1/2] updated code-block background color --- themes/rose-pine-dawn/v1/code-block.css | 193 +----------------------- 1 file changed, 1 insertion(+), 192 deletions(-) diff --git a/themes/rose-pine-dawn/v1/code-block.css b/themes/rose-pine-dawn/v1/code-block.css index 7e92fe0..3668554 100644 --- a/themes/rose-pine-dawn/v1/code-block.css +++ b/themes/rose-pine-dawn/v1/code-block.css @@ -1,192 +1 @@ -/** - * Rosé Pine Dawn by Riiku - * Licenced under the GPL v3 - */ - -pre[class*="language-"] { - --base: #faf4ed; - --surface: #f2e9de; - --overlay: #e4dfde; - --muted: #9893a5; - --subtle: #797593; - --text: #575279; - --love: #eb6f92; - --gold: #f6c177; - --rose: #b4637a; - --pine: #286983; - --foam: #56949f; - --iris: #907aa9; - --highlight-low: #dfdad9; - --highlight-med: #dcd7ca; - --highlight-high: #cecacd; -} - -code[class*="language-"], -pre[class*="language-"] { - background: var(--base); - color: var(--text); - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - direction: ltr; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - line-height: 1.5; - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - -code[class*="language-"]::-moz-selection, -code[class*="language-"] ::-moz-selection, -pre[class*="language-"]::-moz-selection, -pre[class*="language-"] ::-moz-selection, -code[class*="language-"]::selection, -code[class*="language-"] ::selection, -pre[class*="language-"]::selection, -pre[class*="language-"] ::selection { - background: var(--highlight-med); -} - -pre[class*="language-"] { - padding: 1em; - margin: 0.5em 0; - overflow: auto; - border-radius: unset; -} - -:not(pre) > code[class*="language-"] { - padding: 0.1em; - border-radius: unset; - white-space: normal; -} - -.token.comment, -.token.prolog, -.token.cdata, -.token.doctype { - color: var(--muted); -} - -.token.punctuation { - color: var(--subtle); -} - -.token.entity { - color: var(--pine); -} - -.token.boolean { - color: var(--rose); -} - -.token.attr-name { - color: var(--foam); -} - -.token.class-name { - color: var(--text); -} - -.token.constant { - color: var(--love); - font-style: italic; -} - -.token.number { - color: var(--foam); -} - -.token.atrule { - color: var(--love); -} - -.token.keyword { - color: var(--pine); -} - -.token.property { - color: var(--foam); -} - -.token.tag { - color: var(--foam); -} - -.token.symbol { - color: unset; -} - -.token.deleted { - color: var(--love); -} - -.token.important { - color: var(--love); -} - -.token.selector { - color: var(--rose); -} - -.token.string { - color: var(--gold); -} - -.token.char { - color: var(--gold); -} - -.token.builtin { - color: var(--love); -} - -.token.inserted { - color: var(--foam); -} - -.token.regex { - color: var(--gold); -} - -.token.attr-value { - color: var(--gold); -} - -.token.variable { - color: var(--text); -} - -.token.operator { - color: var(--subtle); -} - -.token.function { - color: var(--rose); - font-style: italic; -} - -.token.url { - color: var(--iris); -} - -.token.bold { - font-weight: bold; -} - -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.token.namespace { - opacity: 0.7; -} +/** * Rosé Pine Dawn by Riiku * Licenced under the GPL v3 */pre[class*="language-"] { --base: #e4dfde; --surface: #f2e9de; --overlay: #e4dfde; --muted: #9893a5; --subtle: #797593; --text: #575279; --love: #eb6f92; --gold: #f6c177; --rose: #b4637a; --pine: #286983; --foam: #56949f; --iris: #907aa9; --highlight-low: #dfdad9; --highlight-med: #dcd7ca; --highlight-high: #cecacd;}code[class*="language-"],pre[class*="language-"] { background: var(--base); color: var(--text); font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none;}code[class*="language-"]::-moz-selection,code[class*="language-"] ::-moz-selection,pre[class*="language-"]::-moz-selection,pre[class*="language-"] ::-moz-selection,code[class*="language-"]::selection,code[class*="language-"] ::selection,pre[class*="language-"]::selection,pre[class*="language-"] ::selection { background: var(--highlight-med);}pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: unset;}:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: unset; white-space: normal;}.token.comment,.token.prolog,.token.cdata,.token.doctype { color: var(--muted);}.token.punctuation { color: var(--subtle);}.token.entity { color: var(--pine);}.token.boolean { color: var(--rose);}.token.attr-name { color: var(--foam);}.token.class-name { color: var(--text);}.token.constant { color: var(--love); font-style: italic;}.token.number { color: var(--foam);}.token.atrule { color: var(--love);}.token.keyword { color: var(--pine);}.token.property { color: var(--foam);}.token.tag { color: var(--foam);}.token.symbol { color: unset;}.token.deleted { color: var(--love);}.token.important { color: var(--love);}.token.selector { color: var(--rose);}.token.string { color: var(--gold);}.token.char { color: var(--gold);}.token.builtin { color: var(--love);}.token.inserted { color: var(--foam);}.token.regex { color: var(--gold);}.token.attr-value { color: var(--gold);}.token.variable { color: var(--text);}.token.operator { color: var(--subtle);}.token.function { color: var(--rose); font-style: italic;}.token.url { color: var(--iris);}.token.bold { font-weight: bold;}.token.italic { font-style: italic;}.token.entity { cursor: help;}.token.namespace { opacity: 0.7;} From 9b5e46bf012a89cb08645dc199d4c5b641d3cc76 Mon Sep 17 00:00:00 2001 From: Ricardo Rodrigues <42903366+echoriiku@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:18:39 -0300 Subject: [PATCH 2/2] changed editor background color --- themes/rose-pine-dawn/v1/theme.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/rose-pine-dawn/v1/theme.json b/themes/rose-pine-dawn/v1/theme.json index 846f426..ef2a394 100644 --- a/themes/rose-pine-dawn/v1/theme.json +++ b/themes/rose-pine-dawn/v1/theme.json @@ -114,7 +114,7 @@ }, "editor": { "primary": { - "background": "#e4dfde", + "background": "#faf4ed", "border": "#9893a5" }, "secondary": {