<ResourceDictionary
    x:ClassModifier="internal"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ControlTheme TargetType="ToolTip" x:Key="{x:Type ToolTip}">
        <Setter Property="Background" Value="{DynamicResource SecondaryBackgroundColor}" />
        <Setter Property="BorderBrush" Value="{DynamicResource MainBorderColor}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="FontSize" Value="12" />
        <Setter Property="FontFamily" Value="/Assets/Fonts/Roboto-Regular.ttf#Roboto" />
        <Setter Property="Foreground" Value="{StaticResource MainTextColor}" />
        <Setter Property="Template">
            <ControlTemplate>
                <ContentPresenter
                    Background="{DynamicResource ContextMenuBackgroundColor}"
                    BorderBrush="{DynamicResource MainBorderColor}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Content="{TemplateBinding Content}"
                    ContentTemplate="{TemplateBinding ContentTemplate}"
                    CornerRadius="5"
                    Foreground="{DynamicResource ContextMenuTextColor}"
                    IsHitTestVisible="False"
                    Name="PART_ContentPresenter"
                    Padding="8" />
            </ControlTemplate>
        </Setter>
    </ControlTheme>
</ResourceDictionary>