Skip to content

Commit

Permalink
fix: Added total (skill+mod) near dice, added CSS styling to finish s…
Browse files Browse the repository at this point in the history
…kill list
  • Loading branch information
UltraKev authored and xdy committed Aug 20, 2020
1 parent 514274d commit a3c6340
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 254 deletions.
7 changes: 7 additions & 0 deletions src/module/handlebars.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { SIGKILL } from "constants";

export default function registerHandlebarsHelpers():void {

// If you need to add Handlebars helpers, here are a few useful examples:
Expand Down Expand Up @@ -36,6 +38,11 @@ export default function registerHandlebarsHelpers():void {
return skill.value + joat.value
});

Handlebars.registerHelper('getTotalSkillValue', function(skill, joat, mod){
return skill.value + joat.value + skill.mod
});


Handlebars.registerHelper({
add: (v1, v2) => v1 + v2,
sub: (v1, v2) => v1 - v2,
Expand Down
56 changes: 0 additions & 56 deletions src/styles/components/_forms.scss

This file was deleted.

35 changes: 0 additions & 35 deletions src/styles/components/_items.scss

This file was deleted.

4 changes: 0 additions & 4 deletions src/styles/components/_resource.scss

This file was deleted.

34 changes: 0 additions & 34 deletions src/styles/components/_tabs.scss

This file was deleted.

9 changes: 0 additions & 9 deletions src/styles/global/_flex.scss

This file was deleted.

79 changes: 0 additions & 79 deletions src/styles/global/_grid.scss

This file was deleted.

12 changes: 0 additions & 12 deletions src/styles/global/_window.scss

This file was deleted.

2 changes: 0 additions & 2 deletions src/styles/utils/_colors.scss

This file was deleted.

16 changes: 0 additions & 16 deletions src/styles/utils/_mixins.scss

This file was deleted.

4 changes: 0 additions & 4 deletions src/styles/utils/_typography.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src/styles/utils/_variables.scss

This file was deleted.

85 changes: 85 additions & 0 deletions static/styles/twodsix.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3c6340

Please sign in to comment.