Advertisement
Guest User

Gruvbox for One Commander 3.xaml

a guest
Sep 25th, 2021
1,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 24.70 KB | None | 0 0
  1. <ResourceDictionary
  2.     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.     xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
  5.     xmlns:m="clr-namespace:ModernWpf.Markup;assembly=modernwpf"
  6.     xmlns:s="clr-namespace:System;assembly=mscorlib">
  7.     <!--Dark base-->
  8.    <!--Keep this line, and change depending on if Light or Dark theme; case sensitive-->
  9.     <!--
  10.         Theme Author: Milos Paripovic
  11.        
  12.         Copy the whole Theme folder from /Themes/ and do mods there (themes with same name as official ones will be overwritten on program update)
  13.        
  14.         If the syntax is broken, it will load default theme (may cause crashes also)
  15.        
  16.         Keys may change in the future.
  17.        
  18.         You can use color chart from http://i.msdn.microsoft.com/dynimg/IC210551.png
  19.         so instead of Color="#000000" you can write Color="Black"
  20.        
  21.         Brushes can be any XAML color brush type, value can be RGB or ARGB
  22.        
  23.         Suggestion: Use Notepad++ with XML coloring, or other code editor with syntax highlighting
  24.        
  25.         Pressing Ctrl+Shift+Alt+F5 reloads the theme so it is useful for editing themes, but not all keys will be reloaded as some require a restart
  26.     -->
  27.     <Thickness x:Key="WindowPadding">1,1,0,1</Thickness>
  28.    <!--  margin/padding in XAML is in order Left,Top,Right,Bottom  -->
  29.     <SolidColorBrush x:Key="WindowBorderBrush" Color="{m:DynamicColor SystemAccentColor}" />
  30.    <Thickness x:Key="WindowBorderThickness">1</Thickness>
  31.    <SolidColorBrush x:Key="WindowAcrylicTintBrush" Color="#282828" />
  32.     <!--  when window is not focused it will show the MainBackgroundBrush-->
  33.    <SolidColorBrush x:Key="MainBackgroundBrush" Color="#32302f" />
  34.    <!--  for other windows that don't have Acrylic effect  -->
  35.    <SolidColorBrush x:Key="DialogBackgroundBrush" Color="#32302f" />
  36.    <SolidColorBrush x:Key="SidebarBackgroundBrush" Color="Transparent" />
  37.    <!--  Set to Transparent to have Acrylic effect on side  -->
  38.     <SolidColorBrush x:Key="PathEditPopupBackgroundBrush" Color="#32302f" />
  39.     <SolidColorBrush x:Key="TextPrimaryBrush" Color="#EBDBB2" />
  40.     <!--  Main style for text; Foreground color should be same as TextPrimaryBrush  -->
  41.    <Style x:Key="{x:Type TextBlock}" TargetType="TextBlock">
  42.        <Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}" />
  43.    </Style>
  44.     <!--  Highlighted Text, like GB portion of file size, or number of selected files. Can be the same as TextPrimaryBrush to keep the same color  -->
  45.    <SolidColorBrush x:Key="TextImportantBrush" Color="#0f92fe" />
  46.  
  47.  
  48.  
  49.     <!--  Secondary Text, like extension in File, or path in Favorites  -->
  50.    <SolidColorBrush x:Key="TextUnimportantBrush" Color="#A89984" />
  51.  
  52.  
  53.     <!--  Sidebar - Favorites  -->
  54.     <!--  Favorites Group  -->
  55.    <Thickness x:Key="FavoritesPanelMargin">0,1,8,0</Thickness>    
  56.     <!--  At least 1 for top so the New Group button doesn't blend with last Fav group
  57.     8 on the side for a narrow scrollbar that appears when not all favs can fit vertically in the window-->
  58.     <s:Double x:Key="SidebarCollapsedWidth">38</s:Double>
  59.    <!--Should be minimum button width + SidebarResizerBorder Thickness-->
  60.    
  61.     <Style x:Key="PathPanelGroupBorder" TargetType="{x:Type Border}">
  62.        <Setter Property="Background" Value="#32302F" />
  63.        <Setter Property="Margin" Value="12,0,12,12" />
  64.        <Setter Property="Padding" Value="0,8,8,8" />
  65.        <Setter Property="CornerRadius" Value="4" />
  66.    </Style>
  67.     <Style x:Key="PathPanelGroupTitle" TargetType="{x:Type TextBlock}">
  68.        <!--  BasedOn="{StaticResource {x:Type TextBlock}}"> Can't be DynamicResource :/  -->
  69.        <Setter Property="Margin" Value="8,-6,0,0" />
  70.        <Setter Property="FontSize" Value="16" />
  71.        <Setter Property="Foreground" Value="{DynamicResource SystemControlPageTextBaseHighBrush}" />
  72.    </Style>
  73.     <SolidColorBrush x:Key="PathPanelItemBackgroundBrush" Color="#32302F" />
  74.    <!--  Can be Transparent or a shade similar to background of PathPanelGroupBorder  -->
  75.     <!--  File Browser Panel  -->
  76.     <SolidColorBrush x:Key="CurrentFolderPanelBackgroundBrush" Color="#32302F" />
  77.     <SolidColorBrush x:Key="NavigationPanelBackgroundBrush.StandardLayout" Color="#32302F" />
  78.    <SolidColorBrush x:Key="NavigationPanelBackgroundBrush.ColumnsLayout" Color="#32302F" />
  79.    <!--  Will be visible only when there is no Files Panel is covering it  -->
  80.     <Style x:Key="FilesPanelBorder" TargetType="{x:Type Border}">
  81.        <Setter Property="Background" Value="#32302F" />
  82.        <!--Should not be transparent or the panels will overlap on animation and will look bad-->
  83.    </Style>
  84.     <!--
  85.         This is a fake shadow made with a gradient on the right side of Files Panel
  86.         (much faster than shadow effect)
  87.         It also includes border in the accent color (see BorderThickness)
  88.     -->
  89.    <Style x:Key="FilesPanelEdgeBorder" TargetType="{x:Type Border}">
  90.        <Setter Property="Margin" Value="0,0,0,0" />
  91.        <Setter Property="BorderThickness" Value="0,0,2,0" />
  92.        <Setter Property="BorderBrush" Value="{DynamicResource SystemControlForegroundAccentBrush}" />
  93.        <Setter Property="HorizontalAlignment" Value="Right" />
  94.        <Setter Property="Width" Value="20" />
  95.        <Setter Property="Background">
  96.            <Setter.Value>
  97.                <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
  98.                    <!--  This one should blend in with FilesPanelBorder so make it the same  -->
  99.                    <GradientStop Offset="0" Color="#32302F" />
  100.                    <GradientStop Offset=".6" Color="#222222" />
  101.                    <GradientStop Offset=".9" Color="#111111" />
  102.                </LinearGradientBrush>
  103.            </Setter.Value>
  104.        </Setter>
  105.    </Style>
  106.     <!--  top of the fake shadow is faded out with this  -->
  107.    <Style x:Key="FilesPanelEdgeTopBorder" TargetType="{x:Type Border}">
  108.        <Setter Property="BorderBrush" Value="{DynamicResource SystemControlForegroundAccentBrush}" />
  109.        <Setter Property="VerticalAlignment" Value="Top" />
  110.        <Setter Property="HorizontalAlignment" Value="Right" />
  111.        <Setter Property="Width" Value="20" />
  112.        <Setter Property="Height" Value="44" />
  113.        <Setter Property="Background">
  114.            <Setter.Value>
  115.                <LinearGradientBrush MappingMode="Absolute" StartPoint="7,25" EndPoint="27,32">
  116.                    <!--  This one should merge with FilesPanelBorder background so make it the same  -->
  117.                    <GradientStop Offset="0" Color="#32302F" />
  118.                    <GradientStop Offset="1" Color="#161616" />
  119.                </LinearGradientBrush>
  120.            </Setter.Value>
  121.        </Setter>
  122.        <Setter Property="OpacityMask">
  123.            <Setter.Value>
  124.                <LinearGradientBrush MappingMode="Absolute" StartPoint="0,0" EndPoint="0,44">
  125.                    <GradientStop Offset="0" Color="#EBDBB2ff" />
  126.                    <GradientStop Offset="1" Color="#00000000" />
  127.                </LinearGradientBrush>
  128.            </Setter.Value>
  129.        </Setter>
  130.    </Style>
  131.     <!--  Changing height requires program restart for columns exxpanding to be properly set  -->
  132.    <s:Double x:Key="FilesPanelTitleHeight">30</s:Double>
  133.    <Thickness x:Key="FilesPanelSortControlMargin">0,32,0,0</Thickness>
  134.    <Thickness x:Key="FilesPanelContentMargin">0,54,0,0</Thickness>
  135.  
  136.  
  137.     <Style x:Key="FilesPanelTitle" TargetType="{x:Type TextBlock}">
  138.        <Setter Property="Margin" Value="10,4,0,0" />
  139.        <Setter Property="FontSize" Value="18" />
  140.        <Setter Property="Foreground" Value="{DynamicResource SystemControlPageTextBaseHighBrush}" />
  141.        <Style.Triggers>
  142.            <Trigger Property="IsMouseOver" Value="True">
  143.                <Setter Property="Foreground" Value="{DynamicResource SystemControlForegroundAccentBrush}" />
  144.            </Trigger>
  145.        </Style.Triggers>
  146.    </Style>
  147.    <Style x:Key="FilesPanelPathSeparator" TargetType="{x:Type TextBlock}">
  148.        <Setter Property="Text" Value="\" />
  149.        <!--  Here you can set another path separator like >  -->
  150.         <Setter Property="Margin" Value="0,4,0,0" />
  151.        <Setter Property="FontSize" Value="16" />
  152.        <Setter Property="Foreground" Value="{DynamicResource TextUnimportantBrush}" />
  153.    </Style>
  154.     <Style x:Key="PreviewPanelBorder" TargetType="{x:Type Border}">
  155.        <Setter Property="Background" Value="#32302F" />
  156.    </Style>
  157.    <Style x:Key="PreviewPanelBorder.ColumnsLayout" TargetType="{x:Type Border}">
  158.        <Setter Property="Background" Value="#32302F" />
  159.        <!--  Make the same as FilesPanelBorder Background to make it seem like one  -->
  160.    </Style>
  161.    <s:Double x:Key="PreviewPanelMinHeight">28</s:Double>
  162.     <!--  This is container for all popups, like New Folder, New File, Rename...   -->
  163.    <Style x:Key="PopupPanelBorder" TargetType="{x:Type Border}">
  164.        <Setter Property="Background" Value="{DynamicResource SystemControlPageBackgroundChromeLowBrush}" />
  165.        <Setter Property="Effect" Value="{DynamicResource PopupShadowEffect}" />
  166.    </Style>
  167.     <!--  for files/folders within Files Panels  -->
  168.    
  169.     <Thickness x:Key="ListItemMargin">8,0,0,0</Thickness>
  170.     <!--  To disable "Zebra lines" make the next two the same  -->
  171.    <SolidColorBrush x:Key="ListItemEvenBackgroundBrush" Color="Transparent" />
  172.    <SolidColorBrush x:Key="ListItemOddBackgroundBrush" Color="#10777777" />
  173.     <!--  item background when you make ToDo files  -->
  174.    <SolidColorBrush x:Key="ListItemToDoBackgroundBrush" Color="#ccffc932" />
  175.    <SolidColorBrush x:Key="ListItemToDoDoneBackgroundBrush" Color="#ccdeaf2c" />
  176.    <SolidColorBrush x:Key="ListItemToDoForegroundBrush" Color="#000000" />
  177.    
  178.     <!--  File/Path effect on mouseOver. Set ShadowDepth and Opacity 0 to turn off  -->
  179.    <DropShadowEffect
  180.         x:Key="HoverItemEffect"
  181.         BlurRadius="15"
  182.         Direction="315"
  183.         Opacity=".5"
  184.         ShadowDepth="2"
  185.         Color="Black" />
  186.     <!--  For dialogs/popups  -->
  187.    <DropShadowEffect
  188.         x:Key="PopupShadowEffect"
  189.         BlurRadius="30"
  190.         Direction="270"
  191.         Opacity=".65"
  192.         ShadowDepth="10"
  193.         Color="Black" />
  194.    <Thickness x:Key="ShadowThickness">20,10,20,30</Thickness>
  195.     <Style x:Key="ContextMenuBorder" TargetType="Border">
  196.        <!--This is not Shell Context menu - no way to change that yet-->
  197.        <Setter Property="BorderThickness" Value="0"/>
  198.        <Setter Property="Background" Value="{DynamicResource DialogBackgroundBrush}"/>
  199.        <Setter Property="Padding" Value="0,4,0,4" />
  200.        <Setter Property="CornerRadius" Value="4" />
  201.    </Style>
  202.    <!--<SolidColorBrush x:Key="MenuFlyoutPresenterBackground" Color="#ccdeaf2c" />-->
  203.  
  204.     <!--  For now only to control the corner radius; may be removed in the future  -->
  205.    <Style x:Key="ItemSelectionBorder" TargetType="{x:Type Border}">
  206.        <Setter Property="CornerRadius" Value="4,0,0,4" />
  207.    </Style>
  208.     <!--  Base folder style in Files Panel  -->
  209.    <Style x:Key="FolderItemDefaultBorder" TargetType="{x:Type Border}">
  210.        <!--  Uncomment for a border around folders only  -->
  211.        <!--<Setter Property="BorderBrush" Value="Green"/>
  212.                    <Setter Property="BorderThickness" Value="1,1,0,1" />
  213.                    <Setter Property="CornerRadius" Value="5,0,0,5" />
  214.                    <Setter Property="Margin" Value="-0.5" /> to avoid double border-->
  215.         <Setter Property="Background" Value="Transparent" />
  216.        <!--  Background must be defined, even transparent, in order for drag&drop to work  -->
  217.    </Style>
  218.     <!--  Folder style when selected in ancestor (non-current) Files Panel  -->
  219.    <Style x:Key="FolderItemSelectedBorder" TargetType="{x:Type Border}">
  220.        <Setter Property="CornerRadius" Value="3,0,0,3" />
  221.        <Setter Property="BorderThickness" Value="2,2,0,2" />
  222.        <Setter Property="BorderBrush" Value="{DynamicResource SystemControlForegroundAccentBrush}" />
  223.        <Setter Property="Margin" Value="0,0,-2,0"/>        <!--This is so that border of selected folder in column doesn't go over the edge of the panel on the right-->
  224.        <Setter Property="Background" Value="#32302F" />
  225.        <!--  best if the same as FilesPanelBorder so parent folder blend into child panel  -->
  226.    </Style>
  227.     <!--
  228.         Folder style when selected in current (most-right) Files Panel
  229.         Set CornerRadius to 0 for sharp edges
  230.     -->
  231.    <Style x:Key="FolderItemSelectedInCurrentBorder" TargetType="{x:Type Border}">
  232.        <!--<Setter Property="CornerRadius" Value="2,0,0,2" />-->
  233.        <!--<Setter Property="BorderThickness" Value="1" />
  234.        <Setter Property="BorderBrush" Value="Black" />-->
  235.        <Setter Property="Background" Value="Transparent" />
  236.    </Style>
  237.     <!--  Tabs  -->
  238.     <Style x:Key="ProgramNameBorder" TargetType="{x:Type Border}">
  239.        <Setter Property="Height" Value="33" />
  240.    </Style>
  241.     <Style x:Key="TabsContainerBorder" TargetType="{x:Type Border}">
  242.        <Setter Property="Height" Value="34" />
  243.        <Setter Property="Margin" Value="0,0,0,0" />
  244.        <!--  if we add margin here, then shadows are cropped  -->
  245.        <Setter Property="Padding" Value="0,0,0,0" />
  246.    </Style>
  247.     <Thickness x:Key="TabItemPadding">8,2,2,0</Thickness>
  248.    <!--  was 4,4,28,0 to leave space for close button  -->
  249.  
  250.     <Style x:Key="TabItemDefaultBorder" TargetType="{x:Type Border}">
  251.        <Setter Property="CornerRadius" Value="4,4,0,0" />
  252.        <!--  Set CornerRadius to 0 for sharp edges  -->
  253.        <!--
  254.         <Setter Property="CornerRadius" Value="0,0,0,0" />
  255.        <Setter Property="BorderBrush" Value="#3E3C41" />
  256.        <Setter Property="BorderThickness" Value="0,0,2,0" />
  257.        <Setter Property="Background" Value="Transparent"/>
  258.        <Setter Property="Margin" Value="-2,6,-2,0" />
  259.         These 5 if you want just line separated tabs-->
  260.        <Setter Property="Background" Value="#282828" />
  261.        <Setter Property="Padding" Value="4,0,0,0" />
  262.        <Setter Property="Margin" Value="0,2,2,0" />
  263.    </Style>
  264.     <Style x:Key="TabItemHoverBorder" TargetType="{x:Type Border}">
  265.        <Setter Property="CornerRadius" Value="4,4,0,0" />
  266.         <!--  Uncomment for border around non-active tab  -->
  267.        <!--<Setter Property="BorderThickness" Value="1,1,0,1"/>
  268.                    <Setter Property="BorderBrush" Value="Transparent" />-->
  269.        <Setter Property="Background" Value="#403D3B" />
  270.        <Setter Property="Padding" Value="5,2,0,0" />
  271.        <Setter Property="Margin" Value="0,2,0,0" />
  272.        <Setter Property="Effect" Value="{DynamicResource HoverItemEffect}" />
  273.    </Style>
  274.     <Style x:Key="TabItemSelectedBorder" TargetType="{x:Type Border}">
  275.        <Setter Property="CornerRadius" Value="4,4,0,0" />
  276.        <!--<Setter Property="BorderThickness" Value="2,2,2,0" />-->
  277.        <Setter Property="Padding" Value="0,0,2,0" />
  278.        <Setter Property="Margin" Value="0,2,2,0" />
  279.        <Setter Property="Background" Value="#32302F" />
  280.        <!--  best if the same as FilesPanelBorder so parent folder blend into child panel  -->
  281.    </Style>
  282.  
  283.  
  284.     <Style x:Key="TabsBottomBarBorder" TargetType="{x:Type Border}">
  285.        <!--<Setter Property="BorderBrush" Value="#32302F" />
  286.                    <Setter Property="BorderThickness" Value="0,3,0,0" />
  287.                    <Setter Property="Height" Value="2" />-->
  288.        <Setter Property="Margin" Value="0,0,0,0" />
  289.    </Style>
  290.     <!--  Message panel  -->
  291.     <Style x:Key="MessagePanelBorder" TargetType="{x:Type Border}">
  292.        <Setter Property="Background" Value="#1b1a1d" />
  293.        <!--  made the same as inactive tab color so it doesn't merge with files pane  -->
  294.        <!--<Setter Property="BorderBrush" Value="Gray" />
  295.        <Setter Property="BorderThickness" Value="0,1,0,1" />-->
  296.    </Style>
  297.    <SolidColorBrush x:Key="MessageSuccessBackgroundBrush" Color="DarkGreen" />
  298.    <SolidColorBrush x:Key="MessageErrorBackgroundBrush" Color="DarkRed" />
  299.    <SolidColorBrush x:Key="MessageInfoBackgroundBrush" Color="Transparent" />
  300.     <!--  Other  -->
  301.     <SolidColorBrush x:Key="ScrollBarTrackBrush" Color="#32302F" />
  302.    <SolidColorBrush x:Key="ScrollBarThumbBrush" Color="#ae888888" />
  303.    <SolidColorBrush x:Key="ScrollBarThumbHoverBrush" Color="#c0888888" />
  304.     <!--  For background overlay when popup is open  -->
  305.    <SolidColorBrush
  306.         x:Key="OverlayBrush"
  307.         Opacity=".15"
  308.         Color="#EBDBB2" />
  309.     <!--  Flash item or right-click  -->
  310.    <SolidColorBrush x:Key="FlashBrush" Color="#afd9fa" />
  311.     <SolidColorBrush
  312.         x:Key="OverlayInactiveBrowserBrush"
  313.         Opacity=".25"
  314.         Color="#000000" />
  315.     <!--  For panel overlay whey dual-panel is being collapsed  -->
  316.    <SolidColorBrush
  317.         x:Key="OverlayCollapsingBrowserBrush"
  318.         Opacity=".84"
  319.         Color="#32302F" />
  320.    
  321.  
  322.     <SolidColorBrush x:Key="ResizerBrush" Color="#32302F" />
  323.    <SolidColorBrush x:Key="ResizerHoverBrush" Color="#333333" />
  324.     <Style TargetType="{x:Type Border}" x:Key="ResizerBorderBase">
  325.        <Setter Property="BorderBrush" Value="{DynamicResource ResizerBrush}"/>
  326.        <Setter Property="Background" Value="Transparent" />
  327.        <Setter Property="MinWidth" Value="6" />
  328.        <Setter Property="MinHeight" Value="6" />
  329.        <Style.Triggers>
  330.            <Trigger Property="IsMouseOver" Value="True">
  331.                <Setter Property="BorderBrush" Value="{DynamicResource ResizerHoverBrush}"/>
  332.            </Trigger>
  333.        </Style.Triggers>
  334.    </Style>
  335.     <Style x:Key="BrowserDividerVerticalBorder" TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  336.        <!--<Setter Property="BorderBrush" Value="#04AAAC" />-->
  337.        <Setter Property="BorderThickness" Value="1,0,1,0" />
  338.        <Setter Property="Margin" Value="0,34,0,0"/>        <!--34 from TabsContainer height -->
  339.    </Style>
  340.    <Style x:Key="BrowserDividerHorizontalBorder" TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  341.        <!--<Setter Property="BorderBrush" Value="#04AAAC" />-->
  342.        <Setter Property="BorderThickness" Value="0,1,0,0" />
  343.    </Style>
  344.    <Style x:Key="SidebarResizerBorder" TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  345.        <!--<Setter Property="BorderBrush" Value="#04AAAC" />-->
  346.        <Setter Property="BorderThickness" Value="0,0,8,0" />
  347.        <Setter Property="Margin" Value="0,34,0,0"/>
  348.        <!--34 was taken from TabsContainerBorder Height so it doen't go to the top of the window-->
  349.    </Style>
  350.    <Style x:Key="NavigationPanelResizerBorder" TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  351.        <!--<Setter Property="BorderBrush" Value="#04AAAC" />-->
  352.        <Setter Property="BorderThickness" Value="0,1,0,0" />
  353.    </Style>
  354.    <Style x:Key="PreviewResizerHorizontalBorder"  TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  355.        <Setter Property="BorderThickness" Value="0,1,0,0" />
  356.        <Setter Property="Margin" Value="0,0,0,0" />
  357.    </Style>
  358.    <Style x:Key="PreviewResizerVerticalBorder"  TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  359.        <Setter Property="BorderThickness" Value="1,0,0,0" />
  360.        <Setter Property="Margin" Value="0,-2,0,0" />
  361.    </Style>
  362.    <Style x:Key="FileDetailsResizerHorizontalBorder"  TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  363.        <!--<Setter Property="BorderBrush" Value="Transparent" />-->
  364.        <Setter Property="BorderThickness" Value="0,1,0,0" />
  365.        <Setter Property="Height" Value="8"/>
  366.    </Style>
  367.    <Style x:Key="FileDetailsResizerVerticalBorder"  TargetType="{x:Type Border}"  BasedOn="{StaticResource ResizerBorderBase}">
  368.        <Setter Property="BorderThickness" Value="1,0,0,0" />
  369.        <Setter Property="Width" Value="8"/>
  370.    </Style>
  371.  
  372.  
  373.     <s:Boolean x:Key="UseCustomUIElements">True</s:Boolean>
  374.    <CornerRadius x:Key="UICornerRadius">3</CornerRadius>
  375.    <!--  for some buttons for now  -->
  376.     <SolidColorBrush x:Key="TooltipBackgroundBrush" Color="#575558" />
  377.     <!--  Line indicating Files Panel has been scrolled; may be renamed/removed in the future  -->
  378.    <SolidColorBrush x:Key="BrushDimGraphics" Color="#777777" />
  379.     <!--  For Sort-Arrows for now  -->
  380.    <SolidColorBrush x:Key="ToggleOnBrush" Color="#EBDBB2" />
  381.    <SolidColorBrush x:Key="ToggleOffBrush" Color="#777777" />
  382.  
  383.     <SolidColorBrush x:Key="CaretBrush" Color="#000000" />
  384.  
  385.  
  386.     <!--  not used yet  -->
  387.    <!--<SolidColorBrush x:Key="ButtonForegroundBrush" Color="#000000" />
  388.                <SolidColorBrush x:Key="ButtonForegroundPointerOver" Color="#0083b4" />
  389.                <SolidColorBrush x:Key="ButtonForegroundDisabled" Color="#777777" />-->
  390.    <!--<Setter Property="OverridesDefaultStyle" Value="True" />-->
  391.    <!-- can be also BasedOn="{StaticResource {x:Type Button}}" or BasedOn="{StaticResource ButtonRevealStyle}"-->
  392.     <!--<Style  TargetType="{x:Type Button}" BasedOn="{StaticResource ModernButton}">
  393.        --><!--BasedOn="{StaticResource ButtonRevealStyle}"--><!--
  394.         <Setter Property="Padding" Value="{DynamicResource ButtonPadding}" />
  395.        <Setter Property="Height" Value="{DynamicResource ButtonMinSize}" />
  396.        <Setter Property="MinWidth" Value="{DynamicResource ButtonMinSize}" />
  397.  
  398.     </Style>-->
  399.    <!--MUST NEVER be Transparent, or it may fail to restore from minimized state (Gotcha); it is even saved to remove BasedOn="{StaticResource ButtonRevealStyle}" part -->
  400.  
  401.     <SolidColorBrush x:Key="ButtonBackgroundBrush" Color="#32302F" />
  402.    <SolidColorBrush x:Key="ButtonBackgroundPointerOverBrush" Color="#403D3B" />
  403.    <SolidColorBrush x:Key="ButtonBackgroundPressedBrush" Color="#7c7c7c" />
  404.    <SolidColorBrush x:Key="ButtonBackgroundDisabledBrush" Color="#333333" />
  405.     <SolidColorBrush x:Key="ButtonForegroundBrush" Color="#EBDBB2" />
  406.    <SolidColorBrush x:Key="ButtonForegroundPointerOverBrush" Color="#EBDBB2" />
  407.    <SolidColorBrush x:Key="ButtonForegroundPressedBrush" Color="#EBDBB2" />
  408.    <SolidColorBrush x:Key="ButtonForegroundDisabledBrush" Color="#bbbbbb" />
  409.     <SolidColorBrush x:Key="ButtonBorderBrush" Color="Transparent" />
  410.    <SolidColorBrush x:Key="ButtonBorderPointerOverBrush" Color="Transparent" />
  411.    <SolidColorBrush x:Key="ButtonBorderPressedBrush" Color="Transparent" />
  412.    <SolidColorBrush x:Key="ButtonBorderDisabledBrush" Color="Transparent" />
  413.     <Thickness x:Key="ButtonBorderThickness">0</Thickness>
  414.    <Thickness x:Key="ButtonPadding">4,0,4,0</Thickness>
  415.    <s:Double x:Key="ButtonMinSize">28</s:Double>
  416.     <Style x:Key="ScrollIndicatorLine" TargetType="{x:Type Line}">
  417.        <Setter Property="HorizontalAlignment" Value="Stretch" />
  418.        <Setter Property="SnapsToDevicePixels" Value="True" />
  419.        <Setter Property="Stretch" Value="Fill" />
  420.        <Setter Property="StrokeThickness" Value="8" />
  421.        <Setter Property="X2" Value="1" />
  422.        <Setter Property="OpacityMask">
  423.            <Setter.Value>
  424.                <LinearGradientBrush MappingMode="RelativeToBoundingBox" StartPoint="0,0" EndPoint="1,0">
  425.                    <GradientStop Offset="0" Color="#00000000" />
  426.                    <GradientStop Offset="0.2" Color="#EBDBB2ff" />
  427.                    <GradientStop Offset="0.8" Color="#EBDBB2ff" />
  428.                    <GradientStop Offset="1" Color="#00000000" />
  429.                </LinearGradientBrush>
  430.            </Setter.Value>
  431.        </Setter>
  432.    </Style>
  433.     <LinearGradientBrush x:Key="ScrollIndicatorTopBrush" StartPoint="0,0" EndPoint="0,1">
  434.        <GradientStop Offset="0" Color="#458588" />
  435.        <GradientStop Offset="1" Color="#00000000" />
  436.    </LinearGradientBrush>
  437.    <LinearGradientBrush x:Key="ScrollIndicatorBottomBrush" StartPoint="0,0" EndPoint="0,1">
  438.        <GradientStop Offset="1" Color="#458588" />
  439.        <GradientStop Offset="0" Color="#00000000" />
  440.    </LinearGradientBrush>
  441.     <SolidColorBrush x:Key="TagRedBrush" Color="#FB4934" />
  442.    <SolidColorBrush x:Key="TagOrangeBrush" Color="#FB9B34" />
  443.    <SolidColorBrush x:Key="TagYellowBrush" Color="#FABD2F" />
  444.    <SolidColorBrush x:Key="TagGreenBrush" Color="#8EC07C" />
  445.    <SolidColorBrush x:Key="TagBlueBrush" Color="#83A598" />
  446.    <SolidColorBrush x:Key="TagPurpleBrush" Color="#D3869B" />
  447.    <SolidColorBrush x:Key="TagGrayBrush" Color="#A89984" />
  448.  
  449. </ResourceDictionary>  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement