com.olvind.mui.muiMaterial.stylesExperimentalExtendThemeMod.CssVarsPalette.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial.stylesExperimentalExtendThemeMod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait CssVarsPalette extends StObject {
var Alert: PaletteAlert
var AppBar: PaletteAppBar
var Avatar: PaletteAvatar
var Chip: PaletteChip
var FilledInput: PaletteFilledInput
var LinearProgress: PaletteLinearProgress
var Skeleton: PaletteSkeleton
var Slider: PaletteSlider
var SnackbarContent: PaletteSnackbarContent
var SpeedDialAction: PaletteSpeedDialAction
var StepConnector: PaletteStepConnector
var StepContent: PaletteStepContent
var Switch: PaletteSwitch
var TableCell: PaletteTableCell
var Tooltip: PaletteTooltip
var action: PaletteActionChannel
var background: PaletteBackgroundChannel
var colorScheme: SupportedColorScheme
var common: PaletteCommonChannel
var dividerChannel: String
var error: PaletteColorChannel
var info: PaletteColorChannel
var primary: PaletteColorChannel
var secondary: PaletteColorChannel
var success: PaletteColorChannel
var text: PaletteTextChannel
var warning: PaletteColorChannel
}
object CssVarsPalette {
inline def apply(
Alert: PaletteAlert,
AppBar: PaletteAppBar,
Avatar: PaletteAvatar,
Chip: PaletteChip,
FilledInput: PaletteFilledInput,
LinearProgress: PaletteLinearProgress,
Skeleton: PaletteSkeleton,
Slider: PaletteSlider,
SnackbarContent: PaletteSnackbarContent,
SpeedDialAction: PaletteSpeedDialAction,
StepConnector: PaletteStepConnector,
StepContent: PaletteStepContent,
Switch: PaletteSwitch,
TableCell: PaletteTableCell,
Tooltip: PaletteTooltip,
action: PaletteActionChannel,
background: PaletteBackgroundChannel,
colorScheme: SupportedColorScheme,
common: PaletteCommonChannel,
dividerChannel: String,
error: PaletteColorChannel,
info: PaletteColorChannel,
primary: PaletteColorChannel,
secondary: PaletteColorChannel,
success: PaletteColorChannel,
text: PaletteTextChannel,
warning: PaletteColorChannel
): CssVarsPalette = {
val __obj = js.Dynamic.literal(Alert = Alert.asInstanceOf[js.Any], AppBar = AppBar.asInstanceOf[js.Any], Avatar = Avatar.asInstanceOf[js.Any], Chip = Chip.asInstanceOf[js.Any], FilledInput = FilledInput.asInstanceOf[js.Any], LinearProgress = LinearProgress.asInstanceOf[js.Any], Skeleton = Skeleton.asInstanceOf[js.Any], Slider = Slider.asInstanceOf[js.Any], SnackbarContent = SnackbarContent.asInstanceOf[js.Any], SpeedDialAction = SpeedDialAction.asInstanceOf[js.Any], StepConnector = StepConnector.asInstanceOf[js.Any], StepContent = StepContent.asInstanceOf[js.Any], Switch = Switch.asInstanceOf[js.Any], TableCell = TableCell.asInstanceOf[js.Any], Tooltip = Tooltip.asInstanceOf[js.Any], action = action.asInstanceOf[js.Any], background = background.asInstanceOf[js.Any], colorScheme = colorScheme.asInstanceOf[js.Any], common = common.asInstanceOf[js.Any], dividerChannel = dividerChannel.asInstanceOf[js.Any], error = error.asInstanceOf[js.Any], info = info.asInstanceOf[js.Any], primary = primary.asInstanceOf[js.Any], secondary = secondary.asInstanceOf[js.Any], success = success.asInstanceOf[js.Any], text = text.asInstanceOf[js.Any], warning = warning.asInstanceOf[js.Any])
__obj.asInstanceOf[CssVarsPalette]
}
@scala.inline
implicit open class MutableBuilder[Self <: CssVarsPalette] (val x: Self) extends AnyVal {
inline def setAction(value: PaletteActionChannel): Self = StObject.set(x, "action", value.asInstanceOf[js.Any])
inline def setAlert(value: PaletteAlert): Self = StObject.set(x, "Alert", value.asInstanceOf[js.Any])
inline def setAppBar(value: PaletteAppBar): Self = StObject.set(x, "AppBar", value.asInstanceOf[js.Any])
inline def setAvatar(value: PaletteAvatar): Self = StObject.set(x, "Avatar", value.asInstanceOf[js.Any])
inline def setBackground(value: PaletteBackgroundChannel): Self = StObject.set(x, "background", value.asInstanceOf[js.Any])
inline def setChip(value: PaletteChip): Self = StObject.set(x, "Chip", value.asInstanceOf[js.Any])
inline def setColorScheme(value: SupportedColorScheme): Self = StObject.set(x, "colorScheme", value.asInstanceOf[js.Any])
inline def setCommon(value: PaletteCommonChannel): Self = StObject.set(x, "common", value.asInstanceOf[js.Any])
inline def setDividerChannel(value: String): Self = StObject.set(x, "dividerChannel", value.asInstanceOf[js.Any])
inline def setError(value: PaletteColorChannel): Self = StObject.set(x, "error", value.asInstanceOf[js.Any])
inline def setFilledInput(value: PaletteFilledInput): Self = StObject.set(x, "FilledInput", value.asInstanceOf[js.Any])
inline def setInfo(value: PaletteColorChannel): Self = StObject.set(x, "info", value.asInstanceOf[js.Any])
inline def setLinearProgress(value: PaletteLinearProgress): Self = StObject.set(x, "LinearProgress", value.asInstanceOf[js.Any])
inline def setPrimary(value: PaletteColorChannel): Self = StObject.set(x, "primary", value.asInstanceOf[js.Any])
inline def setSecondary(value: PaletteColorChannel): Self = StObject.set(x, "secondary", value.asInstanceOf[js.Any])
inline def setSkeleton(value: PaletteSkeleton): Self = StObject.set(x, "Skeleton", value.asInstanceOf[js.Any])
inline def setSlider(value: PaletteSlider): Self = StObject.set(x, "Slider", value.asInstanceOf[js.Any])
inline def setSnackbarContent(value: PaletteSnackbarContent): Self = StObject.set(x, "SnackbarContent", value.asInstanceOf[js.Any])
inline def setSpeedDialAction(value: PaletteSpeedDialAction): Self = StObject.set(x, "SpeedDialAction", value.asInstanceOf[js.Any])
inline def setStepConnector(value: PaletteStepConnector): Self = StObject.set(x, "StepConnector", value.asInstanceOf[js.Any])
inline def setStepContent(value: PaletteStepContent): Self = StObject.set(x, "StepContent", value.asInstanceOf[js.Any])
inline def setSuccess(value: PaletteColorChannel): Self = StObject.set(x, "success", value.asInstanceOf[js.Any])
inline def setSwitch(value: PaletteSwitch): Self = StObject.set(x, "Switch", value.asInstanceOf[js.Any])
inline def setTableCell(value: PaletteTableCell): Self = StObject.set(x, "TableCell", value.asInstanceOf[js.Any])
inline def setText(value: PaletteTextChannel): Self = StObject.set(x, "text", value.asInstanceOf[js.Any])
inline def setTooltip(value: PaletteTooltip): Self = StObject.set(x, "Tooltip", value.asInstanceOf[js.Any])
inline def setWarning(value: PaletteColorChannel): Self = StObject.set(x, "warning", value.asInstanceOf[js.Any])
}
}