xatupal / KeeTheme

KeePass Plugin
MIT License
457 stars 36 forks source link

Feature lost in new version 0.10 #87

Open madburg opened 2 years ago

madburg commented 2 years ago

Please reference "URL Font Color #72" https://github.com/xatupal/KeeTheme/issues/72

On Windows 10 with Keepass 2.52 (or 2.51.1 tested both versions) , updating your plugin from v0.9.11 (tested v0.9.12 also worked) to v0.10 this addition/feature is lost?

xatupal commented 2 years ago

I can't verify it on Windows 10, but on Windows 11 it works as before: obraz

madburg commented 1 year ago

It is like it is not reading the Keetheme.ini file at all. Can you try the following on yours Link = (255, 255, 128)

This is my Keetheme.ini File:

[KeeTheme]
Name=Dark Theme

[Palette]
Control = (39, 41, 41)
ControlText = (227, 227, 227)
Window = (39, 41, 41)
LightWindow = (39, 41, 41)
WindowText = (220, 220, 220)
Border = (104, 151, 187)
LightBorder = (81, 81, 81)
Header = (57, 60, 62)
ColumnBorder = (97, 100, 101)
Group = (148, 184, 220)
GroupHighlight = (65, 82, 96)
Link = (255, 255, 128)
ToolStrip = (64, 64, 64)
ToolStripHighlight = (114, 161, 197)
ToolStripBorder = (0, 0, 0)
Error = (207, 102, 121)
TreeViewHighlight = (55, 86, 109)

[Other]
ControlNormalColor = Window
ControlDisabledColor = Control
ColorEditError = Error

[Control]
BackColor = Control
ForeColor = ControlText

[Form]
BackColor = Control
ForeColor = ControlText

[Button]
BackColor = Control
ForeColor = ControlText
BorderColor = Border
FlatStyle = Flat

[TreeView]
BackColor = Window
ForeColor = ControlText
SelectionColor = ControlText
SelectionBackColor = TreeViewHighlight
BorderStyle = FixedSingle

[RichTextBox]
BackColor = Control
ForeColor = ControlText
BorderStyle = FixedSingle
SelectionColor = ControlText

[LinkLabel]
BackColor = Control
ForeColor = ControlText
LinkColor = Link

[ListView]
BackColor = Window
ForeColor = ControlText
BorderStyle = FixedSingle
OddRowColor = LightWindow
EvenRowColor = Window
ColumnBorderColor = ColumnBorder
HeaderBackColor = Header
HeaderForeColor = WindowText
HeaderColumnBorderColor = LightBorder
BackgroundImageAlignment =
BackgroundImage = 
GroupForeColor = Group
GroupBackColor = Window
GroupHighlightColor = GroupHighlight

[SecureTextBox]
BackColor = Control
ForeColor = ControlText

[CheckBox]
BackColor = 
ForeColor = 
FlatStyle =
BorderColor =
CheckedBackColor =
MouseDownBackColor =
MouseOverBackColor =

[CheckBoxButton]
BackColor = Border
ForeColor = 
FlatStyle = Flat
BorderColor = Border
CheckedBackColor = Control
MouseDownBackColor = LightBorder
MouseOverBackColor = Window

[MenuItem]
BackColor = ToolStrip
ForeColor = ControlText
HighlightColor = Control

[ToolStrip]
ButtonSelectedHighlight =
ButtonSelectedHighlightBorder = ToolStripHighlight
ButtonPressedHighlight =
ButtonPressedHighlightBorder =
ButtonCheckedHighlight =
ButtonCheckedHighlightBorder =
ButtonPressedBorder = ToolStrip
ButtonSelectedBorder = ToolStrip
ButtonCheckedGradientBegin =
ButtonCheckedGradientMiddle =
ButtonCheckedGradientEnd =
ButtonSelectedGradientBegin = ToolStripHighlight
ButtonSelectedGradientMiddle = ToolStripHighlight
ButtonSelectedGradientEnd = ToolStripHighlight
ButtonPressedGradientBegin = ToolStripHighlight
ButtonPressedGradientMiddle = ToolStripHighlight
ButtonPressedGradientEnd = ToolStripHighlight
CheckBackground = ToolStripHighlight
CheckSelectedBackground = ToolStripHighlight
CheckPressedBackground = ToolStripHighlight
GripDark =
GripLight =
ImageMarginGradientBegin = ToolStrip
ImageMarginGradientMiddle = ToolStrip
ImageMarginGradientEnd = ToolStrip
ImageMarginRevealedGradientBegin =
ImageMarginRevealedGradientMiddle =
ImageMarginRevealedGradientEnd =
MenuStripGradientBegin =
MenuStripGradientEnd =
MenuItemSelected = ToolStripHighlight
MenuItemBorder = ToolStripHighlight
MenuBorder = ToolStripHighlight
MenuItemSelectedGradientBegin = ToolStripHighlight
MenuItemSelectedGradientEnd = ToolStripHighlight
MenuItemPressedGradientBegin = ToolStripHighlight
MenuItemPressedGradientMiddle = ToolStripHighlight
MenuItemPressedGradientEnd = ToolStripHighlight
RaftingContainerGradientBegin =
RaftingContainerGradientEnd =
SeparatorDark =
SeparatorLight =
StatusStripGradientBegin =
StatusStripGradientEnd =
ToolStripBorder = ToolStripBorder
ToolStripDropDownBackground = ToolStrip
ToolStripGradientBegin = ToolStrip
ToolStripGradientMiddle = ToolStrip
ToolStripGradientEnd = ToolStrip
ToolStripContentPanelGradientBegin =
ToolStripContentPanelGradientEnd =
ToolStripPanelGradientBegin =
ToolStripPanelGradientEnd =
OverflowButtonGradientBegin = ToolStrip
OverflowButtonGradientMiddle = ToolStrip
OverflowButtonGradientEnd = ToolStrip
madburg commented 1 year ago

Keetheme with my ini above in version 0.9.12.0: image

Keetheme with my ini above in any version 0.10.x image

xatupal commented 1 year ago

I've tried your file and it works fine: obraz

Maybe the problem is that in v0.10 I added predefined themes and the name of your theme is the same as the default one. Try to rename it and choose it from the list like I did here: obraz