Skip to content

Commit

Permalink
Merge pull request #1 from 1-minute-to-midnight/crayolabluetheme
Browse files Browse the repository at this point in the history
Crayolabluetheme
  • Loading branch information
1-minute-to-midnight authored Sep 1, 2022
2 parents 30b86e5 + a2084b4 commit ee7d22b
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ object PreferenceValues {
TIDAL_WAVE(R.string.theme_tidalwave),
YINYANG(R.string.theme_yinyang),
YOTSUBA(R.string.theme_yotsuba),
CRAYOLA_BLUE(R.string.theme_crayolablue),

// Deprecated
DARK_BLUE(null),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ interface ThemingDelegate {
PreferenceValues.AppTheme.TIDAL_WAVE -> {
resIds += R.style.Theme_Tachiyomi_TidalWave
}
PreferenceValues.AppTheme.CRAYOLA_BLUE -> {
resIds += R.style.Theme_Tachiyomi_CrayolaBlue
}
else -> {
resIds += R.style.Theme_Tachiyomi
}
Expand Down
36 changes: 36 additions & 0 deletions app/src/main/res/values-night/colors_crayolablue.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Colors for Crayola Blue theme
~ Original color scheme by 1-minute-to-midnight
~
~ Key colors:
~ Primary #3080ff
~ Secondary #3080ff
~ Tertiary #7A5733
~ Neutral #16151D
-->
<resources>
<color name="crayolablue_primary">#3080ff</color>
<color name="crayolablue_onPrimary">#FFFFFF</color>
<color name="crayolablue_primaryContainer">#185bc7</color>
<color name="crayolablue_onPrimaryContainer">#FFFFFF</color>
<color name="crayolablue_secondary">#3080ff</color>
<color name="crayolablue_onSecondary">#FFFFFF</color>
<color name="crayolablue_secondaryContainer">#3080ff</color>
<color name="crayolablue_onSecondaryContainer">#FFFFFF</color>
<color name="crayolablue_tertiary">#55971C</color>
<color name="crayolablue_onTertiary">#FFFFFF</color>
<color name="crayolablue_tertiaryContainer">#386412</color>
<color name="crayolablue_onTertiaryContainer">#E5E1E5</color>
<color name="crayolablue_background">#16151D</color>
<color name="crayolablue_onBackground">#E5E1E5</color>
<color name="crayolablue_surface">#16151D</color>
<color name="crayolablue_onSurface">#E5E1E5</color>
<color name="crayolablue_surfaceVariant">#434352</color>
<color name="crayolablue_onSurfaceVariant">#c2c1d6</color>
<color name="crayolablue_outline">#8c8d9f</color>
<color name="crayolablue_inverseSurface">#333043</color>
<color name="crayolablue_inverseOnSurface">#FFFFFF</color>
<color name="crayolablue_primaryInverse">#3080ff</color>
<color name="crayolablue_elevationOverlay">#000C2C</color>
</resources>
36 changes: 36 additions & 0 deletions app/src/main/res/values/colors_crayolablue.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Colors for Crayola Blue theme
~ Original color scheme by 1-minute-to-midnight
~
~ Key colors:
~ Primary #3080ff
~ Secondary #3080ff
~ Tertiary #7A5733
~ Neutral #16151D
-->
<resources>
<color name="crayolablue_primary">#005abb</color>
<color name="crayolablue_onPrimary">#FFFFFF</color>
<color name="crayolablue_primaryContainer">#d9e3ff</color>
<color name="crayolablue_onPrimaryContainer">#000d3f</color>
<color name="crayolablue_secondary">#005abb</color>
<color name="crayolablue_onSecondary">#FFFFFF</color>
<color name="crayolablue_secondaryContainer">#d9e3ff</color>
<color name="crayolablue_onSecondaryContainer">#000d3f</color>
<color name="crayolablue_tertiary">#006638</color>
<color name="crayolablue_onTertiary">#FFFFFF</color>
<color name="crayolablue_tertiaryContainer">#00894b</color>
<color name="crayolablue_onTertiaryContainer">#001d2d</color>
<color name="crayolablue_background">#FFFBFF</color>
<color name="crayolablue_onBackground">#1C1B1F</color>
<color name="crayolablue_surface">#FFFBFF</color>
<color name="crayolablue_onSurface">#1C1B1F</color>
<color name="crayolablue_surfaceVariant">#dde2f3</color>
<color name="crayolablue_onSurfaceVariant">#464352</color>
<color name="crayolablue_outline">#767384</color>
<color name="crayolablue_inverseOnSurface">#F4F0F4</color>
<color name="crayolablue_inverseSurface">#313033</color>
<color name="crayolablue_primaryInverse">#b1bdff</color>
<color name="crayolablue_elevationOverlay">#005abb</color>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
<string name="theme_yinyang">Yin &amp; Yang</string>
<string name="theme_yotsuba">Yotsuba</string>
<string name="theme_tidalwave">Tidal Wave</string>
<string name="theme_crayolablue">Crayola Blue</string>
<string name="pref_dark_theme_pure_black">Pure black dark mode</string>
<string name="pref_category_navigation">Navigation</string>
<string name="pref_side_nav_icon_alignment">Side navigation icon alignment</string>
Expand Down
27 changes: 27 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,33 @@
<item name="colorPrimaryInverse">@color/tidalwave_primaryInverse</item>
</style>

<!--== Crayola Blue Theme ==-->
<style name="Theme.Tachiyomi.CrayolaBlue">
<!-- Theme Colors -->
<item name="colorPrimary">@color/crayolablue_primary</item>
<item name="colorOnPrimary">@color/crayolablue_onPrimary</item>
<item name="colorPrimaryContainer">@color/crayolablue_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/crayolablue_onPrimaryContainer</item>
<item name="colorSecondary">@color/crayolablue_secondary</item>
<item name="colorOnSecondary">@color/crayolablue_onSecondary</item>
<item name="colorSecondaryContainer">@color/crayolablue_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/crayolablue_onSecondaryContainer</item>
<item name="colorTertiary">@color/crayolablue_tertiary</item>
<item name="colorOnTertiary">@color/crayolablue_onTertiary</item>
<item name="colorTertiaryContainer">@color/crayolablue_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/crayolablue_onTertiaryContainer</item>
<item name="android:colorBackground">@color/crayolablue_background</item>
<item name="colorOnBackground">@color/crayolablue_onBackground</item>
<item name="colorSurface">@color/crayolablue_surface</item>
<item name="colorOnSurface">@color/crayolablue_onSurface</item>
<item name="colorSurfaceVariant">@color/crayolablue_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/crayolablue_onSurfaceVariant</item>
<item name="colorOutline">@color/crayolablue_outline</item>
<item name="colorOnSurfaceInverse">@color/crayolablue_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/crayolablue_inverseSurface</item>
<item name="colorPrimaryInverse">@color/crayolablue_primaryInverse</item>
</style>

<!--== AMOLED Mode Overlay ==-->
<style name="ThemeOverlay.Tachiyomi.Amoled" parent="" />

Expand Down

0 comments on commit ee7d22b

Please sign in to comment.