All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.muiMaterial.anon.RecordSupportedColorSchemeColorSystem.scala Maven / Gradle / Ivy

package com.olvind.mui.muiMaterial.anon

import com.olvind.mui.muiMaterial.stylesExperimentalExtendThemeMod.ColorSystem
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

/* Inlined std.Record<@mui/material.@mui/material/styles/experimental_extendTheme.SupportedColorScheme, @mui/material.@mui/material/styles/experimental_extendTheme.ColorSystem> */
trait RecordSupportedColorSchemeColorSystem extends StObject {
  
  var dark: ColorSystem
  
  var light: ColorSystem
}
object RecordSupportedColorSchemeColorSystem {
  
  inline def apply(dark: ColorSystem, light: ColorSystem): RecordSupportedColorSchemeColorSystem = {
    val __obj = js.Dynamic.literal(dark = dark.asInstanceOf[js.Any], light = light.asInstanceOf[js.Any])
    __obj.asInstanceOf[RecordSupportedColorSchemeColorSystem]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: RecordSupportedColorSchemeColorSystem] (val x: Self) extends AnyVal {
    
    inline def setDark(value: ColorSystem): Self = StObject.set(x, "dark", value.asInstanceOf[js.Any])
    
    inline def setLight(value: ColorSystem): Self = StObject.set(x, "light", value.asInstanceOf[js.Any])
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy