Skip to content

Commit

Permalink
1.0.0-preview8-05
Browse files Browse the repository at this point in the history
  • Loading branch information
chanan committed Sep 3, 2019
1 parent 431f8ae commit 328aa33
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 1 deletion.
Binary file modified docs/_framework/_bin/BlazorStyled.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorStyled.pdb
Binary file not shown.
Binary file modified docs/_framework/_bin/ClientSideSample.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/ClientSideSample.pdb
Binary file not shown.
Binary file modified docs/_framework/_bin/Mono.Security.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/SampleCore.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/SampleCore.pdb
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Core.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Net.Http.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/mscorlib.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/BlazorStyled/BlazorStyled.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<LangVersion>8.0</LangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<PackageId>BlazorStyled</PackageId>
<Version>1.0.0-preview8-04</Version>
<Version>1.0.0-preview8-05</Version>
<Authors>Chanan Braunstein</Authors>
<Title>BlazorStyled</Title>
<Description>CSS in Blazor Components</Description>
Expand Down
4 changes: 4 additions & 0 deletions src/SampleCore/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
p {
color: {colors.text-color};
}
hr {
background-color: {colors.hr};
}
</Styled>

<Styled>
Expand Down Expand Up @@ -160,5 +163,6 @@
Styled.SetThemeValue("colors.text-color", "#994cc3");
Styled.SetThemeValue("colors.code-background", "rgba(117,63,131,0.07)");
Styled.SetThemeValue("colors.code-text", "#1B1D1D");
Styled.SetThemeValue("colors.hr", "hsla(0,0%,0%,0.2)");
}
}
2 changes: 2 additions & 0 deletions src/SampleCore/Shared/Toggle.razor
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
Styled.SetThemeValue("colors.text-color", "#82AAFF");
Styled.SetThemeValue("colors.code-background", "#263238");
Styled.SetThemeValue("colors.code-text", "#C792EA");
Styled.SetThemeValue("colors.hr", "#4e6699");
DefaultSettings.DefaultTheme = "https://raw.githubusercontent.com/chanan/BlazorPrettyCode/master/src/BlazorPrettyCode/wwwroot/WinterIsComingDark.json";
}
else
Expand All @@ -104,6 +105,7 @@
Styled.SetThemeValue("colors.text-color", "#994cc3");
Styled.SetThemeValue("colors.code-background", "rgba(117,63,131,0.07)");
Styled.SetThemeValue("colors.code-text", "#1B1D1D");
Styled.SetThemeValue("colors.hr", "hsla(0,0%,0%,0.2)");
DefaultSettings.DefaultTheme = "PrettyCodeDefault";
}
StateHasChanged();
Expand Down

0 comments on commit 328aa33

Please sign in to comment.