mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
add empty dracula theme
This commit is contained in:
parent
32e36c73a9
commit
bd8dfa5b92
@ -48,6 +48,7 @@ object ThemeHelper {
|
||||
"green" -> R.style.Theme_Green
|
||||
"purple" -> R.style.Theme_Purple
|
||||
"monochrome" -> R.style.Theme_Monochrome
|
||||
"dracula" -> R.style.Theme_Dracula
|
||||
else -> R.style.Theme_Purple
|
||||
}
|
||||
activity.setTheme(theme)
|
||||
|
@ -212,6 +212,39 @@
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.Dracula" parent="BaseTheme">
|
||||
|
||||
<item name="colorPrimary">@color/dracula_theme_dark_primary</item>
|
||||
<item name="colorOnPrimary">@color/dracula_theme_dark_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/dracula_theme_dark_primaryContainer</item>
|
||||
<item name="colorOnPrimaryContainer">@color/dracula_theme_dark_onPrimaryContainer</item>
|
||||
<item name="colorSecondary">@color/dracula_theme_dark_secondary</item>
|
||||
<item name="colorOnSecondary">@color/dracula_theme_dark_onSecondary</item>
|
||||
<item name="colorSecondaryContainer">@color/dracula_theme_dark_secondaryContainer</item>
|
||||
<item name="colorOnSecondaryContainer">@color/dracula_theme_dark_onSecondaryContainer
|
||||
</item>
|
||||
<item name="colorTertiary">@color/dracula_theme_dark_tertiary</item>
|
||||
<item name="colorOnTertiary">@color/dracula_theme_dark_onTertiary</item>
|
||||
<item name="colorTertiaryContainer">@color/dracula_theme_dark_tertiaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">@color/dracula_theme_dark_onTertiaryContainer
|
||||
</item>
|
||||
<item name="colorError">@color/dracula_theme_dark_error</item>
|
||||
<item name="colorErrorContainer">@color/dracula_theme_dark_errorContainer</item>
|
||||
<item name="colorOnError">@color/dracula_theme_dark_onError</item>
|
||||
<item name="colorOnErrorContainer">@color/dracula_theme_dark_onErrorContainer</item>
|
||||
<item name="android:colorBackground">@color/dracula_theme_dark_background</item>
|
||||
<item name="colorOnBackground">@color/dracula_theme_dark_onBackground</item>
|
||||
<item name="colorSurface">@color/dracula_theme_dark_surface</item>
|
||||
<item name="colorOnSurface">@color/dracula_theme_dark_onSurface</item>
|
||||
<item name="colorSurfaceVariant">@color/dracula_theme_dark_surfaceVariant</item>
|
||||
<item name="colorOnSurfaceVariant">@color/dracula_theme_dark_onSurfaceVariant</item>
|
||||
<item name="colorOutline">@color/dracula_theme_dark_outline</item>
|
||||
<item name="colorOnSurfaceInverse">@color/dracula_theme_dark_inverseOnSurface</item>
|
||||
<item name="colorSurfaceInverse">@color/dracula_theme_dark_inverseSurface</item>
|
||||
<item name="colorPrimaryInverse">@color/dracula_theme_dark_inversePrimary</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Pure">
|
||||
|
||||
<item name="android:colorBackground">@android:color/black</item>
|
||||
|
@ -177,6 +177,7 @@
|
||||
<item>@string/color_green</item>
|
||||
<item>@string/color_purple</item>
|
||||
<item>@string/theme_monochrome</item>
|
||||
<item>Dracula</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="accentsValue">
|
||||
@ -187,6 +188,7 @@
|
||||
<item>green</item>
|
||||
<item>purple</item>
|
||||
<item>monochrome</item>
|
||||
<item>dracula</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="defres">
|
||||
|
@ -297,6 +297,7 @@
|
||||
<color name="purple_md_theme_dark_shadow">#000000</color>
|
||||
<color name="purple_md_theme_dark_surfaceTint">#FFACE7</color>
|
||||
<color name="purple_md_theme_dark_surfaceTintColor">#FFACE7</color>
|
||||
|
||||
// Colors without comments seem to be not used
|
||||
<color name="monochrome_theme_light_primary">#616161</color> // LibreTube Logo, Hyperlinks and on-off switch (on status: filling) (also influence on the navbar colour)
|
||||
<color name="monochrome_theme_light_onPrimary">#FFFFFF</color> // on-off switch (on status: circle)
|
||||
@ -357,4 +358,63 @@
|
||||
<color name="monochrome_theme_dark_surfaceTint">#C3C3C3</color>
|
||||
<color name="monochrome_theme_dark_surfaceTintColor">#C3C3C3</color>
|
||||
|
||||
<color name="dracula_theme_light_primary">#9B3489</color>
|
||||
<color name="dracula_theme_light_onPrimary">#FFFFFF</color>
|
||||
<color name="dracula_theme_light_primaryContainer">#FFD7F0</color>
|
||||
<color name="dracula_theme_light_onPrimaryContainer">#3A0032</color>
|
||||
<color name="dracula_theme_light_secondary">#6F5767</color>
|
||||
<color name="dracula_theme_light_onSecondary">#FFFFFF</color>
|
||||
<color name="dracula_theme_light_secondaryContainer">#F9DAEC</color>
|
||||
<color name="dracula_theme_light_onSecondaryContainer">#281623</color>
|
||||
<color name="dracula_theme_light_tertiary">#815341</color>
|
||||
<color name="dracula_theme_light_onTertiary">#FFFFFF</color>
|
||||
<color name="dracula_theme_light_tertiaryContainer">#FFDBCE</color>
|
||||
<color name="dracula_theme_light_onTertiaryContainer">#321205</color>
|
||||
<color name="dracula_theme_light_error">#BA1A1A</color>
|
||||
<color name="dracula_theme_light_errorContainer">#FFDAD6</color>
|
||||
<color name="dracula_theme_light_onError">#FFFFFF</color>
|
||||
<color name="dracula_theme_light_onErrorContainer">#410002</color>
|
||||
<color name="dracula_theme_light_background">#FFFBFF</color>
|
||||
<color name="dracula_theme_light_onBackground">#1F1A1D</color>
|
||||
<color name="dracula_theme_light_surface">#FFFBFF</color>
|
||||
<color name="dracula_theme_light_onSurface">#1F1A1D</color>
|
||||
<color name="dracula_theme_light_surfaceVariant">#EFDEE6</color>
|
||||
<color name="dracula_theme_light_onSurfaceVariant">#4F444A</color>
|
||||
<color name="dracula_theme_light_outline">#81737B</color>
|
||||
<color name="dracula_theme_light_inverseOnSurface">#F8EEF1</color>
|
||||
<color name="dracula_theme_light_inverseSurface">#342F32</color>
|
||||
<color name="dracula_theme_light_inversePrimary">#FFACE7</color>
|
||||
<color name="dracula_theme_light_shadow">#000000</color>
|
||||
<color name="dracula_theme_light_surfaceTint">#9B3489</color>
|
||||
<color name="dracula_theme_light_surfaceTintColor">#9B3489</color>
|
||||
<color name="dracula_theme_dark_primary">#FFACE7</color>
|
||||
<color name="dracula_theme_dark_onPrimary">#5E0052</color>
|
||||
<color name="dracula_theme_dark_primaryContainer">#7E186F</color>
|
||||
<color name="dracula_theme_dark_onPrimaryContainer">#FFD7F0</color>
|
||||
<color name="dracula_theme_dark_secondary">#DCBED0</color>
|
||||
<color name="dracula_theme_dark_onSecondary">#3E2A38</color>
|
||||
<color name="dracula_theme_dark_secondaryContainer">#56404F</color>
|
||||
<color name="dracula_theme_dark_onSecondaryContainer">#F9DAEC</color>
|
||||
<color name="dracula_theme_dark_tertiary">#F5B9A2</color>
|
||||
<color name="dracula_theme_dark_onTertiary">#4B2617</color>
|
||||
<color name="dracula_theme_dark_tertiaryContainer">#663C2B</color>
|
||||
<color name="dracula_theme_dark_onTertiaryContainer">#FFDBCE</color>
|
||||
<color name="dracula_theme_dark_error">#FFB4AB</color>
|
||||
<color name="dracula_theme_dark_errorContainer">#93000A</color>
|
||||
<color name="dracula_theme_dark_onError">#690005</color>
|
||||
<color name="dracula_theme_dark_onErrorContainer">#FFDAD6</color>
|
||||
<color name="dracula_theme_dark_background">#1F1A1D</color>
|
||||
<color name="dracula_theme_dark_onBackground">#EAE0E3</color>
|
||||
<color name="dracula_theme_dark_surface">#1F1A1D</color>
|
||||
<color name="dracula_theme_dark_onSurface">#EAE0E3</color>
|
||||
<color name="dracula_theme_dark_surfaceVariant">#4F444A</color>
|
||||
<color name="dracula_theme_dark_onSurfaceVariant">#D2C2CA</color>
|
||||
<color name="dracula_theme_dark_outline">#9B8D94</color>
|
||||
<color name="dracula_theme_dark_inverseOnSurface">#1F1A1D</color>
|
||||
<color name="dracula_theme_dark_inverseSurface">#EAE0E3</color>
|
||||
<color name="dracula_theme_dark_inversePrimary">#9B3489</color>
|
||||
<color name="dracula_theme_dark_shadow">#000000</color>
|
||||
<color name="dracula_theme_dark_surfaceTint">#FFACE7</color>
|
||||
<color name="dracula_theme_dark_surfaceTintColor">#FFACE7</color>
|
||||
|
||||
</resources>
|
@ -216,6 +216,39 @@
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.Dracula" parent="BaseTheme">
|
||||
|
||||
<item name="colorPrimary">@color/dracula_theme_light_primary</item>
|
||||
<item name="colorOnPrimary">@color/dracula_theme_light_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/dracula_theme_light_primaryContainer</item>
|
||||
<item name="colorOnPrimaryContainer">@color/dracula_theme_light_onPrimaryContainer</item>
|
||||
<item name="colorSecondary">@color/dracula_theme_light_secondary</item>
|
||||
<item name="colorOnSecondary">@color/dracula_theme_light_onSecondary</item>
|
||||
<item name="colorSecondaryContainer">@color/dracula_theme_light_secondaryContainer</item>
|
||||
<item name="colorOnSecondaryContainer">@color/dracula_theme_light_onSecondaryContainer
|
||||
</item>
|
||||
<item name="colorTertiary">@color/dracula_theme_light_tertiary</item>
|
||||
<item name="colorOnTertiary">@color/dracula_theme_light_onTertiary</item>
|
||||
<item name="colorTertiaryContainer">@color/dracula_theme_light_tertiaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">@color/dracula_theme_light_onTertiaryContainer
|
||||
</item>
|
||||
<item name="colorError">@color/dracula_theme_light_error</item>
|
||||
<item name="colorErrorContainer">@color/dracula_theme_light_errorContainer</item>
|
||||
<item name="colorOnError">@color/dracula_theme_light_onError</item>
|
||||
<item name="colorOnErrorContainer">@color/dracula_theme_light_onErrorContainer</item>
|
||||
<item name="android:colorBackground">@color/dracula_theme_light_background</item>
|
||||
<item name="colorOnBackground">@color/dracula_theme_light_onBackground</item>
|
||||
<item name="colorSurface">@color/dracula_theme_light_surface</item>
|
||||
<item name="colorOnSurface">@color/dracula_theme_light_onSurface</item>
|
||||
<item name="colorSurfaceVariant">@color/dracula_theme_light_surfaceVariant</item>
|
||||
<item name="colorOnSurfaceVariant">@color/dracula_theme_light_onSurfaceVariant</item>
|
||||
<item name="colorOutline">@color/dracula_theme_light_outline</item>
|
||||
<item name="colorOnSurfaceInverse">@color/dracula_theme_light_inverseOnSurface</item>
|
||||
<item name="colorSurfaceInverse">@color/dracula_theme_light_inverseSurface</item>
|
||||
<item name="colorPrimaryInverse">@color/dracula_theme_light_inversePrimary</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Pure">
|
||||
|
||||
<item name="android:colorBackground">@android:color/white</item>
|
||||
|
Loading…
Reference in New Issue
Block a user