vagabond-rpg-foundryvtt/system.json
Cal Corum 8b9daa1f36 Add light/dark theme system with CSS variables, fix ProseMirror editors
Theme System:
- Add _theme-variables.scss with light (parchment) and dark color palettes
- Register theme options in system.json for Foundry v13 color scheme support
- Convert all SCSS color variables to CSS custom properties
- Update base, mixins, components, and sheet styles for theme support
- Add _applyThemeClass() to actor and item sheet classes

ProseMirror Editor Fix (v13 ApplicationV2):
- Replace {{editor}} helper with <prose-mirror> custom element
- Add TextEditor.enrichHTML() for rich text content preparation
- Update all 8 item templates (spell, weapon, armor, equipment, etc.)
- Fix toolbar hiding content by renaming wrapper to .editor-wrapper
- Style prose-mirror with sticky toolbar and proper flex layout

Roll Dialog & Chat Card Styling:
- Complete roll dialog styling with favor/hinder toggles, info panels
- Complete chat card styling with roll results, damage display, animations
- Mark tasks 5.7 and 5.8 complete in roadmap
- Add task 5.11 for deferred resizable editor feature

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 15:36:16 -06:00

191 lines
4.1 KiB
JSON

{
"id": "vagabond",
"title": "Vagabond RPG",
"description": "A Foundry VTT system implementation for Vagabond RPG - Pulp Fantasy Roleplaying",
"version": "0.1.0",
"compatibility": {
"minimum": "13",
"verified": "13",
"maximum": "13"
},
"authors": [
{
"name": "Cal Corum",
"email": "cal.corum@gmail.com"
}
],
"esmodules": ["module/vagabond.mjs"],
"styles": ["styles/vagabond.css"],
"themes": [
{
"name": "light",
"label": "VAGABOND.ThemeLight",
"default": true
},
{
"name": "dark",
"label": "VAGABOND.ThemeDark"
}
],
"languages": [
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
}
],
"packs": [
{
"name": "ancestries",
"label": "Ancestries",
"path": "packs/ancestries",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "classes",
"label": "Classes",
"path": "packs/classes",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "spells",
"label": "Spells",
"path": "packs/spells",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "perks",
"label": "Perks",
"path": "packs/perks",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "weapons",
"label": "Weapons",
"path": "packs/weapons",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "armor",
"label": "Armor",
"path": "packs/armor",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "equipment",
"label": "Equipment",
"path": "packs/equipment",
"type": "Item",
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"name": "bestiary",
"label": "Bestiary",
"path": "packs/bestiary",
"type": "Actor",
"ownership": {
"PLAYER": "NONE",
"ASSISTANT": "OWNER"
}
}
],
"packFolders": [
{
"name": "Vagabond RPG",
"sorting": "a",
"packs": [
"ancestries",
"classes",
"spells",
"perks",
"weapons",
"armor",
"equipment",
"bestiary"
]
}
],
"documentTypes": {
"Actor": {
"character": {
"htmlFields": [
"biography.appearance",
"biography.background",
"biography.personality",
"biography.notes"
]
},
"npc": {
"htmlFields": ["abilities.description", "loot", "gmNotes"]
}
},
"Item": {
"ancestry": {
"htmlFields": ["description"]
},
"class": {
"htmlFields": ["description"]
},
"spell": {
"htmlFields": ["description"]
},
"perk": {
"htmlFields": ["description"]
},
"weapon": {
"htmlFields": ["description", "relic.abilityDescription", "relic.lore"]
},
"armor": {
"htmlFields": ["description", "relic.abilityDescription", "relic.lore"]
},
"equipment": {
"htmlFields": ["description"]
},
"feature": {
"htmlFields": ["description"]
}
}
},
"socket": false,
"url": "https://github.com/calcorum/vagabond-rpg-foundryvtt",
"manifest": "https://github.com/calcorum/vagabond-rpg-foundryvtt/releases/latest/download/system.json",
"download": "https://github.com/calcorum/vagabond-rpg-foundryvtt/releases/latest/download/vagabond.zip",
"license": "LICENSE",
"readme": "README.md",
"bugs": "https://github.com/calcorum/vagabond-rpg-foundryvtt/issues",
"changelog": "CHANGELOG.md",
"primaryTokenAttribute": "resources.hp",
"secondaryTokenAttribute": "resources.mana",
"grid": {
"distance": 5,
"units": "ft"
}
}