Add Insomnia theme (#303)

* Update ThemeHelper.java

* Update styles.xml

* Update styles.xml
multisite^2
Eric Rösch 8 years ago committed by Florens
parent e9121bbc83
commit 2ab3309574
  1. 1
      Clover/app/src/main/java/org/floens/chan/ui/theme/ThemeHelper.java
  2. 38
      Clover/app/src/main/res/values/styles.xml

@ -56,6 +56,7 @@ public class ThemeHelper {
themes.add(new Theme("Yotsuba", "yotsuba", R.style.Chan_Theme_Yotsuba, PrimaryColor.RED));
themes.add(new Theme("Yotsuba B", "yotsuba_b", R.style.Chan_Theme_YotsubaB, PrimaryColor.RED));
themes.add(new Theme("Photon", "photon", R.style.Chan_Theme_Photon, PrimaryColor.ORANGE));
themes.add(new DarkTheme("Insomnia", "insomnia", R.style.Chan_Theme_Insomnia, PrimaryColor.DARK));
ChanSettings.ThemeColor settingTheme = ChanSettings.getThemeAndColor();
for (Theme theme : themes) {

@ -162,6 +162,44 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</style>
<style name="Chan.Theme.Insomnia" parent="Chan.Theme.Dark">
<item name="colorAccent">#ff5f89ac</item>
<item name="backcolor">#ff222222</item>
<item name="backcolor_secondary">#ff242424</item>
<item name="android:textColor">#ff9e9e9e</item>
<item name="text_color_primary">#ff9e9e9e</item>
<item name="text_color_secondary">#ff9e9e9e</item>
<item name="text_color_hint">#ff9e9e9e</item>
<item name="text_color_reveal_spoiler">#ff9e9e9e</item>
<item name="post_name_color">#ff566e78</item>
<item name="post_subject_color">#ff567861</item>
<item name="post_details_color">#ff444444</item>
<item name="post_quote_color">#ff7e949e</item>
<item name="post_highlight_quote_color">#ff81a2be</item>
<item name="post_inline_quote_color">#ffa4a987</item>
<item name="post_link_color">#ff81a2be</item>
<item name="post_spoiler_color">#ff242424</item>
<item name="post_capcode_color">#ff9e9e9e</item>
<item name="post_last_seen_color">#ff9e9e9e</item>
<item name="post_id_background_light">#00000000</item>
<item name="post_id_background_dark">#00000000</item>
<item name="post_saved_reply_color">#ff1a1a1a</item>
<item name="post_highlighted_color">#ff1a1a1a</item>
<item name="post_selected_color">#ff1a1a1a</item>
<item name="divider_color">#ff222222</item>
<item name="divider_split_color">#ff222222</item>
<item name="dropdown_light_color">#ffffffff</item>
<item name="dropdown_light_pressed_color">#ffffffff</item>
<item name="dropdown_dark_color">#ffffffff</item>
<item name="dropdown_dark_pressed_color">#ffffffff</item>
</style>
<!-- For FloatingMenu -->
<style name="ToolbarDropDownListViewStyle" parent="Widget.AppCompat.ListView.DropDown">
<item name="android:background">#ffffffff</item>

Loading…
Cancel
Save