mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-15 17:09:59 +00:00
fixed modal background color
This commit is contained in:
parent
7da2a15bf7
commit
dfc7a2cb94
@ -64,8 +64,9 @@ export class ThemesService {
|
||||
const vars: Record<string, string> = {}
|
||||
const contrastPairs: string[][] = []
|
||||
|
||||
vars['--body-bg'] = background.string()
|
||||
if (this.findCurrentTheme().followsColorScheme) {
|
||||
vars['--bs-body-bg'] = background.string()
|
||||
vars['--bs-body-bg'] = theme.background
|
||||
vars['--bs-body-color'] = theme.foreground
|
||||
vars['--bs-black'] = theme.colors[0]
|
||||
vars['--bs-red'] = theme.colors[1]
|
||||
|
@ -56,7 +56,7 @@ app-root {
|
||||
|
||||
&.active {
|
||||
color: var(--theme-fg-less-2);
|
||||
background: var(--bs-body-bg);
|
||||
background: var(--body-bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -65,7 +65,7 @@ app-root {
|
||||
}
|
||||
|
||||
tab-body {
|
||||
background: var(--bs-body-bg);
|
||||
background: var(--body-bg);
|
||||
}
|
||||
|
||||
$tab-border-radius: 5px;
|
||||
@ -80,6 +80,7 @@ $form-switch-width: 2.5em;
|
||||
@import "./theme.vendor.scss";
|
||||
|
||||
body {
|
||||
background: var(--body-bg);
|
||||
--bs-border-color: var(--theme-bg-more-2);
|
||||
--bs-form-control-bg: var(--theme-bg-more-2);
|
||||
--bs-emphasis-color: var(--theme-fg-less-2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user