Skip to content

Commit

Permalink
🎨 fix #12713
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 11, 2024
1 parent 0026b84 commit bc53bab
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion app/appearance/themes/daylight/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,14 @@
--b3-pdf-background7: #C885DA;
--b3-pdf-dark: #212224;

/* 表格偶数行 */
/* 表格 */
--b3-table-even-background: rgba(0, 0, 0, .02);

/* 潜入块 */
--b3-embed-background: var(--b3-table-even-background);

/* 引述块 */
--b3-bq-background: var(--b3-table-even-background);
}

:lang(ja_JP):root {
Expand Down
8 changes: 7 additions & 1 deletion app/appearance/themes/midnight/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,14 @@
--b3-pdf-background7: #C885DA;
--b3-pdf-dark: #212224;

/* 表格偶数行 */
/* 表格 */
--b3-table-even-background: rgba(255, 255, 255, .03);

/* 潜入块 */
--b3-embed-background: var(--b3-table-even-background);

/* 引述块 */
--b3-bq-background: var(--b3-table-even-background);
}

:lang(ja_JP):root {
Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/scss/component/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
padding: 4px;
color: var(--b3-theme-on-surface);
border-left: .25em solid var(--b3-theme-surface-lighter);
background-color: var(--b3-list-hover);
background-color: var(--b3-bq-background);
margin: 4px 0;
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/scss/protyle/_wysiwyg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
}

&[data-type="NodeBlockQueryEmbed"] {
background-color: var(--b3-theme-surface);
background-color: var(--b3-embed-background);
border-left: 1px dashed var(--b3-theme-surface-lighter);
max-width: 100%;

Expand Down

0 comments on commit bc53bab

Please sign in to comment.