title: Is it possible to use gradient in compose theme colors?
body: <p>I use a gradient for my app background using a box at the moment.</p>
  <p>However I recently found out about appTheme in compose and was wondering if there was a way to get this to work to substitute the box that I currently have,</p>
  <pre><code>private val LightColorPalette = lightColors(
     primary = Purple500,
     primaryVariant = Purple700,
     secondary = Teal200,
     onBackground = Color.Black,
     background = Brush.linearGradient( //this right here
         colors = listOf(
             Color.Red,
             Color.White,
         ),
         start = Offset(0f, 0f),
         end = Offset(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY),
     ),
     onSurface = Color.Black
  )
  </code></pre>
  <p>I am aware that background should accept a type color and that here I am trying to pass it a type brush which is why it does not work.<br />
  I am asking if there is another way to get to the behavior I want using themes?</p>