Skip to content

Commit

Permalink
Merge pull request #660 from doki-theme/mnemonicBookMarkFix
Browse files Browse the repository at this point in the history
Better Mnemonic Bookmarks
  • Loading branch information
Unthrottled authored Mar 14, 2023
2 parents f6c4cb6 + 2d648ec commit c735c98
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion buildSrc/assets/templates/base.laf.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
"BookmarkMnemonicIcon.foreground": "headerColor",
"BookmarkMnemonicIcon.background":"accentColor",
"BookmarkMnemonicIcon.borderColor": "accentColor",
"Bookmark.Mnemonic.iconForeground": "headerColor",
"Bookmark.Mnemonic.iconForeground": "accentColor",
"Bookmark.Mnemonic.iconBackground":"accentColor",
"Bookmark.Mnemonic.iconBorderColor": "accentColor",

Expand Down
3 changes: 1 addition & 2 deletions buildSrc/assets/templates/dark.scheme.template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
<option name="ActionButton.iconTextForeground" value="$infoForeground$"/>
<option name="ActionButton.hoverBackground" value="$highlightColor$"/>
<option name="ActionButton.pressedBackground" value="$highlightColor$"/>
<option name="Bookmark.Mnemonic.iconForeground" value="$textEditorBackground$"/>
<option name="Bookmark.Mnemonic.iconBackground" value="%accentColor%"/>
<option name="Bookmark.Mnemonic.iconForeground" value="%accentColor%"/>
<option name="Bookmark.Mnemonic.iconBorderColor" value="%accentColor%"/>
<option name="BookmarkMnemonicIcon.foreground" value="$textEditorBackground$"/>
<option name="BookmarkMnemonicIcon.background" value="%accentColor%"/>
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/assets/templates/light.scheme.template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
<option name="ActionButton.hoverBackground" value="$highlightColor$"/>
<option name="ActionButton.pressedBackground" value="$highlightColor$"/>
<option name="BookmarkIcon.background" value="%accentColor%"/>
<option name="Bookmark.Mnemonic.iconForeground" value="$textEditorBackground$"/>
<option name="Bookmark.Mnemonic.iconBackground" value="%accentColor%"/>
<option name="Bookmark.Mnemonic.iconForeground" value="%accentColor%"/>
<option name="Bookmark.Mnemonic.iconBorderColor" value="%accentColor%"/>
<option name="BookmarkMnemonicIcon.foreground" value="$textEditorBackground$"/>
<option name="BookmarkMnemonicIcon.background" value="%accentColor%"/>
Expand Down
4 changes: 4 additions & 0 deletions changelog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---

# 88.5-1.9.7 [Mnemonics]

- More usable Mnemonic Bookmarks

# 88.5-1.9.6 [Maintenance]

- Migrated to newer platform APIs
Expand Down
1 change: 1 addition & 0 deletions changelog/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
- Made Non-Functional & Non-User-facing code cleanup updates.
- Migrated to newer platform APIs
- Raised the lowest supported version to 2022.3
- More usable Mnemonic Bookmarks

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -> https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html

pluginGroup=io.unthrottled
pluginVersion=88.5-1.9.6
pluginVersion=88.5-1.9.7
pluginSinceBuild= 223
pluginUntilBuild = 231.*

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/icons/gutter/mnemonic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/icons/gutter/mnemonic_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/icons/nodes/mnemonic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/icons/nodes/mnemonic_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/main/resources/mappings/ui-icons.path.mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,5 +438,21 @@
{
"originalPath": "/vcs/vendors/github_dark.svg",
"replacementPath": "/icons/vcs/vendors/github_dark.svg"
},
{
"originalPath": "/gutter/mnemonic.svg",
"replacementPath": "/icons/gutter/mnemonic.svg"
},
{
"originalPath": "/gutter/mnemonic_dark.svg",
"replacementPath": "/icons/gutter/mnemonic_dark.svg"
},
{
"originalPath": "/nodes/mnemonic.svg",
"replacementPath": "/icons/nodes/mnemonic.svg"
},
{
"originalPath": "/nodes/mnemonic_dark.svg",
"replacementPath": "/icons/nodes/mnemonic_dark.svg"
}
]

0 comments on commit c735c98

Please sign in to comment.