Skip to content

Commit

Permalink
Use string for all theme props
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Feb 16, 2024
1 parent b724dd2 commit decc84e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Blazorise.FluentUI2/Models/FluentUI2DesignTokens.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ public class FluentUI2DesignTokens
public string FontFamilyNumeric { get; set; } = "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif";

[JsonPropertyName( "fontWeightRegular" )]
public int FontWeightRegular { get; set; } = 400;
public string FontWeightRegular { get; set; } = "400";

[JsonPropertyName( "fontWeightMedium" )]
public int FontWeightMedium { get; set; } = 500;
public string FontWeightMedium { get; set; } = "500";

[JsonPropertyName( "fontWeightSemibold" )]
public int FontWeightSemibold { get; set; } = 600;
public string FontWeightSemibold { get; set; } = "600";

[JsonPropertyName( "fontWeightBold" )]
public int FontWeightBold { get; set; } = 700;
public string FontWeightBold { get; set; } = "700";

[JsonPropertyName( "strokeWidthThin" )]
public string StrokeWidthThin { get; set; } = "1px";
Expand Down Expand Up @@ -1286,4 +1286,4 @@ public class FluentUI2DesignTokens

[JsonPropertyName( "shadow64Brand" )]
public string Shadow64Brand { get; set; } = "0 0 8px rgba(0,0,0,0.30), 0 32px 64px rgba(0,0,0,0.25)";
};
}

0 comments on commit decc84e

Please sign in to comment.