-
{{ instance.name ?? instance.host }}
-
{{ instance.host }} / {{ instance.softwareName || '?' }} {{ instance.softwareVersion }}
+
+
+
+ {{ instance.name || instance.host }}
+
+
+ {{ instance.host }} / {{ instance.softwareName || '?' }} {{ instance.softwareVersion }}
+
+
-
+
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue
index 4a350388c2..b53ffc98c0 100644
--- a/packages/frontend/src/components/MkNoteDetailed.vue
+++ b/packages/frontend/src/components/MkNoteDetailed.vue
@@ -173,7 +173,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -190,7 +190,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue
index 0b5794d1e3..0ea752af5c 100644
--- a/packages/frontend/src/components/MkPostForm.vue
+++ b/packages/frontend/src/components/MkPostForm.vue
@@ -1197,15 +1197,22 @@ defineExpose({
min-height: 75px;
max-height: 150px;
overflow: auto;
- background-size: auto auto;
-}
+ background-image: repeating-linear-gradient(
+ 135deg,
+ transparent,
+ transparent 10px,
+ var(--c) 6px,
+ var(--c) 16px
+ );
-html[data-color-scheme=dark] .preview {
- background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, #0004 5px, #0004 10px);
-}
+ &,
+ html[data-color-scheme=light] & {
+ --c: rgb(0 0 0 / 0.02);
+ }
-html[data-color-scheme=light] .preview {
- background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, #00000005 5px, #00000005 10px);
+ html[data-color-scheme=dark] & {
+ --c: rgb(255 255 255 / 0.02);
+ }
}
.targetNote {
diff --git a/packages/frontend/src/components/MkUserCardMini.vue b/packages/frontend/src/components/MkUserCardMini.vue
index 7a2e878931..0489729875 100644
--- a/packages/frontend/src/components/MkUserCardMini.vue
+++ b/packages/frontend/src/components/MkUserCardMini.vue
@@ -4,7 +4,12 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
+
@@ -15,29 +20,42 @@ SPDX-License-Identifier: AGPL-3.0-only
@@ -49,8 +67,37 @@ $bodyInfoHieght: 16px;
display: flex;
align-items: center;
padding: 16px;
- background: var(--MI_THEME-panel);
border-radius: 8px;
+ background-color: var(--MI-THEME-panel);
+ background-image: repeating-linear-gradient(
+ 135deg,
+ transparent,
+ transparent 10px,
+ var(--c) 6px,
+ var(--c) 16px
+ );
+ --c: transparent;
+
+ &,
+ html[data-color-scheme=light] & {
+ &.isSilenced {
+ --c: color(from color-mix(in srgb, var(--MI_THEME-panel), blue 50%) srgb r g b / 0.25);
+ }
+
+ &.isSuspended {
+ --c: color(from color-mix(in srgb, var(--MI_THEME-panel), black 15%) srgb r g b / 0.25);
+ }
+ }
+
+ html[data-color-scheme=dark] & {
+ &.isSilenced {
+ --c: color(from color-mix(in srgb, var(--MI_THEME-panel), blue 50%) srgb r g b / 0.5);
+ }
+
+ &.isSuspended {
+ --c: color(from color-mix(in srgb, var(--MI_THEME-panel), white 15%) srgb r g b / 0.5);
+ }
+ }
}
.avatar {
diff --git a/packages/frontend/src/components/global/MkFooterSpacer.vue b/packages/frontend/src/components/global/MkFooterSpacer.vue
index 1a75855fa1..cbb35b978f 100644
--- a/packages/frontend/src/components/global/MkFooterSpacer.vue
+++ b/packages/frontend/src/components/global/MkFooterSpacer.vue
@@ -4,13 +4,9 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
+
-
-
diff --git a/packages/frontend/src/components/global/MkPageHeader.vue b/packages/frontend/src/components/global/MkPageHeader.vue
index aa4be69b2c..4e2ae9d41e 100644
--- a/packages/frontend/src/components/global/MkPageHeader.vue
+++ b/packages/frontend/src/components/global/MkPageHeader.vue
@@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
+
@@ -42,13 +42,11 @@ SPDX-License-Identifier: AGPL-3.0-only
@@ -134,6 +120,7 @@ onUnmounted(() => {
backdrop-filter: var(--MI-blur, blur(15px));
border-bottom: solid 0.5px var(--MI_THEME-divider);
width: 100%;
+ background: color(from var(--MI_THEME-bg) srgb r g b / 0.85);
}
.upper,
diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue
index 60f6be51d4..a261591502 100644
--- a/packages/frontend/src/pages/admin-file.vue
+++ b/packages/frontend/src/pages/admin-file.vue
@@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
{{ i18n.ts.sensitive }}
diff --git a/packages/frontend/src/pages/admin/overview.users.vue b/packages/frontend/src/pages/admin/overview.users.vue
index 8c9d7a8197..2912182eb9 100644
--- a/packages/frontend/src/pages/admin/overview.users.vue
+++ b/packages/frontend/src/pages/admin/overview.users.vue
@@ -8,8 +8,8 @@ SPDX-License-Identifier: AGPL-3.0-only
-
-
+
+
diff --git a/packages/frontend/src/pages/admin/roles.role.vue b/packages/frontend/src/pages/admin/roles.role.vue
index 1c237a69b4..bdff1345ed 100644
--- a/packages/frontend/src/pages/admin/roles.role.vue
+++ b/packages/frontend/src/pages/admin/roles.role.vue
@@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/admin/users.vue b/packages/frontend/src/pages/admin/users.vue
index 870c3ce88b..e83a0eb927 100644
--- a/packages/frontend/src/pages/admin/users.vue
+++ b/packages/frontend/src/pages/admin/users.vue
@@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue
index 6cec3f9d45..b242665e49 100644
--- a/packages/frontend/src/pages/instance-info.vue
+++ b/packages/frontend/src/pages/instance-info.vue
@@ -119,7 +119,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/list.vue b/packages/frontend/src/pages/list.vue
index 0ff1854154..07d2fefe96 100644
--- a/packages/frontend/src/pages/list.vue
+++ b/packages/frontend/src/pages/list.vue
@@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/pages/my-lists/list.vue b/packages/frontend/src/pages/my-lists/list.vue
index 69e404bd85..edcf154ee2 100644
--- a/packages/frontend/src/pages/my-lists/list.vue
+++ b/packages/frontend/src/pages/my-lists/list.vue
@@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/search.note.vue b/packages/frontend/src/pages/search.note.vue
index 105c947d25..38dca224c3 100644
--- a/packages/frontend/src/pages/search.note.vue
+++ b/packages/frontend/src/pages/search.note.vue
@@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
{{ i18n.ts.selectSelf }}
{{ i18n.ts.selectUser }}
diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue
index 97e960675f..65f06937d5 100644
--- a/packages/frontend/src/pages/settings/accounts.vue
+++ b/packages/frontend/src/pages/settings/accounts.vue
@@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.reloadAccountsList }}
-
+
diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss
index 48aacf10bc..b15d4c5bc9 100644
--- a/packages/frontend/src/style.scss
+++ b/packages/frontend/src/style.scss
@@ -444,14 +444,17 @@ rt {
box-shadow: 0 6px 16px #0007, 0 0 1px 1px #693410, inset 0 0 2px 1px #ce8a5c;
border-radius: 10px;
- --MI_THEME-bg: #F1E8DC;
- --MI_THEME-fg: #693410;
-}
+ &,
+ html[data-color-scheme=light] & {
+ --bg: #F1E8DC;
+ --fg: #693410;
+ }
-html[data-color-scheme=dark] ._woodenFrame {
- --MI_THEME-bg: #1d0c02;
- --MI_THEME-fg: #F1E8DC;
- --MI_THEME-panel: #192320;
+ html[data-color-scheme=dark] & {
+ --bg: #1d0c02;
+ --fg: #F1E8DC;
+ --panel: #192320;
+ }
}
._woodenFrameH {