Skip to content

Commit

Permalink
added slider gif
Browse files Browse the repository at this point in the history
  • Loading branch information
charlee-dev committed Feb 26, 2022
1 parent a0002cd commit b2c30d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ dependencies {

### There is two main styles:

###[Pressed style](android/src/main/java/com/adwi/neumorph/PressedStatic.kt)
###[Pressed style](neumorph/src/main/kotlin/com/adwi/neumorph/android/PressedStatic.kt)
- Pressed Card style
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)

```bash
MorphPressed(
Expand All @@ -103,9 +103,9 @@ MorphPressed(
<img width="600" src="art/pressedlight.png"><img width="600" src="art/presseddark.png">
###[Punched style](android/src/main/java/com/adwi/neumorph/PunchedStatic.kt)
###[Punched style](neumorph/src/main/kotlin/com/adwi/neumorph/android/PunchedStatic.kt)
- Elevated Card style
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
MorphPunched(
onClick: () -> Unit = {},
Expand All @@ -131,9 +131,9 @@ MorphPunched(
---
###[Button rounded](android/src/main/java/com/adwi/neumorph/ButtonRounded.kt)
###[Button rounded](neumorph/src/main/kotlin/com/adwi/neumorph/android/ButtonRounded.kt)
- Elevated button
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
MorphButtonRounded (
elevation = 30.dp,
Expand All @@ -151,9 +151,9 @@ MorphButtonRounded (
```
<img width="600" src="art/btnrl.gif"><img width="600" src="art/btnrd.gif">
###[Button Oval](android/src/main/java/com/adwi/neumorph/ButtonOval.kt)
###[Button Oval](neumorph/src/main/kotlin/com/adwi/neumorph/android/ButtonOval.kt)
- Circle button
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
MorphButtonOval(
elevation = 10.dp,
Expand All @@ -170,9 +170,9 @@ MorphButtonOval(
```
<img width="600" src="art/btnovall.gif"><img width="600" src="art/btnovald.gif">
###[Radio button](android/src/main/java/com/adwi/neumorph/RadioButton.kt)
###[Radio button](neumorph/src/main/kotlin/com/adwi/neumorph/android/RadioButton.kt)
- Animated radio button
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
var value by remember { mutableStateOf(false) }

Expand All @@ -186,9 +186,9 @@ MorphRadioButton(
```
<img width="600" src="art/radiol.gif"><img width="600" src="art/radiod.gif">
###[Switch](android/src/main/java/com/adwi/neumorph/Switch.kt)
###[Switch](neumorph/src/main/kotlin/com/adwi/neumorph/android/Switch.kt)
- Animated switch
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
var value by remember { mutableStateOf(false) }

Expand All @@ -205,9 +205,9 @@ MorphSwitch(
```
<img width="600" src="art/switchl.gif"><img width="600" src="art/switchd.gif">
###[Slider](android/src/main/java/com/adwi/neumorph/Slider.kt)
[Slider](neumorph/src/main/kotlin/com/adwi/neumorph/android/Slider.kt)
- Animated switch
- [Example usage](sample/src/main/java/com/adwi/neumorph/ui/screens/HomeScreen.kt)
- [Example usage](app/src/main/kotlin/com/adwi/neumorph/sample/ui/screens/HomeScreen.kt)
```bash
MorphSlider(
value = .6f,
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/prism.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2c30d0

Please sign in to comment.