1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 09:13:15 +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

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