Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DeweyReed committed May 21, 2020
1 parent 250c5b9 commit 888d268
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,27 @@ Jetpack Compose supports dynamic theming and is a better alternative(in the futu

## Usage

1. [Try a snapshot from JitPack.](https://jitpack.io/#xyz.aprildown/Theme)
1. Install dependency:

1. Add the JitPack repository to your build file

```Groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
1. Add the dependency
```Groovy
dependencies {
implementation 'xyz.aprildown:Theme:0.1.0'
}
```
1. Define six theme colors:
```XML
Expand Down
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ext {
min_sdk : 21,
target_sdk : 29,

version_code : 1,
version_name : '0.0.1',
version_code : 10,
version_name : '0.1.0',
]
libs = [
kotlin_stdlib_jdk7 : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}",
Expand Down

0 comments on commit 888d268

Please sign in to comment.