-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename TextInputHighlight to ValueTextHighlight * fix button styles * update unit test config (#37) Co-authored-by: Bianca Letti <[email protected]> Co-authored-by: Rodrigo Nunes <[email protected]> * bump version (#38) Co-authored-by: Rodrigo Nunes <[email protected]> Co-authored-by: Rodrigo Nunes <[email protected]> Co-authored-by: Bianca Letti <[email protected]> Co-authored-by: Rodrigo Souza <[email protected]>
- Loading branch information
1 parent
fd204b3
commit de01b02
Showing
20 changed files
with
86 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
designsystem/src/main/res/color/ds_mtrl_colored_stroke_color_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="?colorPrimary" android:state_enabled="true"/> | ||
<item android:alpha="0.12" android:color="@android:color/black"/> | ||
</selector> |
2 changes: 1 addition & 1 deletion
2
designsystem/src/main/res/color/ds_mtrl_default_btn_text_color_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@android:color/black" android:state_enabled="true"/> | ||
<item android:color="@color/colorHighEmphasis" android:state_enabled="true"/> | ||
<item android:color="@color/mtrlBtnTextColorDisabled"/> | ||
</selector> |
5 changes: 0 additions & 5 deletions
5
designsystem/src/main/res/color/ds_mtrl_sec_btn_background_selector.xml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
designsystem/src/main/res/color/ds_mtrl_sec_btn_text_color_selector.xml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
designsystem/src/main/res/color/ds_mtrl_sec_colored_btn_text_color_selector.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
designsystem/src/main/res/color/ds_mtrl_sec_colored_ripple_color_selector.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Widget.Natura.Button" parent="Widget.MaterialComponents.Button"> | ||
<style name="Widget.Natura.Button" parent="Widget.MaterialComponents.Button"/> | ||
|
||
<style name="Widget.Natura.Button.DarkText" parent="Widget.Natura.Button"> | ||
<item name="android:textColor">@color/ds_mtrl_default_btn_text_color_selector</item> | ||
</style> | ||
|
||
<style name="Widget.Natura.Button.Secondary" parent="Widget.Natura.Button"> | ||
<item name="backgroundTint">@color/ds_mtrl_sec_btn_background_selector</item> | ||
<style name="Widget.Natura.Button.Outlined.DarkText" parent="Widget.MaterialComponents.Button.OutlinedButton"> | ||
<item name="android:textColor">@color/ds_mtrl_default_btn_text_color_selector</item> | ||
</style> | ||
|
||
<style name="Widget.Natura.Button.Outlined" parent="Widget.MaterialComponents.Button.OutlinedButton"/> | ||
|
||
<style name="Widget.Natura.Button.Outlined.Secondary" parent="Widget.Natura.Button.Outlined"> | ||
<item name="android:textColor">@color/ds_mtrl_sec_colored_btn_text_color_selector</item> | ||
<item name="rippleColor">@color/ds_mtrl_sec_colored_ripple_color_selector</item> | ||
<style name="Widget.Natura.Button.Outlined.StrokeColored" parent="Widget.MaterialComponents.Button.OutlinedButton"> | ||
<item name="strokeColor">@color/ds_mtrl_colored_stroke_color_selector</item> | ||
</style> | ||
|
||
<style name="Widget.Natura.Button.TextButton" parent="Widget.MaterialComponents.Button.TextButton"/> | ||
|
||
<style name="Widget.Natura.Button.TextButton.Secondary" parent="Widget.Natura.Button.TextButton"> | ||
<item name="android:textColor">@color/ds_mtrl_sec_colored_btn_text_color_selector</item> | ||
<item name="rippleColor">@color/ds_mtrl_sec_colored_ripple_color_selector</item> | ||
<style name="Widget.Natura.Button.TextButton.DarkText" parent="Widget.MaterialComponents.Button.TextButton"> | ||
<item name="android:textColor">@color/ds_mtrl_default_btn_text_color_selector</item> | ||
</style> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- To be replaced with default attr from google:material lib --> | ||
<!-- Style to use for Material Outlined Buttons in this theme. --> | ||
<!-- Since it's not available in support:design lib --> | ||
<attr name="materialButtonOutlinedStyle" format="reference"/> | ||
<attr name="materialBorderlessButtonStyle" format="reference"/> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters