fix: adjust text editor quote and hr styles (#8525)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2025-04-11 00:44:03 +07:00 committed by GitHub
parent dbab01c805
commit 3f1287dfcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -251,6 +251,8 @@
--theme-text-editor-note-anchor-bg-primary: #688797; --theme-text-editor-note-anchor-bg-primary: #688797;
--theme-text-editor-note-anchor-bg-primary-light: #747C81; --theme-text-editor-note-anchor-bg-primary-light: #747C81;
--text-editor-block-quote-color: #DA5701;
--text-edtior-hr-border-color: rgba(255, 255, 255, 0.1);
--text-editor-table-border-color: hsl(220, 6%, 40%); --text-editor-table-border-color: hsl(220, 6%, 40%);
--text-editor-color-picker-outline: rgba(250, 222, 201, 0.3); --text-editor-color-picker-outline: rgba(250, 222, 201, 0.3);
@ -533,6 +535,8 @@
--theme-text-editor-note-anchor-bg-primary: #AAC5E9; --theme-text-editor-note-anchor-bg-primary: #AAC5E9;
--theme-text-editor-note-anchor-bg-primary-light: #D5E5F5; --theme-text-editor-note-anchor-bg-primary-light: #D5E5F5;
--text-editor-block-quote-color: #DA5701;
--text-edtior-hr-border-color: rgba(0, 0, 0, 0.1);
--text-editor-table-border-color: #c9cbcd; --text-editor-table-border-color: #c9cbcd;
--text-editor-color-picker-outline: rgb(227, 226, 224); --text-editor-color-picker-outline: rgb(227, 226, 224);

View File

@ -401,7 +401,7 @@ table.proseTable {
padding-left: 1.5em; padding-left: 1.5em;
padding-right: 1.5em; padding-right: 1.5em;
position: relative; position: relative;
border-left: 3px solid var(--theme-text-primary-color); border-left: 2px solid var(--text-editor-block-quote-color);
} }
.proseCode { .proseCode {
@ -478,6 +478,12 @@ pre.proseCodeBlock>pre.proseCode {
p div { p div {
cursor: auto; cursor: auto;
} }
hr {
margin: 1rem 0;
border-top: 0;
border-bottom: 1px solid var(--text-edtior-hr-border-color);
}
} }
.proseMermaidDiagram { .proseMermaidDiagram {