Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
Meknaj authored Jul 28, 2021
1 parent d998fd9 commit 3e2dbc4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Diffre
*pronounced - Differ*

Diffre is an application that shows how to change text color based on background. This can be used to create progress bars overlaid by text, custom animations involving complex shapes, and much more. It works on the simple principle of color difference: The colour of the text is subtracted from that of the background to maintain readability even as the background is changed dynamically. The code of this library is modular and easily extensible as per requirement.
Diffre demonstrates how to change text color based on background. This can be used to create progress bars overlaid by text, custom animations involving complex shapes, and much more. It works on the simple principle of color difference: The colour of the text is subtracted from that of the background to maintain readability even as the background is changed dynamically. The code of this library is modular and easily extensible as per requirement.

# Source

Expand Down Expand Up @@ -34,6 +34,15 @@ https://github.com/rakshakhegde/Diffre
}
```
3. For using Diffre from a remote repository in separate application, add the below dependencies in entry/build.gradle file.
```
dependencies {
implementation 'dev.applibgroup:diffre:1.0.0'
testCompile 'junit:junit:4.12'
}
```

## Usage

Refer to the [ability_main.xml](entry/src/main/resources/base/layout/ability_main.xml) file in the entry sample app.
Expand Down

0 comments on commit 3e2dbc4

Please sign in to comment.