not sure what happend

This commit is contained in:
Byroks committed 2026-10-16 22:04:36 +02:00
1 parent 0d21ad3031
commit f7627e3e46
9 files changed
+31 -17

No files matched your search

+4 -4
View File
@@ -18,7 +18,7 @@
"fvtt-types": "^13.346.0-beta.20250812191140", "fvtt-types": "^13.346.0-beta.20250812191140",
"globals": "^17.7.0", "globals": "^17.7.0",
"prettier": "^3.8.4", "prettier": "^3.8.4",
"sass": "^1.101.0", "sass": "^1.105.2",
"typescript": "^5.6.0", "typescript": "^5.6.0",
"typescript-eslint": "^8.62.0", "typescript-eslint": "^8.62.0",
"vite": "^5.4.0", "vite": "^5.4.0",
@@ -7444,9 +7444,9 @@
} }
}, },
"node_modules/sass": { "node_modules/sass": {
"version": "1.101.0", "version": "1.105.2",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.101.0.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.105.2.tgz",
"integrity": "sha512-OL3GoQyoUdDt843DpVmDO6y2k1sc5IhUDSpu8XucEI+35neq5QivZ1iuegnpraEVTJXlQGK1gl27zKcTLEPbQw==", "integrity": "sha512-KxW6ZKZiBKWK3ziQ4YZ3cpqo8/1TlHXE8t9nBNvGDZFoBFbk2MD7RacxYFs8zy8hzeFwpFYkVyAhboi47uYPEQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
+4 -2
View File
@@ -4,8 +4,10 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "sass src/styles/M6.scss dist/M6.css --style=expanded --no-source-map", "build": "sass src/styles/M6.scss dist/style.css --style=expanded --no-source-map",
"watch": "sass src/styles/M6.scss dist/M6.css --style=expanded --source-map --watch", "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", "typecheck": "tsc --noEmit",
"lint": "eslint .", "lint": "eslint .",
"lint:fix": "eslint . --fix", "lint:fix": "eslint . --fix",
-2
View File
@@ -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

+6 -3
View File
@@ -36,13 +36,16 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe
primary: { primary: {
tabs: [ 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", initial: "properties",
-1
View File
@@ -4,7 +4,6 @@
--M6-background-white: #fdfeff; --M6-background-white: #fdfeff;
--M6-text-grey: #595d5f; --M6-text-grey: #595d5f;
--M6-text-brown: #be7742; --M6-text-brown: #be7742;
--mask-square: url("src/assets/svg/plain-square.svg");
} }
.application { .application {
overflow: visible; overflow: visible;
+1
View File
@@ -2,6 +2,7 @@ import { CharacterData } from "./data/character-data.mjs";
import { ItemData } from "./data/item-data.mjs"; import { ItemData } from "./data/item-data.mjs";
import { M6ActorSheet } from "./sheets/character-sheet.mjs"; import { M6ActorSheet } from "./sheets/character-sheet.mjs";
import { loadHelpers } from "./helpers/handlebar-helpers.mjs"; import { loadHelpers } from "./helpers/handlebar-helpers.mjs";
import "./styles/M6.scss";
Hooks.once("init", () => { Hooks.once("init", () => {
CONFIG.Actor.dataModels.character = CharacterData; CONFIG.Actor.dataModels.character = CharacterData;
+1 -1
View File
@@ -11,7 +11,7 @@
<div class="background"></div> <div class="background"></div>
<div class="border"></div> <div class="border"></div>
<span class="value"> <span class="value">
<i class="fa-solid fa-feather-pointed"></i> <i class="fa-solid {{icon}}"></i>
</span> </span>
</div> </div>
</a> </a>
+13 -2
View File
@@ -8,19 +8,30 @@
<fieldset> <fieldset>
<legend>{{localize legend}}</legend> <legend>{{localize legend}}</legend>
{{#each fields}} {{#each fields}}
<div class="flexrow" style="max-width: 10rem;"> <div class="flexrow" style="max-width: 16rem;">
<a <a
class="flexrow" class="flexrow"
data-action="rollSkill" data-action="rollSkill"
data-name="{{localize localizationName}}" data-name="{{localize localizationName}}"
data-value="{{value}}" data-value="{{value}}"
> >
<i class="flex0 fa-solid fa-dice-d20"></i>
<p class="flex1" style="margin-left: 4px; max-width:7rem">{{localize <p class="flex1" style="margin-left: 4px; max-width:7rem">{{localize
localizationName localizationName
}}</p> }}</p>
</a> </a>
<input class="skill" type="number" name="{{field.fieldPath}}" value="{{value}}" /> <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> </div>
{{/each}} {{/each}}
</fieldset> </fieldset>
+2 -2
View File
@@ -13,7 +13,7 @@
} }
], ],
"esmodules": ["dist/system.mjs"], "esmodules": ["dist/system.mjs"],
"styles": ["dist/M6.css"], "styles": ["dist/style.css"],
"languages": [ "languages": [
{ {
"lang": "de", "lang": "de",
@@ -49,7 +49,7 @@
"flags": { "flags": {
"hotReload": { "hotReload": {
"extensions": ["scss", "html", "hbs", "json"], "extensions": ["scss", "html", "hbs", "json"],
"paths": ["src/styles/M6.scss", "templates", "lang", "src"] "paths": ["templates", "lang", "src"]
} }
} }
} }