Skip to content

Commit

Permalink
add support for Ironsworn/Starforged Oceanic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jendave committed Sep 29, 2024
1 parent 509fad4 commit 341bb28
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.1.5](https://github.com/jendave/token-note-hover/commits/main) (2024-09-29)

* Added support for [Ironsworn/Starforged](https://foundryvtt.com/packages/foundry-ironsworn) `Oceanic` theme.

## [2.1.4](https://github.com/jendave/token-note-hover/commits/main) (2024-09-28)

* Fixed formatting for notes on [Call of Cthulhu 7th edition](https://foundryvtt.com/packages/CoC7) characters. This required slightly increasing the size of the title on the note.
Expand Down
1 change: 1 addition & 0 deletions src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"Dark": "Dark",
"Green": "Green",
"Light": "Light",
"Oceanic": "Oceanic",
"Orange": "Orange",
"Phosphor": "Phosphor",
"Purple": "Purple",
Expand Down
1 change: 1 addition & 0 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"styles/jquery.powertip-default.css",
"styles/jquery.powertip-green.css",
"styles/jquery.powertip-light.css",
"styles/jquery.powertip-oceanic.css",
"styles/jquery.powertip-orange.css",
"styles/jquery.powertip-purple.css",
"styles/jquery.powertip-red.css",
Expand Down
1 change: 1 addition & 0 deletions src/scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default function registerSettings() {
dark: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Dark`,
green: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Green`,
light: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Light`,
oceanic: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Oceanic`,
orange: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Orange`,
phosphor: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Phosphor`,
purple: `${CONSTANTS.MODULE_ID}.Settings.TooltipColor.Purple`,
Expand Down
18 changes: 18 additions & 0 deletions src/styles/jquery.powertip-oceanic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* PowerTip
* https://stevenbenner.github.io/jquery-powertip/
*
* Stylesheet for the monochrome (default) theme.
*/
.token-note-hover-hud-tooltip-oceanic {
cursor: default;
background-color: #fff7e6;
border: 1px solid #0c092a;
border-radius: 6px;
color: var(#0c092a);
display: none;
padding: 10px;
position: absolute;
/* white-space: nowrap; */
z-index: 2147483647;
}
4 changes: 2 additions & 2 deletions src/styles/jquery.powertip-phosphor.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
cursor: default;
background-color: #333;
background-color: rgba(0, 0, 0, 0.8);
border: 1px solid var(--ironsworn-color-light);
border: 1px solid var(#52e0e0);
border-radius: 6px;
color: var(--ironsworn-color-light);
color: var(#52e0e0);
display: none;
padding: 10px;
position: absolute;
Expand Down

0 comments on commit 341bb28

Please sign in to comment.