mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 22:40:53 +03: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.
|
||||
# See: https://github.com/JetBrains/intellij-community/
|
||||
|
||||
#---- variables ----
|
||||
|
||||
# accent colors (blueish)
|
||||
@accentFocusColor = if(@accentColor, darken(@accentColor,20%), shade(spin(@accentBaseColor,-8),20%))
|
||||
|
||||
|
||||
#---- Button ----
|
||||
|
||||
Button.innerFocusWidth = 0
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
#---- variables ----
|
||||
|
||||
# accent colors (blueish)
|
||||
@accentButtonDefaultBackground = if(@accentColor, @accentColor, tint(@accentBaseColor,15%))
|
||||
@accentFocusColor = if(@accentColor, lighten(@accentColor,20%), lighten(@accentBaseColor,31%))
|
||||
@accentButtonDefaultBackground = if(@accentColor, @accentColor, tint(@accentBaseColor,15%))
|
||||
|
||||
#---- Button ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user