@@ -98,50 +98,50 @@ XsheetViewer {
9898 // Level Type Colors
9999 qproperty- LevelColumnColor: @xsheet-LevelColumn-color ;
100100 qproperty- LevelColumnBorderColor: desaturate (darken (@xsheet-LevelColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
101- qproperty- SelectedLevelColumnColor: desaturate ( lighten (@xsheet-LevelColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
101+ qproperty- SelectedLevelColumnColor: mix (shade (@xsheet-LevelColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
102102
103103 qproperty- VectorColumnColor: @xsheet-VectorColumn-color ;
104104 qproperty- VectorColumnBorderColor: desaturate (darken (@xsheet-VectorColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
105- qproperty- SelectedVectorColumnColor: desaturate ( lighten (@xsheet-VectorColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
105+ qproperty- SelectedVectorColumnColor: mix (shade (@xsheet-VectorColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
106106
107107 qproperty- ChildColumnColor: @xsheet-ChildColumn-color ;
108108 qproperty- ChildColumnBorderColor: desaturate (darken (@xsheet-ChildColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
109- qproperty- SelectedChildColumnColor: desaturate ( lighten (@xsheet-ChildColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
109+ qproperty- SelectedChildColumnColor: mix (shade (@xsheet-ChildColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
110110
111111 qproperty- FullcolorColumnColor: @xsheet-FullColorColumn-color ;
112112 qproperty- FullcolorColumnBorderColor: desaturate (darken (@xsheet-FullColorColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
113- qproperty- SelectedFullcolorColumnColor: desaturate ( lighten (@xsheet-FullColorColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
113+ qproperty- SelectedFullcolorColumnColor: mix (shade (@xsheet-FullColorColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
114114
115115 qproperty- FxColumnColor: @xsheet-FxColumn-color ;
116116 qproperty- FxColumnBorderColor: desaturate (darken (@xsheet-FxColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
117- qproperty- SelectedFxColumnColor: desaturate ( lighten (@xsheet-FxColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
117+ qproperty- SelectedFxColumnColor: mix (shade (@xsheet-FxColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
118118
119119 qproperty- ReferenceColumnColor: @xsheet-ReferenceColumn-color ;
120120 qproperty- ReferenceColumnBorderColor: desaturate (darken (@xsheet-ReferenceColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
121- qproperty- SelectedReferenceColumnColor: desaturate ( lighten (@xsheet-ReferenceColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
121+ qproperty- SelectedReferenceColumnColor: mix (shade (@xsheet-ReferenceColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
122122
123123 qproperty- PaletteColumnColor: @xsheet-PaletteColumn-color ;
124124 qproperty- PaletteColumnBorderColor: desaturate (darken (@xsheet-PaletteColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
125- qproperty- SelectedPaletteColumnColor: desaturate ( lighten (@xsheet-PaletteColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
125+ qproperty- SelectedPaletteColumnColor: mix (shade (@xsheet-PaletteColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
126126
127127 qproperty- MeshColumnColor: @xsheet-MeshColumn-color ;
128128 qproperty- MeshColumnBorderColor: desaturate (darken (@xsheet-MeshColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
129- qproperty- SelectedMeshColumnColor: desaturate ( lighten (@xsheet-MeshColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
129+ qproperty- SelectedMeshColumnColor: mix (shade (@xsheet-MeshColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
130130
131131 qproperty- SoundTextColumnColor: @xsheet-SoundTextColumn-color ;
132132 qproperty- SoundTextColumnBorderColor: desaturate (darken (@xsheet-SoundTextColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
133- qproperty- SelectedSoundTextColumnColor: desaturate ( lighten (@xsheet-SoundTextColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
133+ qproperty- SelectedSoundTextColumnColor: mix (shade (@xsheet-SoundTextColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
134134
135135 qproperty- SoundColumnColor: @xsheet-SoundColumn-color ;
136136 qproperty- SoundColumnBorderColor: desaturate (darken (@xsheet-SoundColumn-color , @columnBorderDarkness ), @columnBorderDesaturation );
137- qproperty- SelectedSoundColumnColor: desaturate ( lighten (@xsheet-SoundColumn-color , @cellHighlightLightness ), @cellHighlightDesaturation );
137+ qproperty- SelectedSoundColumnColor: mix (shade (@xsheet-SoundColumn-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
138138 qproperty- SoundColumnHlColor: @xsheet-SoundColumnHL-color ;
139139 qproperty- SoundColumnTrackColor: @xsheet-SoundColumnTrack-color ;
140140
141141 qproperty- ActiveCameraColor: @xsheet-ActiveCamera-color ;
142- qproperty- SelectedActiveCameraColor: desaturate ( lighten (@xsheet-ActiveCamera-color , @cellHighlightLightness ), @cellHighlightDesaturation );
142+ qproperty- SelectedActiveCameraColor: mix (shade (@xsheet-ActiveCamera-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
143143 qproperty- OtherCameraColor: @xsheet-OtherCamera-color ;
144- qproperty- SelectedOtherCameraColor: desaturate ( lighten (@xsheet-OtherCamera-color , @cellHighlightLightness ), @cellHighlightDesaturation );
144+ qproperty- SelectedOtherCameraColor: mix (shade (@xsheet-OtherCamera-color , @cellHighlightLightness ), @cellHighlightTintColor , @cellHighlightTintAmount );
145145
146146 qproperty- LightLightBGColor: @function-LightLightBG-color ;
147147 qproperty- LightBGColor: @xsheet-LightBG-color ;
0 commit comments