1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-26 13:13:28 +00:00

remove css styling

This commit is contained in:
Kyle Spearrin
2019-04-26 22:42:05 -04:00
parent 9b2ce98b46
commit e9d54d9cf5
11 changed files with 0 additions and 4678 deletions

View File

@@ -84,8 +84,4 @@
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="npm run sass" />
</Target>
</Project>

View File

@@ -29,7 +29,6 @@ namespace Bit.App
InitializeComponent();
SetCulture();
// ThemeManager.SetTheme("light");
ThemeManager.SetThemeStyle("light");
MainPage = new HomePage();
var mainPageTask = SetMainPageAsync();

View File

@@ -1,3 +0,0 @@
__Label, __Entry, __Editor {
font-size: 16;
}

View File

@@ -1,3 +0,0 @@
__contentpage {
background-color: gray;
}

View File

@@ -1,3 +0,0 @@
__Label, __Entry, __Editor {
font-size: 14;
}

View File

@@ -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;
}

View File

@@ -1 +0,0 @@
$white: #FFFFFF;

View File

@@ -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