diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 2233fa27f1..3f8542dfd0 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1067,6 +1067,7 @@ _widgets: onlineUsers: "オンラインユーザー" jobQueue: "ジョブキュー" serverMetric: "サーバーメトリクス" + aiscript: "AiScriptコンソール" _cw: hide: "隠す" diff --git a/src/client/widgets/aiscript.vue b/src/client/widgets/aiscript.vue new file mode 100644 index 0000000000..4e788b4b4a --- /dev/null +++ b/src/client/widgets/aiscript.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/src/client/widgets/index.ts b/src/client/widgets/index.ts index 0c7e824306..38cb85494a 100644 --- a/src/client/widgets/index.ts +++ b/src/client/widgets/index.ts @@ -18,6 +18,7 @@ export default function(app: App) { app.component('MkwOnlineUsers', defineAsyncComponent(() => import('./online-users.vue'))); app.component('MkwJobQueue', defineAsyncComponent(() => import('./job-queue.vue'))); app.component('MkwButton', defineAsyncComponent(() => import('./button.vue'))); + app.component('MkwAiscript', defineAsyncComponent(() => import('./aiscript.vue'))); } export const widgets = [ @@ -38,4 +39,5 @@ export const widgets = [ 'onlineUsers', 'jobQueue', 'button', + 'aiscript', ]; diff --git a/src/client/widgets/memo.vue b/src/client/widgets/memo.vue index dab19cd16e..3512429e0d 100644 --- a/src/client/widgets/memo.vue +++ b/src/client/widgets/memo.vue @@ -74,12 +74,18 @@ export default defineComponent({ max-width: 100%; min-width: 100%; padding: 16px; - color: var(--inputText); - background: var(--face); + color: var(--fg); + background: transparent; border: none; - border-bottom: solid var(--lineWidth) var(--faceDivider); + border-bottom: solid 1px var(--divider); border-radius: 0; box-sizing: border-box; + font: inherit; + font-size: 0.9em; + + &:focus { + outline: none; + } } > button {