add special elite font, fixing related css errors

This commit is contained in:
TheLastScrub
2021-03-22 23:51:35 -07:00
parent 85a1bfc8fe
commit 1b2fa6721f
7 changed files with 281 additions and 31 deletions
+3
View File
@@ -127,6 +127,9 @@ Hooks.once('init', async function() {
else if(setting === "atwriter"){
return "atwriter-font";
}
else if(setting === "SpecialElite"){
return "special-elite-font";
}
else{
return "martel-font";
}
+9 -8
View File
@@ -6,12 +6,13 @@ export const registerSystemSettings = function() {
config: true, // This specifies that the setting appears in the configuration view
type: String,
choices: { // If choices are defined, the resulting setting will be a select menu
"TypeWriterCondensed": "Condensed Typewriter (Modern, small typewriter font)",
"atwriter": "Another Typewriter (Older-style typewriter font)",
"Martel": "Martel (Delta Green system default)",
"Signika": "Signika (Foundry Default Font)"
"SpecialElite": "Special Elite (Classic Typewriters Font)",
"Martel": "Martel (Clean Modern Font)",
"Signika": "Signika (Foundry Default Font)",
"TypeWriterCondensed": "Condensed Typewriter (Modern, Small Typewriter Font)"
//"atwriter": "Another Typewriter (Alternate Old-style Typewriter Font)"
},
default: "Martel", // The default value for the setting
default: "SpecialElite", // The default value for the setting
onChange: value => { // A callback function which triggers when the setting is changed
//console.log(value)
}
@@ -24,9 +25,9 @@ export const registerSystemSettings = function() {
config: true, // This specifies that the setting appears in the configuration view
type: String,
choices: { // If choices are defined, the resulting setting will be a select menu
"DefaultParchment": "Default Parchment",
"OldPaper1": "Old Dirty Paper",
"IvoryPaper": "Ivory White Paper"
"OldPaper1": "Old Dirty Paper (Good with Special Elite Font)",
"IvoryPaper": "Ivory White Paper (Good with Martel Font)",
"DefaultParchment": "Default Parchment (Good with Signika Font)"
},
default: "IvoryPaper", // The default value for the setting
onChange: value => { // A callback function which triggers when the setting is changed