Skip to content

Commit

Permalink
Version 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Dec 14, 2021
1 parent f04cc62 commit 64272b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ A text (JSON) based theme engine for Android 4.0 (API 14) and above.
"fontScale": "auto",
"cornerRadius": "auto",
"backgroundAware": "auto",
"contrast": "auto",
"opacity": "auto",
"style": "auto"
}
Expand Down Expand Up @@ -91,6 +92,7 @@ A `JSON` is the original format for the dynamic theme that provides cross-app fu
"fontScale": "auto|integer",
"cornerRadius": "auto|integer",
"backgroundAware": "auto|disable|enable",
"contrast": "auto|integer",
"opacity": "auto|integer",
"style": "auto|custom",
"header": "auto|hide|show"
Expand Down Expand Up @@ -119,8 +121,9 @@ can be imported easily in various apps or platforms.
| textPrimaryColor | 12 | textPrimaryColorInverse | 12Z |
| textSecondaryColor | 14 | textSecondaryColorInverse | 14Z |
| fontScale | 16 | cornerRadius | 17 |
| backgroundAware | 18 | opacity | 20 |
| style | 23 | header | 19 |
| backgroundAware | 18 | contrast | 25 |
| opacity | 20 | style | 23 |
| header | 19 |

#### Values

Expand Down Expand Up @@ -150,7 +153,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi
```groovy
dependencies {
// For AndroidX enabled projects.
implementation 'com.pranavpandey.android:dynamic-theme:4.1.0'
implementation 'com.pranavpandey.android:dynamic-theme:4.2.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ ext {
mavenDir = 'com/pranavpandey/android'
mavenArtifactId = 'dynamic-theme'
mavenInceptionYear = '2019'
mavenVersion = '4.1.0'
mavenVersionCode = 12
mavenVersion = '4.2.0'
mavenVersionCode = 13

developerId = 'pranavpandey'
developerName = 'Pranav Pandey'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,9 @@
int CORNER = 0;
}

/**
* Interface to hold the theme code correction constants.
*/
@interface Correction {

/**
Expand Down

0 comments on commit 64272b1

Please sign in to comment.