Commit 2ce0f00b authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

text view styles

parent 1fdd041b
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<item name="cornerSize">4dp</item> <item name="cornerSize">4dp</item>
</style> </style>
//region TextView
<style name="Base.Widget.AppCompat.TextView.AcromMediumTextView"> <style name="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:fontFamily">@font/acrom_medium</item> <item name="android:fontFamily">@font/acrom_medium</item>
...@@ -48,4 +49,117 @@ ...@@ -48,4 +49,117 @@
<item name="android:fontFamily">@font/acrom_regular</item> <item name="android:fontFamily">@font/acrom_regular</item>
</style> </style>
<style name=".Header_TextView" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/main_header</item>
</style>
<style name=".Main_Header" parent=".Header_TextView">
<item name="android:textColor">@color/colorHeaderText</item>
</style>
<style name=".Accent_Header" parent=".Header_TextView">
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name=".Inverted_Header" parent=".Header_TextView">
<item name="android:textColor">@color/colorCommonText</item>
</style>
<style name=".Flat_Input_TextView" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/super_size</item>
</style>
<style name=".Flat_Text" parent=".Flat_Input_TextView">
<item name="android:textColor">@color/colorHeaderText</item>
</style>
<style name=".Flat_Error" parent=".Flat_Input_TextView">
<item name="android:textColor">@color/colorError</item>
</style>
<style name=".Flat_Notice" parent=".Flat_Input_TextView">
<item name="android:textColor">@color/colorNoticeText</item>
</style>
<style name=".Currency_TextView" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/currency</item>
</style>
<style name=".Currency" parent=".Currency_TextView">
<item name="android:textColor">@color/colorHeaderText</item>
</style>
<style name=".Currency_Accent" parent=".Currency_TextView">
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name=".Default_TextView" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/accent_header</item>
</style>
<style name=".Accent_Text" parent=".Default_TextView">
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name=".Header_Text" parent=".Default_TextView">
<item name="android:textColor">@color/colorHeaderText</item>
</style>
<style name=".Inverted_Text" parent=".Default_TextView">
<item name="android:textColor">@color/colorInvertedText</item>
</style>
<style name=".Feed_Title" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/common_text</item>
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name=".Common_Text" parent="Base.Widget.AppCompat.TextView.AcromRegularTextView">
<item name="android:textSize">@dimen/common_text</item>
</style>
<style name=".Default" parent=".Common_Text">
<item name="android:textColor">@color/colorCommonText</item>
</style>
<style name=".Notice" parent=".Common_Text">
<item name="android:textColor">@color/colorNoticeText</item>
</style>
<style name=".Inverted" parent=".Common_Text">
<item name="android:textColor">@color/colorInvertedText</item>
</style>
<style name="Inverted_Notice" parent=".Common_Text">
<item name="android:textColor">@color/colorInvertedNoticeText</item>
</style>
<style name=".Accent_Minor_TextView" parent="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:textSize">@dimen/minor_text</item>
</style>
<style name=".Default" parent=".Accent_Minor_TextView">
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name=".Inverted" parent=".Accent_Minor_TextView">
<item name="android:textColor">@color/colorNoticeText</item>
</style>
<style name=".Feed" parent="Base.Widget.AppCompat.TextView.AcromRegularTextView">
<item name="android:textSize">@dimen/lite_notice</item>
</style>
<style name=".Notice" parent=".Accent_Minor_TextView">
<item name="android:textColor">@color/colorNoticeText</item>
</style>
<style name=".Description" parent=".Accent_Minor_TextView">
<item name="android:textColor">@color/colorCommonText</item>
</style>
//endregion
</resources> </resources>
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
<dimen name="minor_text">12sp</dimen> <dimen name="minor_text">12sp</dimen>
<dimen name="common_text">14sp</dimen> <dimen name="common_text">14sp</dimen>
<dimen name="currency">24sp</dimen> <dimen name="currency">24sp</dimen>
<dimen name="light_notice">11sp</dimen> <dimen name="lite_notice">11sp</dimen>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment