not sure what happend
This commit is contained in:
1 parent
0d21ad3031
commit
f7627e3e46
9 files changed
+31
-17
No files matched your search
Generated
+4
-4
@@ -18,7 +18,7 @@
|
||||
"fvtt-types": "^13.346.0-beta.20250812191140",
|
||||
"globals": "^17.7.0",
|
||||
"prettier": "^3.8.4",
|
||||
"sass": "^1.101.0",
|
||||
"sass": "^1.105.2",
|
||||
"typescript": "^5.6.0",
|
||||
"typescript-eslint": "^8.62.0",
|
||||
"vite": "^5.4.0",
|
||||
@@ -7444,9 +7444,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/sass": {
|
||||
"version": "1.101.0",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.101.0.tgz",
|
||||
"integrity": "sha512-OL3GoQyoUdDt843DpVmDO6y2k1sc5IhUDSpu8XucEI+35neq5QivZ1iuegnpraEVTJXlQGK1gl27zKcTLEPbQw==",
|
||||
"version": "1.105.2",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.105.2.tgz",
|
||||
"integrity": "sha512-KxW6ZKZiBKWK3ziQ4YZ3cpqo8/1TlHXE8t9nBNvGDZFoBFbk2MD7RacxYFs8zy8hzeFwpFYkVyAhboi47uYPEQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+4
-2
@@ -4,8 +4,10 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "sass src/styles/M6.scss dist/M6.css --style=expanded --no-source-map",
|
||||
"watch": "sass src/styles/M6.scss dist/M6.css --style=expanded --source-map --watch",
|
||||
"build": "sass src/styles/M6.scss dist/style.css --style=expanded --no-source-map",
|
||||
"watch": "sass src/styles/M6.scss dist/style.css --style=expanded --source-map --watch",
|
||||
"vite:build": "vite build",
|
||||
"vite:watch": "vite build --watch",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<!-- License: CC Attribution. Made by game-icons.net: https://game-icons.net/ -->
|
||||
<svg width="512px" height="512px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="#000" d="M23.05 23.05V488.9H488.9V23.05H23.05z"/></svg>
|
||||
|
Before Width: | Height: | Size: 240 B |
@@ -36,13 +36,16 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe
|
||||
primary: {
|
||||
tabs: [
|
||||
{
|
||||
id: "properties"
|
||||
id: "properties",
|
||||
icon: "fa-feather-pointed"
|
||||
},
|
||||
{
|
||||
id: "items"
|
||||
id: "items",
|
||||
icon: "fa-suitcase"
|
||||
},
|
||||
{
|
||||
id: "effects"
|
||||
id: "effects",
|
||||
icon: "fa-bolt"
|
||||
}
|
||||
],
|
||||
initial: "properties",
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
--M6-background-white: #fdfeff;
|
||||
--M6-text-grey: #595d5f;
|
||||
--M6-text-brown: #be7742;
|
||||
--mask-square: url("src/assets/svg/plain-square.svg");
|
||||
}
|
||||
.application {
|
||||
overflow: visible;
|
||||
|
||||
@@ -2,6 +2,7 @@ import { CharacterData } from "./data/character-data.mjs";
|
||||
import { ItemData } from "./data/item-data.mjs";
|
||||
import { M6ActorSheet } from "./sheets/character-sheet.mjs";
|
||||
import { loadHelpers } from "./helpers/handlebar-helpers.mjs";
|
||||
import "./styles/M6.scss";
|
||||
|
||||
Hooks.once("init", () => {
|
||||
CONFIG.Actor.dataModels.character = CharacterData;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="background"></div>
|
||||
<div class="border"></div>
|
||||
<span class="value">
|
||||
<i class="fa-solid fa-feather-pointed"></i>
|
||||
<i class="fa-solid {{icon}}"></i>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@@ -8,19 +8,30 @@
|
||||
<fieldset>
|
||||
<legend>{{localize legend}}</legend>
|
||||
{{#each fields}}
|
||||
<div class="flexrow" style="max-width: 10rem;">
|
||||
<div class="flexrow" style="max-width: 16rem;">
|
||||
<a
|
||||
class="flexrow"
|
||||
data-action="rollSkill"
|
||||
data-name="{{localize localizationName}}"
|
||||
data-value="{{value}}"
|
||||
>
|
||||
<i class="flex0 fa-solid fa-dice-d20"></i>
|
||||
<p class="flex1" style="margin-left: 4px; max-width:7rem">{{localize
|
||||
localizationName
|
||||
}}</p>
|
||||
</a>
|
||||
<input class="skill" type="number" name="{{field.fieldPath}}" value="{{value}}" />
|
||||
<a
|
||||
class=""
|
||||
data-action="rollSkill"
|
||||
data-name="{{localize localizationName}}"
|
||||
data-value="{{value}}"
|
||||
>
|
||||
<i
|
||||
class="flex0 fa-solid fa-dice-d20"
|
||||
style="padding:2px 0; border-radius:40%; background-color:var(--M6-background-grey); margin-left:-7px; font-size:18px"
|
||||
></i>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@
|
||||
}
|
||||
],
|
||||
"esmodules": ["dist/system.mjs"],
|
||||
"styles": ["dist/M6.css"],
|
||||
"styles": ["dist/style.css"],
|
||||
"languages": [
|
||||
{
|
||||
"lang": "de",
|
||||
@@ -49,7 +49,7 @@
|
||||
"flags": {
|
||||
"hotReload": {
|
||||
"extensions": ["scss", "html", "hbs", "json"],
|
||||
"paths": ["src/styles/M6.scss", "templates", "lang", "src"]
|
||||
"paths": ["templates", "lang", "src"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user