---
title: "GlanceTheme"
description: "A top level theme for Glance code. Unlike a standard compose theme, this only provides color.
Like a standard compose theme, it should be at the top level of a compose hierarchy with all
themed UI provided as [content]."
type: "composable"
---

<div class='type'>Composable Function</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
public fun GlanceTheme(
    colors: ColorProviders = LocalColors.current,
    content: @GlanceComposable @Composable () -> Unit,
)
```


A top level theme for Glance code. Unlike a standard compose theme, this only provides color.
Like a standard compose theme, it should be at the top level of a compose hierarchy with all
themed UI provided as `content`.




