Skip to content

Commit 3c5e913

Browse files
authored
Merge pull request #646 from doki-theme/newUIStuff
New UI stuff
2 parents f49da89 + f447ec5 commit 3c5e913

35 files changed

Lines changed: 81 additions & 79 deletions

buildSrc/assets/templates/base.laf.template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
"TabbedPane.hoverColor": "highlightColor",
197197
"TabbedPane.focusColor": "highlightColor",
198198
"EditorTabs.hoverBackground": "highlightColor",
199+
"SearchOption.selectedPressedBackground": "highlightColor",
199200
"ActionButton.hoverBackground": "highlightColor",
200201
"ActionButton.hoverBorderColor": "highlightColor",
201202
"ActionButton.hoverSeparatorColor": "highlightColor",
@@ -209,6 +210,7 @@
209210
"ActionButton.pressedBorderColor": "highlightColor",
210211
"ActionButton.focusedBorderColor": "highlightColor",
211212
"MainToolbar.Dropdown.hoverBackground": "highlightColor",
213+
"MainToolbar.Icon.pressedBackground": "highlightColor",
212214

213215
"VersionControl.MarkerPopup.borderColor": "borderColor",
214216
"Borders.color": "borderColor",
@@ -417,6 +419,8 @@
417419
"RunWidget.StopButton.background": "diff.conflict",
418420
"RunWidget.StopButton.leftHoverBackground": "fileRed",
419421
"RunWidget.StopButton.leftPressedBackground": "diff.conflict",
422+
"RunWidget.hoverBackground": "highlightColor",
423+
"RunWidget.pressedBackground": "highlightColor",
420424

421425

422426
"VersionControl": {

changelog/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changelog
22
---
3+
# 88.3-1.9.3 [New UI Updates]
4+
5+
- Themed New UI Main Toolbar button pressed color.
36

47
# 88.3-1.9.2 [EXP UI Updates]
58

changelog/RELEASE-NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
- Allow custom stickers to remain on IDE for non-Doki themes.
66
- Themed New UI Scrollbars in Rider to be consistent.
77
- Fixed the settings window in builds `231.6890.12`+
8-
- Themed EXP UI header button hover color
9-
- Updated EXP UI project tree spacing to mirror JetBrains' defaults.
8+
- Themed New UI header button hover & pressed color
9+
- Updated New UI project tree spacing to mirror JetBrains' defaults.

gradle.properties

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -> https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html
33

44
pluginGroup=io.unthrottled
5-
pluginVersion=88.3-1.9.2
5+
pluginVersion=88.3-1.9.3
66
pluginSinceBuild=222
77
pluginUntilBuild = 231.*
88

@@ -30,14 +30,6 @@ kotlin.stdlib.default.dependency = false
3030

3131
idePrefix=IU
3232
idePath=
33-
#idePath=/Users/alexsimons/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4167.29/IntelliJ IDEA 2022.1 EAP.app/Contents
34-
#idePath=C:\\Users\\birdm.DESKTOP-FO92PV5\\AppData\\Local\\JetBrains\\Toolbox\\apps\\DataSpell\\ch-0\\213.5744.251
35-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7321754
33+
#idePath=/Users/alexsimons/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.7515.13/IntelliJ IDEA 2023.1 CE EAP.app/Contents
3634
#idePath=C:\\Users\\birdm.DESKTOP-FO92PV5\\AppData\\Local\\JetBrains\\Toolbox\\apps\\Rider\\ch-0\\212.4416.21
3735
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7660.26
38-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/193.5233.101
39-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/RubyMine/ch-0/193.5233.108
40-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/193.6015.41
41-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/Goland/ch-0/193.5233.112
42-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/193.5233.144
43-
#idePath=/home/alex/.local/share/JetBrains/Toolbox/apps/WebStorm/ch-0/211.7142.46

src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class TheDokiTheme : Disposable {
118118
UpdateNotification.display(
119119
project,
120120
version,
121-
isNewUser,
121+
isNewUser
122122
)
123123
}
124124
}

src/main/kotlin/io/unthrottled/doki/actions/HideOnHoverAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class HideOnHoverAction : BaseToggleAction(), DumbAware {
1111
override fun setSelected(e: AnActionEvent, state: Boolean) {
1212
StickerHideActor.setStickerHideStuff(
1313
state,
14-
ThemeConfig.instance.hideDelayMS,
14+
ThemeConfig.instance.hideDelayMS
1515
)
1616
}
1717
}

src/main/kotlin/io/unthrottled/doki/actions/ShowUpdateNotification.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ShowUpdateNotification : AnAction(), DumbAware {
1414
UpdateNotification.display(
1515
e.project!!,
1616
it,
17-
false,
17+
false
1818
)
1919
}
2020
}

src/main/kotlin/io/unthrottled/doki/discreet/AbstractDiscreetModeListener.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ abstract class AbstractDiscreetModeListener : DiscreetModeListener, Logging {
8686
ThemeConfig.instance.currentStickerLevel == StickerLevel.ON,
8787
ThemeConfig.instance.isDokiBackground,
8888
EditorBackgroundWallpaperService.instance.getCurrentBackgroundValue(),
89-
ThemeConfig.instance.isEmptyFrameBackground,
89+
ThemeConfig.instance.isEmptyFrameBackground
9090
)
9191
}
9292

@@ -95,5 +95,5 @@ data class DiscreetModeRestorationConfig(
9595
val stickersEnabled: Boolean?,
9696
val editorWallpaperEnabled: Boolean?,
9797
val savedBackground: String?,
98-
val emptyWallpaperEnabled: Boolean?,
98+
val emptyWallpaperEnabled: Boolean?
9999
)

src/main/kotlin/io/unthrottled/doki/hax/HackComponent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ object HackComponent : Disposable {
238238
)
239239
setFinalStatic(
240240
ContentRootPanel::class.java.getDeclaredField("CONTENT_COLOR"),
241-
UIUtil.getPanelBackground(),
241+
UIUtil.getPanelBackground()
242242
)
243243
}) {
244244
log.warn("Unable to hackBookMarkBorder for reasons.")

src/main/kotlin/io/unthrottled/doki/icon/ColorPatcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ object ColorPatcher : PatcherProvider {
7575

7676
private fun buildHackedPatcher(
7777
otherPatchers: List<Patcher>,
78-
patcherKey: String,
78+
patcherKey: String
7979
): Patcher {
8080
val cachedPatcher = patcherCache.getIfPresent(patcherKey)
8181
if (cachedPatcher !== null) {

0 commit comments

Comments
 (0)