Updated 'Code' style (#7929)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2025-02-05 15:26:57 +03:00 committed by GitHub
parent b26a6256db
commit 65e7195e10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -240,6 +240,8 @@
--theme-lost-color: #eb5757;
--theme-won-color: #34DB80;
--theme-caret-color: #fff;
--theme-code-color: #DD812B;
--theme-code-bg-color: #262F40;
--theme-text-editor-note-anchor-bg-neutral: #2C2C2C; /* Gray, no saturation change needed */
--theme-text-editor-note-anchor-bg-dangerous: #8F4040;
@ -522,6 +524,8 @@
--theme-lost-color: #eb5757; // Dark
--theme-won-color: #34DB80; // Dark
--theme-caret-color: #669AFF;
--theme-code-color: #B63F00;
--theme-code-bg-color: #FFDFC4;
--theme-text-editor-note-anchor-bg-neutral: #F3F3F3;
--theme-text-editor-note-anchor-bg-dangerous: #DF8D8B;

View File

@ -409,10 +409,10 @@ table.proseTable {
margin: 0 1px;
padding: 0 .25rem;
font-family: var(--mono-font);
background-color: var(--theme-button-default);
border: 1px solid var(--theme-button-border);
color: var(--theme-code-color);
background-color: var(--theme-code-bg-color);
border-radius: .25rem;
font-size: 0.875rem;
font-size: 0.8125rem;
}
.proseCodeBlock {