added swapColor

This commit is contained in:
Lucas Payr 2021-06-15 17:38:28 +02:00
parent 63fb927cdd
commit 986798d076

View File

@ -1,5 +1,5 @@
module Widget.Material exposing module Widget.Material exposing
( Palette, defaultPalette, darkPalette, gray, lightGray, textGray ( Palette, defaultPalette, darkPalette, swapColor, gray, lightGray, textGray
, containedButton, outlinedButton, textButton , containedButton, outlinedButton, textButton
, iconButton, toggleButton, toggleRow , iconButton, toggleButton, toggleRow
, switch , switch
@ -34,7 +34,7 @@ If you have any suggestions or improvements, be sure to leave a [PR or a Issue](
# Palette # Palette
@docs Palette, defaultPalette, darkPalette, gray, lightGray, textGray @docs Palette, defaultPalette, darkPalette, swapColor, gray, lightGray, textGray
# Button # Button
@ -219,6 +219,7 @@ darkPalette =
Palette.darkPalette Palette.darkPalette
{-| Swaps the primary and secondary color.
Why is this needed? See the [material design specification](https://material.io/design/color/applying-color-to-ui.html) for details. Why is this needed? See the [material design specification](https://material.io/design/color/applying-color-to-ui.html) for details.