11.stylix/modules/blender/font-theme.nix
Flameopathic 4bc15ef13c
blender: use mkTarget (#1509)
Link: https://github.com/nix-community/stylix/pull/1509

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: Louis Dalibard <louis.dalibard@gmail.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-01 16:13:57 +02:00

40 lines
1 KiB
Nix

{ fonts }:
{
stylix.targets.blender.themeBody = ''
<ThemeStyle>
<panel_title>
<ThemeFontStyle
points="${toString fonts.sizes.desktop}"
character_weight="400"
shadow="1"
shadow_offset_x="0"
shadow_offset_y="-1"
shadow_alpha="0.15"
shadow_value="1"
></ThemeFontStyle>
</panel_title>
<widget_label>
<ThemeFontStyle
points="${toString fonts.sizes.popups}"
character_weight="400"
shadow="3"
shadow_offset_x="0"
shadow_offset_y="-1"
shadow_alpha="0.15"
shadow_value="1"
></ThemeFontStyle>
</widget_label>
<widget>
<ThemeFontStyle
points="${toString fonts.sizes.popups}"
character_weight="400"
shadow="0"
shadow_offset_x="0"
shadow_offset_y="0"
shadow_alpha="0.25"
shadow_value="0"
></ThemeFontStyle>
</widget>
</ThemeStyle>
'';
}