Colors
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Page(val bg: Colors.Palette, val bgOverlay: Color, val fg: Colors.Palette, val fgOverlay: Color, val border20: Color, val border10: Color, val border5: Color)
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Calculate and return the new Color for the given currentColor based on the current and new Colors. This is useful for theming, where you want to change the color of a component based on the current theme. If the currentColor is not found in the current Colors, it will return null.
Link copied to clipboard
Calculate and return the new Palette for the given currentPalette based on the current and new Colors. This is useful for theming, where you want to change the palette of a component based on the current theme. If the currentPalette is not found in the current Colors, it will return null.