Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
style: fix indentation in MaterialYouPalette
adnan-bhaldarc2ec4c345a6b
diff --git a/src/Filee.App/Services/MaterialYouPalette.cs b/src/Filee.App/Services/MaterialYouPalette.csindex 5398dba2..f49b8171 100644--- a/src/Filee.App/Services/MaterialYouPalette.cs+++ b/src/Filee.App/Services/MaterialYouPalette.cs@@ -33,65 +33,65 @@ public sealed class MaterialYouPalette{var resources = new ResourceDictionary{- ["PageBrush"] = new SolidColorBrush(Page),- ["SurfaceBrush"] = new SolidColorBrush(Surface),- ["SurfaceAltBrush"] = new SolidColorBrush(SurfaceAlt),- ["SubtleBorderBrush"] = new SolidColorBrush(SubtleBorder),- ["TextPrimaryBrush"] = new SolidColorBrush(TextPrimary),- ["TextSecondaryBrush"] = new SolidColorBrush(TextSecondary),- ["DangerBrush"] = new SolidColorBrush(Danger),- ["SuccessBrush"] = new SolidColorBrush(Success),- ["WarningBrush"] = new SolidColorBrush(Warning),- ["CardShadow"] = CardShadow,-- ["AccentColor"] = Accent,- ["AccentBrush"] = new SolidColorBrush(Accent),- ["AccentSoftBrush"] = new SolidColorBrush(AccentSoft),- ["AccentFaintBrush"] = new SolidColorBrush(AccentFaint),- ["AccentStrongBrush"] = new SolidColorBrush(AccentStrong),- ["OnAccentBrush"] = new SolidColorBrush(OnAccent),- ["SystemAccentColor"] = Accent,- ["SystemAccentColorLight1"] = SoftPalette.Shade(Accent, 0.15),- ["SystemAccentColorLight2"] = SoftPalette.Shade(Accent, 0.30),- ["SystemAccentColorLight3"] = SoftPalette.Shade(Accent, 0.45),- ["SystemAccentColorDark1"] = SoftPalette.Shade(Accent, -0.15),- ["SystemAccentColorDark2"] = SoftPalette.Shade(Accent, -0.30),- ["SystemAccentColorDark3"] = SoftPalette.Shade(Accent, -0.45),-- // Fluent's own templates read these keys for filled buttons, sliders, checkboxes and focused text boxes.- // Pointing them at the Material You accent keeps those controls on the chosen colour, in every state.- ["AccentButtonBackground"] = new SolidColorBrush(Accent),- ["AccentButtonBackgroundPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),- ["AccentButtonBackgroundPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),- ["AccentButtonForeground"] = new SolidColorBrush(OnAccent),- ["AccentButtonForegroundPointerOver"] = new SolidColorBrush(OnAccent),- ["AccentButtonForegroundPressed"] = new SolidColorBrush(OnAccent),- // The slider thumb is a slightly darker shade of the accent so it stays visible against the accent-filled track.- ["AccentThumbBrush"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.2)),- ["SliderThumbBackground"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.2)),- ["SliderThumbBackgroundPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.26)),- ["SliderThumbBackgroundPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.32)),- ["SliderTrackValueFill"] = new SolidColorBrush(Accent),- ["SliderTrackValueFillPointerOver"] = new SolidColorBrush(Accent),- ["SliderTrackValueFillPressed"] = new SolidColorBrush(Accent),- ["CheckBoxCheckBackgroundFillChecked"] = new SolidColorBrush(Accent),- ["CheckBoxCheckBackgroundFillCheckedPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),- ["CheckBoxCheckBackgroundFillCheckedPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),- ["CheckBoxCheckBackgroundStrokeChecked"] = new SolidColorBrush(Accent),- ["CheckBoxCheckBackgroundStrokeCheckedPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),- ["CheckBoxCheckBackgroundStrokeCheckedPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),- ["CheckBoxCheckGlyphForegroundChecked"] = new SolidColorBrush(OnAccent),- ["CheckBoxCheckGlyphForegroundCheckedPointerOver"] = new SolidColorBrush(OnAccent),- ["CheckBoxCheckGlyphForegroundCheckedPressed"] = new SolidColorBrush(OnAccent),- ["TextControlBorderBrushFocused"] = new SolidColorBrush(Accent),-- // The cross in search boxes turns the accent colour on hover and press, with no background behind it.- ["TextControlButtonBackgroundPointerOver"] = new SolidColorBrush(Colors.Transparent),- ["TextControlButtonBackgroundPressed"] = new SolidColorBrush(Colors.Transparent),- ["TextControlButtonBorderBrushPointerOver"] = new SolidColorBrush(Colors.Transparent),- ["TextControlButtonBorderBrushPressed"] = new SolidColorBrush(Colors.Transparent),- ["TextControlButtonForegroundPointerOver"] = new SolidColorBrush(Accent),- ["TextControlButtonForegroundPressed"] = new SolidColorBrush(Accent),+ ["PageBrush"] = new SolidColorBrush(Page),+ ["SurfaceBrush"] = new SolidColorBrush(Surface),+ ["SurfaceAltBrush"] = new SolidColorBrush(SurfaceAlt),+ ["SubtleBorderBrush"] = new SolidColorBrush(SubtleBorder),+ ["TextPrimaryBrush"] = new SolidColorBrush(TextPrimary),+ ["TextSecondaryBrush"] = new SolidColorBrush(TextSecondary),+ ["DangerBrush"] = new SolidColorBrush(Danger),+ ["SuccessBrush"] = new SolidColorBrush(Success),+ ["WarningBrush"] = new SolidColorBrush(Warning),+ ["CardShadow"] = CardShadow,++ ["AccentColor"] = Accent,+ ["AccentBrush"] = new SolidColorBrush(Accent),+ ["AccentSoftBrush"] = new SolidColorBrush(AccentSoft),+ ["AccentFaintBrush"] = new SolidColorBrush(AccentFaint),+ ["AccentStrongBrush"] = new SolidColorBrush(AccentStrong),+ ["OnAccentBrush"] = new SolidColorBrush(OnAccent),+ ["SystemAccentColor"] = Accent,+ ["SystemAccentColorLight1"] = SoftPalette.Shade(Accent, 0.15),+ ["SystemAccentColorLight2"] = SoftPalette.Shade(Accent, 0.30),+ ["SystemAccentColorLight3"] = SoftPalette.Shade(Accent, 0.45),+ ["SystemAccentColorDark1"] = SoftPalette.Shade(Accent, -0.15),+ ["SystemAccentColorDark2"] = SoftPalette.Shade(Accent, -0.30),+ ["SystemAccentColorDark3"] = SoftPalette.Shade(Accent, -0.45),++ // Fluent's own templates read these keys for filled buttons, sliders, checkboxes and focused text boxes.+ // Pointing them at the Material You accent keeps those controls on the chosen colour, in every state.+ ["AccentButtonBackground"] = new SolidColorBrush(Accent),+ ["AccentButtonBackgroundPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),+ ["AccentButtonBackgroundPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),+ ["AccentButtonForeground"] = new SolidColorBrush(OnAccent),+ ["AccentButtonForegroundPointerOver"] = new SolidColorBrush(OnAccent),+ ["AccentButtonForegroundPressed"] = new SolidColorBrush(OnAccent),+ // The slider thumb is a slightly darker shade of the accent so it stays visible against the accent-filled track.+ ["AccentThumbBrush"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.2)),+ ["SliderThumbBackground"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.2)),+ ["SliderThumbBackgroundPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.26)),+ ["SliderThumbBackgroundPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.32)),+ ["SliderTrackValueFill"] = new SolidColorBrush(Accent),+ ["SliderTrackValueFillPointerOver"] = new SolidColorBrush(Accent),+ ["SliderTrackValueFillPressed"] = new SolidColorBrush(Accent),+ ["CheckBoxCheckBackgroundFillChecked"] = new SolidColorBrush(Accent),+ ["CheckBoxCheckBackgroundFillCheckedPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),+ ["CheckBoxCheckBackgroundFillCheckedPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),+ ["CheckBoxCheckBackgroundStrokeChecked"] = new SolidColorBrush(Accent),+ ["CheckBoxCheckBackgroundStrokeCheckedPointerOver"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.08)),+ ["CheckBoxCheckBackgroundStrokeCheckedPressed"] = new SolidColorBrush(SoftPalette.Shade(Accent, -0.16)),+ ["CheckBoxCheckGlyphForegroundChecked"] = new SolidColorBrush(OnAccent),+ ["CheckBoxCheckGlyphForegroundCheckedPointerOver"] = new SolidColorBrush(OnAccent),+ ["CheckBoxCheckGlyphForegroundCheckedPressed"] = new SolidColorBrush(OnAccent),+ ["TextControlBorderBrushFocused"] = new SolidColorBrush(Accent),++ // The cross in search boxes turns the accent colour on hover and press, with no background behind it.+ ["TextControlButtonBackgroundPointerOver"] = new SolidColorBrush(Colors.Transparent),+ ["TextControlButtonBackgroundPressed"] = new SolidColorBrush(Colors.Transparent),+ ["TextControlButtonBorderBrushPointerOver"] = new SolidColorBrush(Colors.Transparent),+ ["TextControlButtonBorderBrushPressed"] = new SolidColorBrush(Colors.Transparent),+ ["TextControlButtonForegroundPointerOver"] = new SolidColorBrush(Accent),+ ["TextControlButtonForegroundPressed"] = new SolidColorBrush(Accent),};// Dark mode: Fluent's hover and focus fills for inputs and dropdowns are near-black, a sudden dark box. Keep them a