Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 5653c22

Browse files
committed
Feat: マージして動くように
1 parent a2899b0 commit 5653c22

File tree

8 files changed

+1700
-95
lines changed

8 files changed

+1700
-95
lines changed

locales/index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5616,14 +5616,6 @@ export interface Locale extends ILocale {
56165616
* このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。
56175617
*/
56185618
"federationDisabled": string;
5619-
/**
5620-
* リアクションする際に確認する
5621-
*/
5622-
"confirmOnReact": string;
5623-
/**
5624-
* " {emoji} " をリアクションしますか?
5625-
*/
5626-
"reactAreYouSure": ParameterizedString<"emoji">;
56275619
/**
56285620
* CWに絵文字を挿入
56295621
*/
@@ -5632,6 +5624,14 @@ export interface Locale extends ILocale {
56325624
* サーバーと一緒にリアクションもミュートする
56335625
*/
56345626
"reactionAndServerMute": string;
5627+
/**
5628+
* リアクションする際に確認する
5629+
*/
5630+
"confirmOnReact": string;
5631+
/**
5632+
* " {emoji} " をリアクションしますか?
5633+
*/
5634+
"reactAreYouSure": ParameterizedString<"emoji">;
56355635
"_accountSettings": {
56365636
/**
56375637
* コンテンツの表示にログインを必須にする

packages/frontend/src/components/global/MkMfm.ts

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import type { VNode, SetupContext } from 'vue';
88
import * as mfm from 'mfm-js';
99
import * as Misskey from 'misskey-js';
1010
import { host } from '@@/js/config.js';
11-
import { ID, Instance } from 'misskey-js/built/entities.js';
1211
import MkUrl from '@/components/global/MkUrl.vue';
1312
import MkTime from '@/components/global/MkTime.vue';
1413
import MkLink from '@/components/MkLink.vue';
@@ -45,33 +44,9 @@ type MfmProps = {
4544
nowrap?: boolean;
4645
emojireq?: boolean;
4746
author?: {
48-
id: ID;
49-
username: string;
50-
host: string | null;
51-
name: string | null;
52-
onlineStatus: 'online' | 'active' | 'offline' | 'unknown';
53-
avatarUrl: string;
54-
avatarBlurhash: string;
55-
avatarDecorations: {
56-
id: ID;
57-
url: string;
58-
angle?: number;
59-
flipH?: boolean;
60-
}[];
61-
emojis: {
62-
name: string;
63-
url: string;
64-
}[];
65-
instance?: {
66-
name: Instance['name'];
67-
softwareName: Instance['softwareName'];
68-
softwareVersion: Instance['softwareVersion'];
69-
iconUrl: Instance['iconUrl'];
70-
faviconUrl: Instance['faviconUrl'];
71-
themeColor: Instance['themeColor'];
72-
};
7347
isCat?: boolean;
74-
isBot?: boolean;};
48+
isBot?: boolean;
49+
};
7550
i?: Misskey.entities.UserLite | null;
7651
isNote?: boolean;
7752
emojiUrls?: Record<string, string>;

packages/frontend/src/scripts/theme.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import { deepClone } from './clone.js';
1111
import type { BundledTheme } from 'shiki/themes';
1212
import { globalEvents } from '@/events.js';
1313
import { miLocalStorage } from '@/local-storage.js';
14-
import lTypeLightEmerald from '@/themes/l-TypeLightEmerald.json5';
15-
import dTypeDarkEmerald from '@/themes/d-TypeDarkEmerald.json5';
14+
1615
export type Theme = {
1716
id: string;
1817
name: string;
@@ -42,14 +41,14 @@ export const getBuiltinThemes = () => Promise.all(
4241
'l-cherry',
4342
'l-sushi',
4443
'l-u0',
44+
'l-TypeLightEmerald',
4545

4646
'd-dark',
4747
'd-persimmon',
4848
'd-astro',
4949
'd-future',
5050
'd-botanical',
5151
'd-TypeDarkEmerald',
52-
'l-TypeLightEmerald',
5352
'd-cherry',
5453
'd-ice',
5554
'd-u0',

0 commit comments

Comments
 (0)