diff options
author | Andrew Dolgov <[email protected]> | 2012-12-31 03:14:01 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-31 03:14:01 +0400 |
commit | adee6d3493a52a303d3c124768d73b5fa52fb68e (patch) | |
tree | a210671fe9b2aea0400c05612bfbec46c113b118 /res/values | |
parent | 6e407cb5b1a882aafa4b8d62eeeb644513abcc4a (diff) |
add sepia theme
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/arrays.xml | 2 | ||||
-rw-r--r-- | res/values/attrs.xml | 1 | ||||
-rw-r--r-- | res/values/resources.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 1 | ||||
-rw-r--r-- | res/values/style.xml | 17 |
5 files changed, 24 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 4a2ac390..0ee7ef8d 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -2,10 +2,12 @@ <string-array name="pref_theme_names"> <item>@string/theme_dark</item> <item>@string/theme_light</item> + <item>@string/theme_sepia</item> </string-array> <string-array name="pref_theme_values"> <item>THEME_DARK</item> <item>THEME_LIGHT</item> + <item>THEME_SEPIA</item> </string-array> <string-array name="pref_font_size_names"> <item>@string/font_size_small</item> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 78ff45b4..29eff356 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -2,6 +2,7 @@ <resources>
<attr name="horizontalDivider" format="reference|color" />
<attr name="feedlistBackground" format="reference|color" />
+ <attr name="smallScreenBackground" format="reference|color" />
<attr name="unreadCounterColor" format="reference|color" />
<attr name="headlinesBackground" format="reference|color" />
<attr name="headlinesBackgroundSolid" format="reference|color" />
diff --git a/res/values/resources.xml b/res/values/resources.xml index 9016d532..f3c3cda3 100644 --- a/res/values/resources.xml +++ b/res/values/resources.xml @@ -3,7 +3,10 @@ <color name="feeds_light">#e0e0e0</color>
<color name="headlines_light">#ffffff</color>
+ <color name="headlines_sepia">#EAE2DC</color>
+ <color name="feeds_sepia">#D3C6BA</color>
<color name="headline_row_selected_light">#33b5e5</color>
+ <color name="headline_row_selected_sepia">#E5B0A0</color>
<color name="ics_cyan">#33b5e5</color>
</resources>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 93f97cc1..6b4d0e48 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -151,4 +151,5 @@ <string name="trial_purchase">Unlock full version</string> <string name="trial_expired">Trial expired</string> <string name="trial_expired_message">To continue using Tiny Tiny RSS please unlock the full version by purchasing the key.</string> + <string name="theme_sepia">Sepia</string> </resources>
\ No newline at end of file diff --git a/res/values/style.xml b/res/values/style.xml index 2ac03da2..09963fc4 100644 --- a/res/values/style.xml +++ b/res/values/style.xml @@ -1,6 +1,7 @@ <resources>
<style name="LightTheme" parent="android:Theme.Light">
+ <item name="smallScreenBackground">@android:color/white</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_bright</item>
<item name="feedlistBackground">#fafafa</item>
<item name="unreadCounterColor">#0000ff</item>
@@ -23,8 +24,24 @@ <item name="linkColor">#5858F8</item>
<item name="loadingBackground">@android:color/white</item>
</style>
+
+ <style name="SepiaTheme" parent="LightTheme">
+ <item name="smallScreenBackground">@color/headlines_sepia</item>
+ <item name="feedlistBackground">@drawable/shadow_feeds_sepia</item>
+ <item name="headlinesBackground">@color/headlines_sepia</item>
+ <item name="headlinesBackgroundSolid">@color/headlines_sepia</item>
+ <item name="headlineSelectedBackground">@color/headline_row_selected_sepia</item>
+ <item name="headlineSelectedBackgroundSolid">@color/headlines_sepia</item>
+ <item name="feedsSelectedBackground">@color/headline_row_selected_sepia</item>
+ <item name="feedsSelectedBackgroundSolid">@color/headline_row_selected_sepia</item>
+ <item name="articleBackground">@color/headlines_sepia</item>
+ <item name="unreadCounterColor">#C46262</item>
+ <item name="feedlistTextColor">#35281C</item>
+ <item name="linkColor">#C46262</item>
+ </style>
<style name="DarkTheme" parent="android:Theme.Black">
+ <item name="smallScreenBackground">@android:color/black</item>
<item name="horizontalDivider">@android:drawable/divider_horizontal_dark</item>
<item name="feedlistBackground">#101010</item>
<item name="unreadCounterColor">#303030</item>
|