Skip to content

Commit 2f46557

Browse files
authored
Merge pull request #643 from doki-theme/hoverFix
New UI Updates
2 parents 7a6e20d + 2c1af4e commit 2f46557

7 files changed

Lines changed: 19 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@
348348
"Button.default.endBorderColor": "selectionBackground",
349349
"Button.default.startBorderColor":"selectionBackground",
350350
"Button.default.foreground": "selectionForeground",
351+
"MainToolbar.Icon.hoverBackground": "highlightColor",
351352
"ActionButton.pressedBackground": "highlightColor",
352353
"SearchOption.selectedBackground": "highlightColor",
353354
"SegmentedButton.selectedButtonColor": "highlightColor",

buildSrc/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
kotlin("jvm") version "1.8.10"
23
`kotlin-dsl`
34
}
45

@@ -17,5 +18,5 @@ repositories {
1718

1819
dependencies {
1920
implementation("org.jsoup:jsoup:1.15.3")
20-
implementation("io.unthrottled.doki.build.jvm:doki-build-source-jvm:88.0.5")
21+
implementation("io.unthrottled.doki.build.jvm:doki-build-source-jvm:88.0.6")
2122
}

buildSrc/src/main/kotlin/BuildThemes.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import com.google.gson.GsonBuilder
2+
import com.google.gson.ToNumberPolicy
23
import groovy.util.Node
34
import groovy.util.NodeList
45
import io.unthrottled.doki.build.jvm.models.AssetTemplateDefinition
@@ -56,7 +57,10 @@ open class BuildThemes : DefaultTask() {
5657
private const val DOKI_THEME_ULTIMATE = "ultimate"
5758
}
5859

59-
private val gson = GsonBuilder().setPrettyPrinting().create()
60+
private val gson = GsonBuilder()
61+
.setObjectToNumberStrategy(ToNumberPolicy.LONG_OR_DOUBLE)
62+
.setPrettyPrinting()
63+
.create()
6064

6165
init {
6266
group = "doki"

changelog/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
---
33

4+
# 88.3-1.9.2 [EXP UI Updates]
5+
6+
- Themed EXP UI header button hover color
7+
- Updated EXP UI project tree spacing to mirror JetBrains' defaults.
8+
49
# 88.3-1.9.1 [Bug Fixes]
510

611
- Themed New UI Scrollbars in Rider to be consistent.

changelog/RELEASE-NOTES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
- Vertically aligned the editor search text input on the new UI.
55
- Allow custom stickers to remain on IDE for non-Doki themes.
66
- Themed New UI Scrollbars in Rider to be consistent.
7-
- Fixed the settings window in builds `231.6890.12`+
7+
- 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.

gradle.properties

Lines changed: 1 addition & 1 deletion
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.1
5+
pluginVersion=88.3-1.9.2
66
pluginSinceBuild=222
77
pluginUntilBuild = 231.*
88

src/main/kotlin/io/unthrottled/doki/legacy/EXPUIBastardizer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ object EXPUIBastardizer : LafManagerListener, Disposable {
3636
setUIProperty("ToolWindow.Button.selectedBackground", dokiTheme.getColor("highlightColor"), defaults)
3737
setUIProperty("ToolWindow.Button.selectedForeground", dokiTheme.getColor("iconAccent"), defaults)
3838
setUIProperty("Editor.SearchField.borderInsets", JBUI.insets(7, 10, 7, 8), defaults)
39+
setUIProperty("Tree.rowHeight", 24, defaults)
40+
setUIProperty("Tree.border", JBUI.insets(4, 12), defaults)
3941
}
4042
overrideSetProperties(iterations + 1)
4143
}

0 commit comments

Comments
 (0)