mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-15 14:49:42 +00:00
Fonts dans theme markdown
This commit is contained in:
parent
c802c030b0
commit
d8cf2d9166
1 changed files with 7 additions and 2 deletions
|
|
@ -9,9 +9,14 @@ namespace AideDeJeu.Tools
|
|||
{
|
||||
public MonsterMarkdownTheme()
|
||||
{
|
||||
//this.Paragraph.FontFamily = "LinLibertine_aS.ttf#Linux Libertine Capitals";
|
||||
var fd = FormatedTextHelpers.FontData.FromResource("content");
|
||||
//this.Paragraph.FontFamily = fd.FontFamily;
|
||||
this.Paragraph.FontSize = (float)fd.FontSize;
|
||||
this.Paragraph.Attributes = fd.FontAttributes;
|
||||
this.Paragraph.ForegroundColor = fd.TextColor;
|
||||
|
||||
this.BackgroundColor = DefaultBackgroundColor;
|
||||
this.Paragraph.ForegroundColor = DefaultTextColor;
|
||||
//this.Paragraph.ForegroundColor = DefaultTextColor;
|
||||
this.Heading1.ForegroundColor = DefaultTextColor;
|
||||
this.Heading1.BorderColor = DefaultSeparatorColor;
|
||||
this.Heading2.ForegroundColor = DefaultTextColor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue