Skip to content

Commit

Permalink
Docs: add shift-color() usage example in sass customization page
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Nov 24, 2023
1 parent 3214791 commit 45408e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/content/docs/5.3/customize/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ In practice, you'd call the function and pass in the color and weight parameters
.custom-element-2 {
color: shade-color($danger, 30%);
}

.custom-element-3 {
color: shift-color($success, 40%);
background-color: shift-color($success, -60%);
}
```

### Color contrast
Expand Down

0 comments on commit 45408e5

Please sign in to comment.