Initial commit
This commit is contained in:
commit
60b0072bcc
47 changed files with 6462 additions and 0 deletions
27
.vscode/components.html-data.json
vendored
Normal file
27
.vscode/components.html-data.json
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"version": 1.1,
|
||||
"tags": [
|
||||
{
|
||||
"name": "dd-incrementer",
|
||||
"description": "A number input that allows more flexible increase/decrease buttons",
|
||||
"attributes": [
|
||||
{ "name": "value", "description": "The initial value to put in the input" },
|
||||
{ "name": "name", "description": "The form name to use when this input is used to submit data" },
|
||||
{ "name": "min", "description": "The minimum value that this input can contain" },
|
||||
{ "name": "max", "description": "The maximum value that this input can contain" },
|
||||
{ "name": "smallStep", "description": "The value that the input is changed by when clicking a delta button or using the up/down arrow key" },
|
||||
{ "name": "largeStep", "description": "The value that the input is changed by when clicking a delta button with control held or using the page up/ page down arrow key" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dd-icon",
|
||||
"description": "Loads an icon asynchronously, caching the result for future uses",
|
||||
"attributes": [
|
||||
{ "name": "name", "description": "The name of the icon, this is relative to the assets folder of the dotdungeon system" },
|
||||
{ "name": "path", "description": "The full path of the icon, this will only be used if `name` isn't provided or fails to fetch." }
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalAttributes": [],
|
||||
"valueSets": []
|
||||
}
|
||||
37
.vscode/handlebars.code-snippets
vendored
Normal file
37
.vscode/handlebars.code-snippets
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
// Place your foundry.dungeon workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "scope": "javascript,typescript",
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"Localization Shortcut (concat)": {
|
||||
"scope": "handlebars,html",
|
||||
"prefix": "i18n",
|
||||
"body": ["localize (concat \"dotdungeon.$1\" $2)"]
|
||||
},
|
||||
"Localization Shortcut (no concat)": {
|
||||
"scope": "handlebars,html",
|
||||
"prefix": "i18n",
|
||||
"body": ["localize \"dotdungeon.$1\""]
|
||||
},
|
||||
"Icon": {
|
||||
"scope": "handlebars,html",
|
||||
"prefix": "icon",
|
||||
"body": [
|
||||
"<div aria-hidden=\"true\" class=\"icon icon--${1:20}\">",
|
||||
"\t{{{ $2 }}}",
|
||||
"</div>"
|
||||
]
|
||||
}
|
||||
}
|
||||
18
.vscode/settings.json
vendored
Normal file
18
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"files.autoSave": "onWindowChange",
|
||||
"editor.tabSize": 2,
|
||||
"[yaml,yml]": {
|
||||
"editor.insertSpaces": true,
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"git.branchProtection": [],
|
||||
"files.exclude": {
|
||||
"*.lock": true,
|
||||
".styles": true,
|
||||
"node_modules": true,
|
||||
"packs": true,
|
||||
},
|
||||
"html.customData": [
|
||||
"./.vscode/components.html-data.json"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue