Minor tweaks
This commit is contained in:
committed by
Koitharu
parent
0129e9e092
commit
57111f628d
@@ -2,6 +2,8 @@
|
||||
|
||||
<!-- Widget styles -->
|
||||
|
||||
<style name="Widget.Kotatsu" parent="@android:style/Widget.Material" />
|
||||
|
||||
<style name="Widget.Kotatsu.AppBar" parent="@style/Widget.Design.AppBarLayout">
|
||||
<item name="android:background">?attr/colorSurface</item>
|
||||
<item name="android:elevation">8dp</item>
|
||||
@@ -37,10 +39,9 @@
|
||||
|
||||
<style name="Widget.Kotatsu.Chip" parent="Widget.MaterialComponents.Chip.Action">
|
||||
<item name="chipStrokeWidth">1dp</item>
|
||||
<item name="chipStrokeColor">?attr/colorAccent</item>
|
||||
<item name="chipStrokeColor">?attr/colorPrimary</item>
|
||||
<item name="chipBackgroundColor">@android:color/transparent</item>
|
||||
<item name="chipIconTint">?attr/colorPrimary</item>
|
||||
<item name="android:textColor">?attr/colorAccent</item>
|
||||
|
||||
<!-- Smaller text/height -->
|
||||
<item name="android:textSize">12sp</item>
|
||||
@@ -63,6 +64,14 @@
|
||||
<item name="subtitleTextStyle">?attr/textAppearanceSubtitle1</item>
|
||||
</style>
|
||||
|
||||
<!-- textAppearance alone doesn't support line spacing attrs. Multiline body text will use
|
||||
style="Widget.Kotatsu.MultilineBody" instead of the equivalent textAppearance.
|
||||
-->
|
||||
<style name="Widget.Kotatsu.MultilineBody">
|
||||
<item name="android:lineSpacingExtra">4sp</item>
|
||||
<item name="android:textColor">?android:textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<!-- TextAppearance -->
|
||||
|
||||
<style name="TextAppearance.Kotatsu.ToolbarTitle" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
|
||||
@@ -89,4 +98,12 @@
|
||||
|
||||
<style name="TextAppearance.Kotatsu.Body2" parent="TextAppearance.MaterialComponents.Body2" />
|
||||
|
||||
<style name="TextAppearance.Kotatsu.H1" parent="@style/TextAppearance.MaterialComponents.Headline5">
|
||||
<item name="android:textSize">@dimen/text_size_h1</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Kotatsu.NoticeBody" parent="@style/Widget.Kotatsu.MultilineBody">
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user