mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 08:15:49 +02:00
enhance(frontend): テーマでページヘッダーの色を変更できるように
This commit is contained in:
@@ -124,11 +124,18 @@ onUnmounted(() => {
|
||||
|
||||
<style lang="scss" module>
|
||||
.root {
|
||||
background: color(from var(--MI_THEME-bg) srgb r g b / 0.75);
|
||||
background: color(from var(--MI_THEME-pageHeaderBg) srgb r g b / 0.75);
|
||||
-webkit-backdrop-filter: var(--MI-blur, blur(15px));
|
||||
backdrop-filter: var(--MI-blur, blur(15px));
|
||||
border-bottom: solid 0.5px var(--MI_THEME-divider);
|
||||
border-bottom: solid 0.5px transparent;
|
||||
width: 100%;
|
||||
color: var(--MI_THEME-pageHeaderFg);
|
||||
}
|
||||
|
||||
@container style(--MI_THEME-pageHeaderBg: var(--MI_THEME-bg)) {
|
||||
.root {
|
||||
border-bottom: solid 0.5px var(--MI_THEME-divider);
|
||||
}
|
||||
}
|
||||
|
||||
.upper,
|
||||
|
||||
Reference in New Issue
Block a user