material

package
v0.1.64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 3 Imported by: 0

README

Compose Material

This package provides shared resources for Material Design 3 components.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LocalContentColor = compose.CompositionLocalOf(func() graphics.Color {
	return graphics.ColorBlack
})

LocalContentColor is a CompositionLocal containing the preferred content color for a given position in the hierarchy. This typically represents the "on" color for a color in ColorScheme. For example, if the background color is ColorScheme.surface, this color is typically set to ColorScheme.onSurface.

This color should be used for any typography / iconography, to ensure that the color of these adjusts when the background color changes. For example, on a dark background, text should be light, and on a light background, text should be dark.

Defaults to Color.Black if no color has been explicitly set.

View Source
var LocalGioMaterialTheme = compose.CompositionLocalOf(func() *gioMaterial.Theme {
	return defaultMaterialTheme()
})

Functions

This section is empty.

Types

type ThemeInterface

type ThemeInterface interface {
	GioMaterialTheme() *gioMaterial.Theme
}

func Theme

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL