Trying to make it compile properly idek wtf to do anymore
This commit is contained in:
parent
3658fc423b
commit
66efe750a8
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="shortcut_icon_background">@color/gray_700</color>
|
||||
<color name="shortcut_icon_foreground">@color/original_primary_600</color>
|
||||
<!-- <color name="shortcut_icon_foreground">@color/purple_primary_600</color>-->
|
||||
</resources>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Widget.Mastodon.Toolbar" parent="android:Widget.Material.Toolbar">
|
||||
<item name="android:contentInsetStartWithNavigation">0dp</item>
|
||||
<item name="android:titleMarginEnd">0dp</item>
|
||||
<item name="android:titleMarginStart">0dp</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -17,6 +17,27 @@
|
|||
<attr name="colorTabInactive" format="color"/>
|
||||
<attr name="colorAccentLightest" format="color"/>
|
||||
<attr name="profileHeaderBackground" format="color"/>
|
||||
<attr name="toolbarBackground" format="color"/>
|
||||
|
||||
<attr name="colorButtonBackgroundPrimaryDarkOnLight" format="color"/>
|
||||
<attr name="colorButtonBackgroundPrimaryDarkOnLightDisabled" format="color"/>
|
||||
<attr name="colorButtonTextPrimaryDarkOnLight" format="color"/>
|
||||
<attr name="colorButtonTextPrimaryDarkOnLightDisabled" format="color"/>
|
||||
|
||||
<attr name="colorButtonBackgroundPrimaryLightOnDark" format="color"/>
|
||||
<attr name="colorButtonBackgroundPrimaryLightOnDarkDisabled" format="color"/>
|
||||
<attr name="colorButtonTextPrimaryLightOnDark" format="color"/>
|
||||
<attr name="colorButtonTextPrimaryLightOnDarkDisabled" format="color"/>
|
||||
|
||||
<attr name="colorButtonBackgroundSecondaryDarkOnLight" format="color"/>
|
||||
<attr name="colorButtonBackgroundSecondaryDarkOnLightDisabled" format="color"/>
|
||||
<attr name="colorButtonTextSecondaryDarkOnLight" format="color"/>
|
||||
<attr name="colorButtonTextSecondaryDarkOnLightDisabled" format="color"/>
|
||||
|
||||
<attr name="colorButtonBackgroundSecondaryLightOnDark" format="color"/>
|
||||
<attr name="colorButtonBackgroundSecondaryLightOnDarkDisabled" format="color"/>
|
||||
<attr name="colorButtonTextSecondaryLightOnDark" format="color"/>
|
||||
<attr name="colorButtonTextSecondaryLightOnDarkDisabled" format="color"/>
|
||||
|
||||
<attr name="colorM3Primary" format="color"/>
|
||||
<attr name="colorM3OnPrimary" format="color"/>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
<item name="colorTabInactive">?colorGray400</item>
|
||||
<item name="colorAccentLightest">?colorPrimary100</item>
|
||||
<item name="profileHeaderBackground">?colorGray500</item>
|
||||
<item name="toolbarBackground">?colorGray50</item>
|
||||
|
||||
<item name="buttonBackground">@drawable/bg_button_primary_dark_on_light</item>
|
||||
<item name="android:editTextBackground">@drawable/bg_edittext_light</item>
|
||||
|
@ -72,6 +73,24 @@
|
|||
<item name="colorM3OnError">#FFF</item>
|
||||
<item name="colorM3ErrorContainer">#F9DEDC</item>
|
||||
<item name="colorM3OnErrorContainer">#410E0B</item>
|
||||
|
||||
<!-- colors for button_bg|text_primary|secondary_dark|light_on_light|dark.xml -->
|
||||
<item name="colorButtonBackgroundPrimaryDarkOnLight">?colorGray800</item>
|
||||
<item name="colorButtonBackgroundPrimaryDarkOnLightDisabled">?colorGray300</item>
|
||||
<item name="colorButtonTextPrimaryDarkOnLight">?colorGray50</item>
|
||||
<item name="colorButtonTextPrimaryDarkOnLightDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundPrimaryLightOnDark">?colorGray100</item>
|
||||
<item name="colorButtonBackgroundPrimaryLightOnDarkDisabled">?colorGray500</item>
|
||||
<item name="colorButtonTextPrimaryLightOnDark">?colorGray800</item>
|
||||
<item name="colorButtonTextPrimaryLightOnDarkDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundSecondaryDarkOnLight">?colorGray25</item>
|
||||
<item name="colorButtonBackgroundSecondaryDarkOnLightDisabled">?colorGray100</item>
|
||||
<item name="colorButtonTextSecondaryDarkOnLight">?colorGray800</item>
|
||||
<item name="colorButtonTextSecondaryDarkOnLightDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundSecondaryLightOnDark">?colorGray600</item>
|
||||
<item name="colorButtonBackgroundSecondaryLightOnDarkDisabled">?colorGray300</item>
|
||||
<item name="colorButtonTextSecondaryLightOnDark">?colorGray50</item>
|
||||
<item name="colorButtonTextSecondaryLightOnDarkDisabled">?colorGray400</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
@ -112,6 +131,7 @@
|
|||
<item name="profileHeaderBackground">?colorWindowBackground</item>
|
||||
<item name="colorSearchField">?colorGray700</item>
|
||||
<item name="colorSearchHint">?colorGray300</item>
|
||||
<item name="toolbarBackground">?colorGray800</item>
|
||||
|
||||
<item name="buttonBackground">@drawable/bg_button_primary_light_on_dark</item>
|
||||
<item name="android:editTextBackground">@drawable/bg_edittext_dark</item>
|
||||
|
@ -147,6 +167,24 @@
|
|||
<item name="colorM3OnError">#601410</item>
|
||||
<item name="colorM3ErrorContainer">#8C1D18</item>
|
||||
<item name="colorM3OnErrorContainer">#F9DEDC</item>
|
||||
|
||||
<!-- colors for button_bg|text_primary|secondary_dark|light_on_light|dark.xml -->
|
||||
<item name="colorButtonBackgroundPrimaryDarkOnLight">?colorGray800</item>
|
||||
<item name="colorButtonBackgroundPrimaryDarkOnLightDisabled">?colorGray300</item>
|
||||
<item name="colorButtonTextPrimaryDarkOnLight">?colorGray50</item>
|
||||
<item name="colorButtonTextPrimaryDarkOnLightDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundPrimaryLightOnDark">?colorGray100</item>
|
||||
<item name="colorButtonBackgroundPrimaryLightOnDarkDisabled">?colorGray500</item>
|
||||
<item name="colorButtonTextPrimaryLightOnDark">?colorGray800</item>
|
||||
<item name="colorButtonTextPrimaryLightOnDarkDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundSecondaryDarkOnLight">?colorGray25</item>
|
||||
<item name="colorButtonBackgroundSecondaryDarkOnLightDisabled">?colorGray100</item>
|
||||
<item name="colorButtonTextSecondaryDarkOnLight">?colorGray800</item>
|
||||
<item name="colorButtonTextSecondaryDarkOnLightDisabled">?colorGray400</item>
|
||||
<item name="colorButtonBackgroundSecondaryLightOnDark">?colorGray600</item>
|
||||
<item name="colorButtonBackgroundSecondaryLightOnDarkDisabled">?colorGray300</item>
|
||||
<item name="colorButtonTextSecondaryLightOnDark">?colorGray50</item>
|
||||
<item name="colorButtonTextSecondaryLightOnDarkDisabled">?colorGray400</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Mastodon.Dark.TrueBlack">
|
||||
|
@ -156,7 +194,7 @@
|
|||
<item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar.Dark.TrueBlack</item>
|
||||
<item name="colorBackgroundLight">@color/black</item>
|
||||
<item name="colorButtonText">@color/black</item>
|
||||
<item name="colorPollVoted">?colorGray800</item>
|
||||
<item name="colorPollVoted">?colorGray700</item>
|
||||
<item name="colorSearchField">?colorGray900</item>
|
||||
<item name="colorBackgroundLightest">@color/black</item>
|
||||
<item name="colorBackgroundPopup">?colorGray900</item>
|
||||
|
@ -170,14 +208,14 @@
|
|||
<style name="Theme.Mastodon.AutoLightDark.TrueBlack" parent="Theme.Mastodon.Light"/>
|
||||
|
||||
<style name="Theme.Mastodon.Toolbar" parent="android:ThemeOverlay.Material.ActionBar">
|
||||
<item name="android:colorPrimary">?colorGray50</item>
|
||||
<item name="android:colorPrimary">?toolbarBackground</item>
|
||||
<item name="android:toolbarStyle">@style/Widget.Mastodon.Toolbar</item>
|
||||
<item name="android:textColorPrimary">?colorGray800</item>
|
||||
<item name="android:textColorSecondary">?colorGray800</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Mastodon.Toolbar.Dark" parent="android:ThemeOverlay.Material.Dark.ActionBar">
|
||||
<item name="android:colorPrimary">?colorGray800</item>
|
||||
<item name="android:colorPrimary">?toolbarBackground</item>
|
||||
<item name="android:textColorPrimary">?colorGray50</item>
|
||||
<item name="android:textColorSecondary">?colorGray50</item>
|
||||
<item name="android:toolbarStyle">@style/Widget.Mastodon.Toolbar</item>
|
||||
|
@ -188,14 +226,14 @@
|
|||
</style>
|
||||
|
||||
<style name="Theme.Mastodon.Toolbar.Profile">
|
||||
<item name="android:textColorPrimary">?android:colorPrimary</item>
|
||||
<item name="android:textColorSecondary">?android:colorPrimary</item>
|
||||
<item name="android:drawableTint">?android:colorPrimary</item>
|
||||
<item name="android:textColorPrimary">?colorGray25</item>
|
||||
<item name="android:textColorSecondary">?colorGray25</item>
|
||||
<item name="android:drawableTint">?colorGray25</item>
|
||||
<item name="android:popupTheme">?android:actionBarTheme</item>
|
||||
<item name="android:titleTextAppearance">@style/m3_title_medium</item>
|
||||
<item name="android:titleTextColor">?android:colorPrimary</item>
|
||||
<item name="android:titleTextColor">?colorGray25</item>
|
||||
<item name="android:subtitleTextAppearance">@style/m3_body_medium</item>
|
||||
<item name="android:subtitleTextColor">?android:colorPrimary</item>
|
||||
<item name="android:subtitleTextColor">?colorGray25</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Mastodon.Button" parent="android:Widget.Material.Button">
|
||||
|
|
Loading…
Reference in New Issue