mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 13:13:28 +00:00
remove css styling
This commit is contained in:
@@ -84,8 +84,4 @@
|
||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="npm run sass" />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -29,7 +29,6 @@ namespace Bit.App
|
||||
|
||||
InitializeComponent();
|
||||
SetCulture();
|
||||
// ThemeManager.SetTheme("light");
|
||||
ThemeManager.SetThemeStyle("light");
|
||||
MainPage = new HomePage();
|
||||
var mainPageTask = SetMainPageAsync();
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
__Label, __Entry, __Editor {
|
||||
font-size: 16;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
__contentpage {
|
||||
background-color: gray;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
__Label, __Entry, __Editor {
|
||||
font-size: 14;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
@import "variables.scss";
|
||||
|
||||
__ContentPage {
|
||||
// background-color: $white;
|
||||
}
|
||||
|
||||
StackLayout.list-cell {
|
||||
padding: 10;
|
||||
-xf-orientation: horizontal;
|
||||
}
|
||||
|
||||
StackLayout.list-cell > FaLabel {
|
||||
font-size: 22;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
$white: #FFFFFF;
|
||||
@@ -8,22 +8,6 @@ namespace Bit.App.Utilities
|
||||
{
|
||||
public static class ThemeManager
|
||||
{
|
||||
public static void SetTheme(string name)
|
||||
{
|
||||
var themeFormat = "Bit.App.Css.{0}.css";
|
||||
var assembly = IntrospectionExtensions.GetTypeInfo(typeof(App)).Assembly;
|
||||
// Other supported theme names can be added here.
|
||||
if(name == "dark")
|
||||
{
|
||||
Application.Current.Resources.Add(StyleSheet.FromAssemblyResource(assembly,
|
||||
string.Format(themeFormat, name)));
|
||||
}
|
||||
Application.Current.Resources.Add(StyleSheet.FromAssemblyResource(assembly,
|
||||
string.Format(themeFormat, Device.RuntimePlatform.ToLowerInvariant())));
|
||||
Application.Current.Resources.Add(StyleSheet.FromAssemblyResource(assembly,
|
||||
string.Format(themeFormat, "styles")));
|
||||
}
|
||||
|
||||
public static void SetThemeStyle(string name)
|
||||
{
|
||||
// Reset styles
|
||||
|
||||
Reference in New Issue
Block a user