add options that make it possible to make nazeka look more like yomichan
This commit is contained in:
1 parent
e5a45749aa
commit
d25a47814c
2 files changed
+136
-10
No files matched your search
+76
-6
@@ -144,12 +144,6 @@ function defaults()
|
||||
default: "一,二,三,四,五,六,七,八,九,〇",
|
||||
label: "Ignore json dictionary entries with these spellings"
|
||||
});
|
||||
settings.push({
|
||||
id: "highlight_dict_headers",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Highlight dictionary headers"
|
||||
});
|
||||
settings.push({
|
||||
id: "popup_requires_key",
|
||||
kind: "combobox",
|
||||
@@ -262,6 +256,18 @@ function defaults()
|
||||
default: false,
|
||||
label: "Fixed width"
|
||||
});
|
||||
settings.push({
|
||||
id: "novalign",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Disable use of `vertical-align: middle;` for reading/etc info"
|
||||
});
|
||||
settings.push({
|
||||
id: "inserthr",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Insert horizontal bar between entries"
|
||||
});
|
||||
/*
|
||||
// currently broken
|
||||
settings.push({
|
||||
@@ -310,6 +316,12 @@ function defaults()
|
||||
default: false,
|
||||
label: "Disable border"
|
||||
});
|
||||
settings.push({
|
||||
id: "dropshadow",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Enable dropshadow"
|
||||
});
|
||||
settings.push({
|
||||
id: "bgcolor",
|
||||
kind: "color",
|
||||
@@ -340,6 +352,26 @@ function defaults()
|
||||
default: "#D8A888",
|
||||
label: "Dictionary title color (for when using json dictionaries)"
|
||||
});
|
||||
settings.push({
|
||||
id: "highlight_dict_headers",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Highlight dictionary headers"
|
||||
});
|
||||
settings.push({
|
||||
id: "dropshadowcolor",
|
||||
kind: "color",
|
||||
default: "#000000",
|
||||
label: "Dropshadow color"
|
||||
});
|
||||
settings.push({
|
||||
id: "dropshadowradius",
|
||||
kind: "number",
|
||||
min: 1,
|
||||
max: 50,
|
||||
default: 10,
|
||||
label: "Dropshadow radius"
|
||||
});
|
||||
settings.push({
|
||||
id: "font",
|
||||
kind: "text",
|
||||
@@ -382,6 +414,44 @@ function defaults()
|
||||
default: false,
|
||||
label: "Sticky mode"
|
||||
});
|
||||
settings.push({
|
||||
id: "padding",
|
||||
kind: "number",
|
||||
min: 0,
|
||||
max: 10,
|
||||
default: 2,
|
||||
label: "Padding"
|
||||
});
|
||||
settings.push({
|
||||
id: "info_styling",
|
||||
kind: "checkbox",
|
||||
default: false,
|
||||
label: "Yomichan-like definition info tag styling"
|
||||
});
|
||||
settings.push({
|
||||
id: "info_fgcolor",
|
||||
kind: "color",
|
||||
default: "#CCCCCC",
|
||||
label: "Yomichan-like info tag text color"
|
||||
});
|
||||
settings.push({
|
||||
id: "info_bgcolor_pos",
|
||||
kind: "color",
|
||||
default: "#284880",
|
||||
label: "Yomichan-like info tag background for part-of-speech tags"
|
||||
});
|
||||
settings.push({
|
||||
id: "info_bgcolor_num",
|
||||
kind: "color",
|
||||
default: "#484848",
|
||||
label: "Yomichan-like info tag background color for sense numbers"
|
||||
});
|
||||
settings.push({
|
||||
id: "info_bgcolor_etc",
|
||||
kind: "color",
|
||||
default: "#305028",
|
||||
label: "Yomichan-like info tag background color for etc tags"
|
||||
});
|
||||
|
||||
// reader
|
||||
settings.push({
|
||||
|
||||
Reference in new issue
Block a user