Skip to content

Commit

Permalink
Fix current highlight and faded out color not looking well on light mode
Browse files Browse the repository at this point in the history
- Resolves #16
  • Loading branch information
Joehuu committed Feb 14, 2025
1 parent 4e230f8 commit fb5c966
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RMSKIN/Skins/uhe-todo-list/@Resources/MeasureDynamicTasks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ String=#checkPositionstate#
IfMatch=0
IfMatchAction=[!SetVariable checkPosition fa-sq][!SetOption MeterRepeatingTaskPosition InlineSetting ""][!SetOption MeterRepeatingTaskPosition InlineSetting2 ""][!SetOption MeterTaskIconPosition InlineSetting ""]
IfMatch2=1
IfMatchAction2=[!SetVariable checkPosition fa-check-sq][!SetOption MeterRepeatingTaskPosition InlineSetting Strikethrough][!SetOption MeterRepeatingTaskPosition InlineSetting2 "Color | 255,255,255,50"][!SetOption MeterTaskIconPosition InlineSetting "Color | 255,255,255,50"]
IfMatchAction2=[!SetVariable checkPosition fa-check-sq][!SetOption MeterRepeatingTaskPosition InlineSetting Strikethrough][!SetOption MeterRepeatingTaskPosition InlineSetting2 "Color | #*FadedOutColor*#"][!SetOption MeterTaskIconPosition InlineSetting "Color | #*FadedOutColor*#"]
IfMatch3=-1
IfMatchAction3=[!SetVariable checkPosition fa-square-minus][!SetOption MeterRepeatingTaskPosition InlineSetting Underline][!SetOption MeterRepeatingTaskPosition InlineSetting2 "Color | #LightHighlight#"][!SetOption MeterTaskIconPosition InlineSetting "Color | #LightHighlight#"]
IfMatchAction3=[!SetVariable checkPosition fa-square-minus][!SetOption MeterRepeatingTaskPosition InlineSetting Underline][!SetOption MeterRepeatingTaskPosition InlineSetting2 "Color | #*CurrentHighlight*#"][!SetOption MeterTaskIconPosition InlineSetting "Color | #*CurrentHighlight*#"]
IfMatchMode=1
DynamicVariables=1
Expand Down
12 changes: 12 additions & 0 deletions RMSKIN/Skins/uhe-todo-list/todo/todo.ini
Original file line number Diff line number Diff line change
Expand Up @@ -465,3 +465,15 @@ IfCondition=measureLogState = 0
IfTrueAction=[!SetVariable ToggleLogState 1][!HideMeterGroup LogGroup][!UpdateMeterGroup LogGroup]
IfFalseAction=[!SetVariable ToggleLogState 0][!ShowMeterGroup LogGroup][!UpdateMeterGroup LogGroup]
DynamicVariables=1

[measureSystemTheme]
IfTrueAction5=#SetDarkModeGradient#[!SetVariable FadedOutColor 255,255,255,50][!SetVariable CurrentHighlight #LightHighlight#]
IfTrueAction6=#SetLightMode#[!SetVariable FadedOutColor 0,0,0,50][!SetVariable CurrentHighlight #DarkHighlight#]
IfTrueAction7=#SetLightModeGradient#[!SetVariable FadedOutColor 0,0,0,50][!SetVariable CurrentHighlight #DarkHighlight#]
IfTrueAction8=#SetDarkMode#[!SetVariable FadedOutColor 255,255,255,50][!SetVariable CurrentHighlight #LightHighlight#]

[measureLightMode]
IfTrueAction=#SetDarkModeGradient#[!SetVariable FadedOutColor 255,255,255,50][!SetVariable CurrentHighlight #LightHighlight#]
IfTrueAction2=#SetLightMode#[!SetVariable FadedOutColor 0,0,0,50][!SetVariable CurrentHighlight #DarkHighlight#]
IfTrueAction3=#SetLightModeGradient#[!SetVariable FadedOutColor 0,0,0,50][!SetVariable CurrentHighlight #DarkHighlight#]
IfTrueAction4=#SetDarkMode#[!SetVariable FadedOutColor 255,255,255,50][!SetVariable CurrentHighlight #LightHighlight#]

0 comments on commit fb5c966

Please sign in to comment.