Skip to content

Commit

Permalink
fix: Saves blocks now use the --statblock-property-name-font-color
Browse files Browse the repository at this point in the history
…css variable
  • Loading branch information
valentine195 committed Sep 1, 2023
1 parent 7abc09f commit faf5da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/view/ui/JavaScript.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { Monster } from "types";
import type { Monster } from "index";
import { Notice } from "obsidian";
import type { JavaScriptItem } from "types/layout";
import type StatBlockPlugin from "src/main";
Expand Down
3 changes: 2 additions & 1 deletion src/view/ui/Saves.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { Monster } from "types";
import type { Monster } from "index";
import type { SavesItem } from "types/layout";
import { toTitleCase } from "src/util/util";
import { getContext } from "svelte";
Expand Down Expand Up @@ -50,6 +50,7 @@
color: var(--statblock-font-color);
}
.property-name {
color: var(--statblock-property-name-font-color);
margin: 0;
margin-right: 0.25em;
display: inline;
Expand Down

0 comments on commit faf5da7

Please sign in to comment.