Skip to content

Commit

Permalink
Color encumbrance bar yellow when encumbered (foundryvtt#13952)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez authored Feb 25, 2024
1 parent e76b527 commit efb0365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ $adjusted-lower: #cc3311;
--color-pf-tertiary: #{$tertiary-color};
--color-pf-tertiary-dark: #{darken($tertiary-color, 10)};
--color-pf-tertiary-darker: #{darken($tertiary-color, 20)};
--color-pf-tertiary-darkest: #{darken($tertiary-color, 51)};
--color-pf-tertiary-light: #{lighten($tertiary-color, 10)};
--primary: var(--color-pf-primary);
--secondary: var(--color-pf-secondary);
Expand Down
4 changes: 4 additions & 0 deletions src/styles/actor/_inventory.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@
z-index: 2;
}

&.encumbered .encumbrance-bar {
background-color: var(--color-pf-tertiary-darkest);
}

&.over-limit .encumbrance-bar {
background-color: var(--color-pf-primary);
}
Expand Down

0 comments on commit efb0365

Please sign in to comment.