feat: add more styles

This commit is contained in:
Gabe
2025-10-13 22:15:42 +08:00
parent 4e9293ae0f
commit dc35fef873
3 changed files with 79 additions and 2 deletions

View File

@@ -593,6 +593,21 @@ export const I18N = {
en: `Blockquote`,
zh_TW: `引用`,
},
gradient: {
zh: `渐变`,
en: `Gradient`,
zh_TW: `漸變`,
},
blink: {
zh: `闪现`,
en: `Blink`,
zh_TW: `閃現`,
},
glow: {
zh: `发光`,
en: `Glow`,
zh_TW: `發光`,
},
diy_style: {
zh: `自定义样式`,
en: `Custom Style`,

View File

@@ -19,6 +19,9 @@ export const OPT_STYLE_WAVYLINE = "wavy_line"; // 波浪线
export const OPT_STYLE_FUZZY = "fuzzy"; // 模糊
export const OPT_STYLE_HIGHLIGHT = "highlight"; // 高亮
export const OPT_STYLE_BLOCKQUOTE = "blockquote"; // 引用
export const OPT_STYLE_GRADIENT = "gradient"; // 渐变
export const OPT_STYLE_BLINK = "blink"; // 闪现
export const OPT_STYLE_GLOW = "glow"; // 发光
export const OPT_STYLE_DIY = "diy_style"; // 自定义样式
export const OPT_STYLE_ALL = [
OPT_STYLE_NONE,
@@ -30,6 +33,9 @@ export const OPT_STYLE_ALL = [
OPT_STYLE_FUZZY,
OPT_STYLE_HIGHLIGHT,
OPT_STYLE_BLOCKQUOTE,
OPT_STYLE_GRADIENT,
OPT_STYLE_BLINK,
OPT_STYLE_GLOW,
OPT_STYLE_DIY,
];
export const OPT_STYLE_USE_COLOR = [