-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdds-acore/theme-builder): Json theme decoding was fixed. Unused…
… attrs were removed from playground:theme-builder. Typography generator was changed to support textStyle and lineHeight attributes.
- Loading branch information
Showing
16 changed files
with
53 additions
and
35 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 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
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
2 changes: 1 addition & 1 deletion
2
sdds-core/plugin_theme_builder/src/test/resources/color-outputs/test-color-output.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" standalone="no"?> | ||
<resources> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<!--Прозрачная акцентная поверхность--> | ||
<color name="thmbldr_dark_on_light_surface_transparent_accent">#FFFFFF1F</color> | ||
</resources> |
2 changes: 1 addition & 1 deletion
2
sdds-core/plugin_theme_builder/src/test/resources/gradient-outputs/test-gradient-output.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
2 changes: 1 addition & 1 deletion
2
sdds-core/plugin_theme_builder/src/test/resources/shadow-outputs/test-shadow-output.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
2 changes: 1 addition & 1 deletion
2
sdds-core/plugin_theme_builder/src/test/resources/shape-outputs/test-shape-output.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
2 changes: 1 addition & 1 deletion
2
sdds-core/plugin_theme_builder/src/test/resources/test-dimens-output.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,4 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<resources> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<dimen name="thmbldr_test_dimen">128.0dp</dimen> | ||
</resources> |
6 changes: 3 additions & 3 deletions
6
...gin_theme_builder/src/test/resources/typography-outputs/test-appearances-large-output.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,12 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<resources> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<!--шрифт android--> | ||
<style name="Thmbldr.TextAppearance.DisplayL"> | ||
<item name="fontFamily">sans</item> | ||
<item name="fontWeight">300</item> | ||
<item name="android:fontStyle">normal</item> | ||
<item name="android:textStyle">normal</item> | ||
<item name="android:letterSpacing">0.02</item> | ||
<item name="android:textSize">@dimen/thmbldr_screen_l_display_l_text_size</item> | ||
<item name="android:lineHeight">@dimen/thmbldr_screen_l_display_l_line_height</item> | ||
<item name="android:lineHeight" tools:targetApi="p">@dimen/thmbldr_screen_l_display_l_line_height</item> | ||
</style> | ||
</resources> |
6 changes: 3 additions & 3 deletions
6
...re/plugin_theme_builder/src/test/resources/typography-outputs/test-appearances-output.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,13 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<resources> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<style name="Thmbldr.TextAppearance"/> | ||
<!--шрифт android--> | ||
<style name="Thmbldr.TextAppearance.DisplayL"> | ||
<item name="fontFamily">sans</item> | ||
<item name="fontWeight">300</item> | ||
<item name="android:fontStyle">normal</item> | ||
<item name="android:textStyle">normal</item> | ||
<item name="android:letterSpacing">0.02</item> | ||
<item name="android:textSize">@dimen/thmbldr_screen_m_display_l_text_size</item> | ||
<item name="android:lineHeight">@dimen/thmbldr_screen_m_display_l_line_height</item> | ||
<item name="android:lineHeight" tools:targetApi="p">@dimen/thmbldr_screen_m_display_l_line_height</item> | ||
</style> | ||
</resources> |
6 changes: 3 additions & 3 deletions
6
...gin_theme_builder/src/test/resources/typography-outputs/test-appearances-small-output.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,12 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<resources> | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<!--шрифт android--> | ||
<style name="Thmbldr.TextAppearance.DisplayL"> | ||
<item name="fontFamily">sans</item> | ||
<item name="fontWeight">300</item> | ||
<item name="android:fontStyle">normal</item> | ||
<item name="android:textStyle">normal</item> | ||
<item name="android:letterSpacing">0.02</item> | ||
<item name="android:textSize">@dimen/thmbldr_screen_s_display_l_text_size</item> | ||
<item name="android:lineHeight">@dimen/thmbldr_screen_s_display_l_line_height</item> | ||
<item name="android:lineHeight" tools:targetApi="p">@dimen/thmbldr_screen_s_display_l_line_height</item> | ||
</style> | ||
</resources> |
2 changes: 1 addition & 1 deletion
2
...ore/plugin_theme_builder/src/test/resources/typography-outputs/test-typography-output.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