pref: 优化暗黑主题样式 (#5355)
Some checks failed
Build / SonarCloud (push) Failing after 3s
Build Test / build-linux-binary (push) Failing after -5m7s
sync2gitee / repo-sync (push) Failing after 1s

This commit is contained in:
ssongliu 2024-06-08 00:24:24 +08:00 committed by GitHub
parent b866816800
commit 05c8370f0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -271,6 +271,18 @@ html.dark {
.el-descriptions__content.el-descriptions__cell.is-bordered-content {
color: #999999;
}
.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell {
padding: 12px 15px;
background-color: transparent;
}
.el-descriptions__body {
background-color: transparent;
}
.el-descriptions__label {
color: var(--el-color-primary) !important;
margin-right: 16px;
}
.terminal-tabs {
background: none !important;
.el-tabs__header {

View file

@ -13,6 +13,7 @@ export function resetXSetting() {
}
export function initFavicon() {
document.title = globalStore.themeConfig.panelName;
let favicon = globalStore.themeConfig.favicon;
const link = (document.querySelector("link[rel*='icon']") || document.createElement('link')) as HTMLLinkElement;
link.type = 'image/x-icon';