mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
Accent color: made accent focus border colors lighter/darker in IntelliJ/Darcula themes
(issue #233)
This commit is contained in:
@@ -31,6 +31,12 @@
|
|||||||
# which is licensed under the Apache 2.0 license. Copyright 2000-2019 JetBrains s.r.o.
|
# which is licensed under the Apache 2.0 license. Copyright 2000-2019 JetBrains s.r.o.
|
||||||
# See: https://github.com/JetBrains/intellij-community/
|
# See: https://github.com/JetBrains/intellij-community/
|
||||||
|
|
||||||
|
#---- variables ----
|
||||||
|
|
||||||
|
# accent colors (blueish)
|
||||||
|
@accentFocusColor = if(@accentColor, darken(@accentColor,20%), shade(spin(@accentBaseColor,-8),20%))
|
||||||
|
|
||||||
|
|
||||||
#---- Button ----
|
#---- Button ----
|
||||||
|
|
||||||
Button.innerFocusWidth = 0
|
Button.innerFocusWidth = 0
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#---- variables ----
|
#---- variables ----
|
||||||
|
|
||||||
# accent colors (blueish)
|
# accent colors (blueish)
|
||||||
|
@accentFocusColor = if(@accentColor, lighten(@accentColor,20%), lighten(@accentBaseColor,31%))
|
||||||
@accentButtonDefaultBackground = if(@accentColor, @accentColor, tint(@accentBaseColor,15%))
|
@accentButtonDefaultBackground = if(@accentColor, @accentColor, tint(@accentBaseColor,15%))
|
||||||
|
|
||||||
#---- Button ----
|
#---- Button ----
|
||||||
|
|||||||
Reference in New Issue
Block a user