diff --git a/packages/frontend/src/components/MkChannelPreview.vue b/packages/frontend/src/components/MkChannelPreview.vue index 96590a469..f870b0eef 100644 --- a/packages/frontend/src/components/MkChannelPreview.vue +++ b/packages/frontend/src/components/MkChannelPreview.vue @@ -198,7 +198,7 @@ const bannerStyle = computed(() => { transform: translate(25%, -25%); background-color: var(--accent); border: solid var(--bg) 4px; - border-radius: 100%; + border-radius: var(--radius-full); width: 1.5rem; height: 1.5rem; aspect-ratio: 1 / 1; diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index 19418cd4d..579c72b18 100644 --- a/packages/frontend/src/components/MkCode.core.vue +++ b/packages/frontend/src/components/MkCode.core.vue @@ -62,7 +62,7 @@ watch(() => props.lang, (to) => { padding: 1em; margin: .5em 0; overflow: auto; - border-radius: 8px; + border-radius: var(--radius-sm); & pre, & code { diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index 2c016e4d7..7346d5782 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -56,7 +56,7 @@ const XCode = defineAsyncComponent(() => import('@/components/MkCode.core.vue')) padding: 1em; margin: .5em 0; overflow: auto; - border-radius: 8px; + border-radius: var(--radius-sm); } .codeBlockFallbackCode { @@ -74,7 +74,7 @@ const XCode = defineAsyncComponent(() => import('@/components/MkCode.core.vue')) cursor: pointer; box-sizing: border-box; - border-radius: 8px; + border-radius: var(--radius-sm); padding: 24px; margin-top: 4px; color: #D4D4D4; diff --git a/packages/frontend/src/components/MkCodeEditor.vue b/packages/frontend/src/components/MkCodeEditor.vue index c9bcc7119..c1aaa7f1f 100644 --- a/packages/frontend/src/components/MkCodeEditor.vue +++ b/packages/frontend/src/components/MkCodeEditor.vue @@ -161,7 +161,7 @@ watch(v, newValue => { overflow-y: hidden; box-sizing: border-box; margin: 0; - border-radius: 6px; + border-radius: var(--radius-sm); padding: 0; color: var(--fg); border: solid 1px var(--panel); @@ -202,7 +202,7 @@ watch(v, newValue => { caret-color: rgb(225, 228, 232); background-color: transparent; border: 0; - border-radius: 6px; + border-radius: var(--radius-sm); outline: 0; min-width: calc(100% - 24px); height: 100%; diff --git a/packages/frontend/src/components/MkEmojiPicker.section.vue b/packages/frontend/src/components/MkEmojiPicker.section.vue index 49c146b68..ea9d7a0d2 100644 --- a/packages/frontend/src/components/MkEmojiPicker.section.vue +++ b/packages/frontend/src/components/MkEmojiPicker.section.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only