diff --git a/CHANGELOG.md b/CHANGELOG.md index 35741d9..6f490e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.15.2 + +- Force switch to correspond editor color when toggle UI to Dracula + ## 1.15.1 - Workaround for VCS annotation background color lost diff --git a/gradle.properties b/gradle.properties index 6d44d4c..a23adf9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.caching=true # -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html pluginGroup=com.draculatheme pluginName=Dracula Theme -pluginVersion=1.15.1 +pluginVersion=1.15.2 # Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl # See https://jb.gg/intellij-platform-builds-list for available build versions. pluginVerifierIdeVersions=232.8660.185, 231.9392.1, 223.8836.41, 222.4554.10 diff --git a/src/main/kotlin/com/draculatheme/jetbrains/notifications/DraculaNotification.kt b/src/main/kotlin/com/draculatheme/jetbrains/notifications/DraculaNotification.kt index 22a5abb..251d00e 100644 --- a/src/main/kotlin/com/draculatheme/jetbrains/notifications/DraculaNotification.kt +++ b/src/main/kotlin/com/draculatheme/jetbrains/notifications/DraculaNotification.kt @@ -15,8 +15,7 @@ object DraculaNotification { @Language("HTML") private val whatsNew = """ """.trimIndent() @@ -37,6 +36,7 @@ object DraculaNotification { val notificationIcon = IconLoader.getIcon("/icons/dracula-logo.svg", javaClass) private const val DRACULA_PRO_LINK = "https://gumroad.com/a/477820019" + private const val GITHUB_LING = "https://github.com/dracula/jetbrains" private const val DONATE_LINK = "https://www.buymeacoffee.com/nszihan" fun notifyReleaseNote(project: Project) { @@ -61,10 +61,14 @@ object DraculaNotification { val actionDraculaPro = NotificationAction.createSimple("Dracula PRO") { BrowserUtil.browse(DRACULA_PRO_LINK) } + val github = NotificationAction.createSimple("GitHub") { + BrowserUtil.browse(GITHUB_LING) + } val actionDonate = NotificationAction.createSimple("Donate") { BrowserUtil.browse(DONATE_LINK) } notification.addAction(actionDraculaPro) + notification.addAction(github) notification.addAction(actionDonate) }