theme

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Overview

Package theme defines how a Bellui app should look when rendered.

Index

Constants

View Source
const (
	// ColorRed is the red primary color name.
	//
	// Since: 1.0
	ColorRed = internaltheme.ColorRed
	// ColorOrange is the orange primary color name.
	//
	// Since: 1.0
	ColorOrange = internaltheme.ColorOrange
	// ColorYellow is the yellow primary color name.
	//
	// Since: 1.0
	ColorYellow = internaltheme.ColorYellow
	// ColorGreen is the green primary color name.
	//
	// Since: 1.0
	ColorGreen = internaltheme.ColorGreen
	// ColorBlue is the blue primary color name.
	//
	// Since: 1.0
	ColorBlue = internaltheme.ColorBlue
	// ColorPurple is the purple primary color name.
	//
	// Since: 1.0
	ColorPurple = internaltheme.ColorPurple
	// ColorBrown is the brown primary color name.
	//
	// Since: 1.0
	ColorBrown = internaltheme.ColorBrown
	// ColorGray is the gray primary color name.
	//
	// Since: 1.0
	ColorGray = internaltheme.ColorGray

	// ColorNameBackground is the name of theme lookup for background color.
	//
	// Since: 1.0
	ColorNameBackground bellui.ThemeColorName = "background"

	// ColorNameButton is the name of theme lookup for button color.
	//
	// Since: 1.0
	ColorNameButton bellui.ThemeColorName = "button"

	// ColorNameDisabledButton is the name of theme lookup for disabled button color.
	//
	// Since: 1.0
	ColorNameDisabledButton bellui.ThemeColorName = "disabledButton"

	// ColorNameDisabled is the name of theme lookup for disabled foreground color.
	//
	// Since: 1.0
	ColorNameDisabled bellui.ThemeColorName = "disabled"

	// ColorNameError is the name of theme lookup for error color.
	//
	// Since: 1.0
	ColorNameError bellui.ThemeColorName = "error"

	// ColorNameFocus is the name of theme lookup for focus color.
	//
	// Since: 1.0
	ColorNameFocus bellui.ThemeColorName = "focus"

	// ColorNameForeground is the name of theme lookup for foreground color.
	//
	// Since: 1.0
	ColorNameForeground bellui.ThemeColorName = "foreground"

	// ColorNameForegroundOnError is the name of theme lookup for a contrast color to the error color.
	//
	// Since: 1.0
	ColorNameForegroundOnError bellui.ThemeColorName = "foregroundOnError"

	// ColorNameForegroundOnPrimary is the name of theme lookup for a contrast color to the primary color.
	//
	// Since: 1.0
	ColorNameForegroundOnPrimary bellui.ThemeColorName = "foregroundOnPrimary"

	// ColorNameForegroundOnSuccess is the name of theme lookup for a contrast color to the success color.
	//
	// Since: 1.0
	ColorNameForegroundOnSuccess bellui.ThemeColorName = "foregroundOnSuccess"

	// ColorNameForegroundOnWarning is the name of theme lookup for a contrast color to the warning color.
	//
	// Since: 1.0
	ColorNameForegroundOnWarning bellui.ThemeColorName = "foregroundOnWarning"

	// ColorNameHeaderBackground is the name of theme lookup for background color of a collection header.
	//
	// Since: 1.0
	ColorNameHeaderBackground bellui.ThemeColorName = "headerBackground"

	// ColorNameHover is the name of theme lookup for hover color.
	//
	// Since: 1.0
	ColorNameHover bellui.ThemeColorName = "hover"

	// ColorNameHyperlink is the name of theme lookup for hyperlink color.
	//
	// Since: 1.0
	ColorNameHyperlink bellui.ThemeColorName = "hyperlink"

	// ColorNameInputBackground is the name of theme lookup for background color of an input field.
	//
	// Since: 1.0
	ColorNameInputBackground bellui.ThemeColorName = "inputBackground"

	// ColorNameInputBorder is the name of theme lookup for border color of an input field.
	//
	// Since: 1.0
	ColorNameInputBorder bellui.ThemeColorName = "inputBorder"

	// ColorNameMenuBackground is the name of theme lookup for background color of menus.
	//
	// Since: 1.0
	ColorNameMenuBackground bellui.ThemeColorName = "menuBackground"

	// ColorNameOverlayBackground is the name of theme lookup for background color of overlays like dialogs.
	//
	// Since: 1.0
	ColorNameOverlayBackground bellui.ThemeColorName = "overlayBackground"

	// ColorNamePlaceHolder is the name of theme lookup for placeholder text color.
	//
	// Since: 1.0
	ColorNamePlaceHolder bellui.ThemeColorName = "placeholder"

	// ColorNamePressed is the name of theme lookup for the tap overlay color.
	//
	// Since: 1.0
	ColorNamePressed bellui.ThemeColorName = "pressed"

	// ColorNamePrimary is the name of theme lookup for primary color.
	//
	// Since: 1.0
	ColorNamePrimary bellui.ThemeColorName = "primary"

	// ColorNameScrollBar is the name of theme lookup for scrollbar color.
	//
	// Since: 1.0
	ColorNameScrollBar bellui.ThemeColorName = "scrollBar"

	// ColorNameScrollBarBackground is the name of theme lookup for scrollbar background color.
	//
	// Since: 1.0
	ColorNameScrollBarBackground bellui.ThemeColorName = "scrollBarBackground"

	// ColorNameSelection is the name of theme lookup for selection color.
	//
	// Since: 1.0
	ColorNameSelection bellui.ThemeColorName = "selection"

	// ColorNameSeparator is the name of theme lookup for separator bars.
	//
	// Since: 1.0
	ColorNameSeparator bellui.ThemeColorName = "separator"

	// ColorNameShadow is the name of theme lookup for shadow color.
	//
	// Since: 1.0
	ColorNameShadow bellui.ThemeColorName = "shadow"

	// ColorNameSuccess is the name of theme lookup for success color.
	//
	// Since: 1.0
	ColorNameSuccess bellui.ThemeColorName = "success"

	// ColorNameWarning is the name of theme lookup for warning color.
	//
	// Since: 1.0
	ColorNameWarning bellui.ThemeColorName = "warning"

	// ColorNameCardBackground is the name of theme lookup for card surface background color.
	// If a theme returns color.Transparent, cards will have no distinct background fill.
	ColorNameCardBackground bellui.ThemeColorName = "cardBackground"

	// ColorNameElevatedBackground is the name of theme lookup for elevated surface background color.
	// Used for surfaces that sit above the main background (panels, sidebars).
	ColorNameElevatedBackground bellui.ThemeColorName = "elevatedBackground"

	// ColorNamePrimaryContainer is the MD3 primary container color.
	ColorNamePrimaryContainer bellui.ThemeColorName = "primaryContainer"
	// ColorNameOnPrimaryContainer is text/icon color on primary container.
	ColorNameOnPrimaryContainer bellui.ThemeColorName = "onPrimaryContainer"

	// ColorNameSecondary is the MD3 secondary accent color.
	ColorNameSecondary bellui.ThemeColorName = "secondary"
	// ColorNameOnSecondary is text/icon color on secondary.
	ColorNameOnSecondary bellui.ThemeColorName = "onSecondary"
	// ColorNameSecondaryContainer is the MD3 secondary container color.
	ColorNameSecondaryContainer bellui.ThemeColorName = "secondaryContainer"
	// ColorNameOnSecondaryContainer is text/icon color on secondary container.
	ColorNameOnSecondaryContainer bellui.ThemeColorName = "onSecondaryContainer"

	// ColorNameTertiary is the MD3 tertiary accent color.
	ColorNameTertiary bellui.ThemeColorName = "tertiary"
	// ColorNameOnTertiary is text/icon color on tertiary.
	ColorNameOnTertiary bellui.ThemeColorName = "onTertiary"
	// ColorNameTertiaryContainer is the MD3 tertiary container color.
	ColorNameTertiaryContainer bellui.ThemeColorName = "tertiaryContainer"
	// ColorNameOnTertiaryContainer is text/icon color on tertiary container.
	ColorNameOnTertiaryContainer bellui.ThemeColorName = "onTertiaryContainer"

	// ColorNameErrorContainer is the MD3 error container color.
	ColorNameErrorContainer bellui.ThemeColorName = "errorContainer"
	// ColorNameOnErrorContainer is text/icon color on error container.
	ColorNameOnErrorContainer bellui.ThemeColorName = "onErrorContainer"

	// ColorNameSurface is the MD3 base surface color.
	ColorNameSurface bellui.ThemeColorName = "surface"
	// ColorNameSurfaceDim is the MD3 dimmed surface color.
	ColorNameSurfaceDim bellui.ThemeColorName = "surfaceDim"
	// ColorNameSurfaceBright is the MD3 bright surface color.
	ColorNameSurfaceBright bellui.ThemeColorName = "surfaceBright"
	// ColorNameSurfaceContainerLowest is the MD3 lowest-elevation surface container.
	ColorNameSurfaceContainerLowest bellui.ThemeColorName = "surfaceContainerLowest"
	// ColorNameSurfaceContainerLow is the MD3 low-elevation surface container.
	ColorNameSurfaceContainerLow bellui.ThemeColorName = "surfaceContainerLow"
	// ColorNameSurfaceContainerMedium is the MD3 medium-elevation surface container.
	ColorNameSurfaceContainerMedium bellui.ThemeColorName = "surfaceContainer"
	// ColorNameSurfaceContainerHigh is the MD3 high-elevation surface container.
	ColorNameSurfaceContainerHigh bellui.ThemeColorName = "surfaceContainerHigh"
	// ColorNameSurfaceContainerHighest is the MD3 highest-elevation surface container.
	ColorNameSurfaceContainerHighest bellui.ThemeColorName = "surfaceContainerHighest"
	// ColorNameOnSurface is text/icon color on surfaces.
	ColorNameOnSurface bellui.ThemeColorName = "onSurface"
	// ColorNameOnSurfaceVariant is secondary text/icon color on surfaces.
	ColorNameOnSurfaceVariant bellui.ThemeColorName = "onSurfaceVariant"

	// ColorNameOutline is the MD3 outline/border color.
	ColorNameOutline bellui.ThemeColorName = "outline"
	// ColorNameOutlineVariant is the MD3 subtle outline color.
	ColorNameOutlineVariant bellui.ThemeColorName = "outlineVariant"

	// ColorNameInverseSurface is the MD3 inverse surface color.
	ColorNameInverseSurface bellui.ThemeColorName = "inverseSurface"
	// ColorNameInverseOnSurface is text/icon color on inverse surface.
	ColorNameInverseOnSurface bellui.ThemeColorName = "inverseOnSurface"
	// ColorNameInversePrimary is the MD3 inverse primary color.
	ColorNameInversePrimary bellui.ThemeColorName = "inversePrimary"

	// ColorNameScrim is the MD3 scrim overlay color for modals.
	ColorNameScrim bellui.ThemeColorName = "scrim"
)

Keep in mind to add new constants to the tests at test/theme.go.

View Source
const (
	// RenderStyleClassic is the original Bellui look. This is the default when the
	// theme does not implement RenderStyleTheme.
	RenderStyleClassic = internaltheme.RenderStyleClassic

	// RenderStyleModern provides enhanced visuals such as gradient buttons,
	// card background fills and deeper shadows.
	RenderStyleModern = internaltheme.RenderStyleModern
)
View Source
const (
	// IconNameCancel is the name of theme lookup for cancel icon.
	//
	// Since: 1.0
	IconNameCancel bellui.ThemeIconName = "cancel"

	// IconNameConfirm is the name of theme lookup for confirm icon.
	//
	// Since: 1.0
	IconNameConfirm bellui.ThemeIconName = "confirm"

	// IconNameDelete is the name of theme lookup for delete icon.
	//
	// Since: 1.0
	IconNameDelete bellui.ThemeIconName = "delete"

	// IconNameSearch is the name of theme lookup for search icon.
	//
	// Since: 1.0
	IconNameSearch bellui.ThemeIconName = "search"

	// IconNameSearchReplace is the name of theme lookup for search and replace icon.
	//
	// Since: 1.0
	IconNameSearchReplace bellui.ThemeIconName = "searchReplace"

	// IconNameMenu is the name of theme lookup for menu icon.
	//
	// Since: 1.0
	IconNameMenu bellui.ThemeIconName = "menu"

	// IconNameMenuExpand is the name of theme lookup for menu expansion icon.
	//
	// Since: 1.0
	IconNameMenuExpand bellui.ThemeIconName = "menuExpand"

	// IconNameCheckButton is the name of theme lookup for unchecked check button icon.
	//
	// Since: 1.0
	IconNameCheckButton bellui.ThemeIconName = "unchecked"

	// IconNameCheckButtonChecked is the name of theme lookup for checked check button icon.
	//
	// Since: 1.0
	IconNameCheckButtonChecked bellui.ThemeIconName = "checked"

	// IconNameCheckButtonFill is the name of theme lookup for filled check button icon.
	//
	// Since: 1.0
	IconNameCheckButtonFill bellui.ThemeIconName = "iconNameCheckButtonFill"

	// IconNameCheckButtonPartial is the name of theme lookup for "partially" checked check button icon.
	//
	// Since: 1.0
	IconNameCheckButtonPartial bellui.ThemeIconName = "partial"

	// IconNameRadioButton is the name of theme lookup for radio button unchecked icon.
	//
	// Since: 1.0
	IconNameRadioButton bellui.ThemeIconName = "radioButton"

	// IconNameRadioButtonChecked is the name of theme lookup for radio button checked icon.
	//
	// Since: 1.0
	IconNameRadioButtonChecked bellui.ThemeIconName = "radioButtonChecked"

	// IconNameRadioButtonFill is the name of theme lookup for filled radio button icon.
	//
	// Since: 1.0
	IconNameRadioButtonFill bellui.ThemeIconName = "iconNameRadioButtonFill"

	// IconNameColorAchromatic is the name of theme lookup for greyscale color icon.
	//
	// Since: 1.0
	IconNameColorAchromatic bellui.ThemeIconName = "colorAchromatic"

	// IconNameColorChromatic is the name of theme lookup for full color icon.
	//
	// Since: 1.0
	IconNameColorChromatic bellui.ThemeIconName = "colorChromatic"

	// IconNameColorPalette is the name of theme lookup for color palette icon.
	//
	// Since: 1.0
	IconNameColorPalette bellui.ThemeIconName = "colorPalette"

	// IconNameContentAdd is the name of theme lookup for content add icon.
	//
	// Since: 1.0
	IconNameContentAdd bellui.ThemeIconName = "contentAdd"

	// IconNameContentRemove is the name of theme lookup for content remove icon.
	//
	// Since: 1.0
	IconNameContentRemove bellui.ThemeIconName = "contentRemove"

	// IconNameContentCut is the name of theme lookup for content cut icon.
	//
	// Since: 1.0
	IconNameContentCut bellui.ThemeIconName = "contentCut"

	// IconNameContentCopy is the name of theme lookup for content copy icon.
	//
	// Since: 1.0
	IconNameContentCopy bellui.ThemeIconName = "contentCopy"

	// IconNameContentPaste is the name of theme lookup for content paste icon.
	//
	// Since: 1.0
	IconNameContentPaste bellui.ThemeIconName = "contentPaste"

	// IconNameContentClear is the name of theme lookup for content clear icon.
	//
	// Since: 1.0
	IconNameContentClear bellui.ThemeIconName = "contentClear"

	// IconNameContentRedo is the name of theme lookup for content redo icon.
	//
	// Since: 1.0
	IconNameContentRedo bellui.ThemeIconName = "contentRedo"

	// IconNameContentUndo is the name of theme lookup for content undo icon.
	//
	// Since: 1.0
	IconNameContentUndo bellui.ThemeIconName = "contentUndo"

	// IconNameInfo is the name of theme lookup for info icon.
	//
	// Since: 1.0
	IconNameInfo bellui.ThemeIconName = "info"

	// IconNameQuestion is the name of theme lookup for question icon.
	//
	// Since: 1.0
	IconNameQuestion bellui.ThemeIconName = "question"

	// IconNameWarning is the name of theme lookup for warning icon.
	//
	// Since: 1.0
	IconNameWarning bellui.ThemeIconName = "warning"

	// IconNameError is the name of theme lookup for error icon.
	//
	// Since: 1.0
	IconNameError bellui.ThemeIconName = "error"

	// IconNameBrokenImage is the name of the theme lookup for broken-image icon.
	//
	// Since: 1.0
	IconNameBrokenImage bellui.ThemeIconName = "broken-image"

	// IconNameDocument is the name of theme lookup for document icon.
	//
	// Since: 1.0
	IconNameDocument bellui.ThemeIconName = "document"

	// IconNameDocumentCreate is the name of theme lookup for document create icon.
	//
	// Since: 1.0
	IconNameDocumentCreate bellui.ThemeIconName = "documentCreate"

	// IconNameDocumentPrint is the name of theme lookup for document print icon.
	//
	// Since: 1.0
	IconNameDocumentPrint bellui.ThemeIconName = "documentPrint"

	// IconNameDocumentSave is the name of theme lookup for document save icon.
	//
	// Since: 1.0
	IconNameDocumentSave bellui.ThemeIconName = "documentSave"

	// IconNameDragCornerIndicator is the name of the icon used in inner windows to indicate a draggable corner.
	//
	// Since: 1.0
	IconNameDragCornerIndicator bellui.ThemeIconName = "dragCornerIndicator"

	// IconNameMoreHorizontal is the name of theme lookup for horizontal more.
	//
	// Since: 1.0
	IconNameMoreHorizontal bellui.ThemeIconName = "moreHorizontal"

	// IconNameMoreVertical is the name of theme lookup for vertical more.
	//
	// Since: 1.0
	IconNameMoreVertical bellui.ThemeIconName = "moreVertical"

	// IconNameMailAttachment is the name of theme lookup for mail attachment icon.
	//
	// Since: 1.0
	IconNameMailAttachment bellui.ThemeIconName = "mailAttachment"

	// IconNameMailCompose is the name of theme lookup for mail compose icon.
	//
	// Since: 1.0
	IconNameMailCompose bellui.ThemeIconName = "mailCompose"

	// IconNameMailForward is the name of theme lookup for mail forward icon.
	//
	// Since: 1.0
	IconNameMailForward bellui.ThemeIconName = "mailForward"

	// IconNameMailReply is the name of theme lookup for mail reply icon.
	//
	// Since: 1.0
	IconNameMailReply bellui.ThemeIconName = "mailReply"

	// IconNameMailReplyAll is the name of theme lookup for mail reply-all icon.
	//
	// Since: 1.0
	IconNameMailReplyAll bellui.ThemeIconName = "mailReplyAll"

	// IconNameMailSend is the name of theme lookup for mail send icon.
	//
	// Since: 1.0
	IconNameMailSend bellui.ThemeIconName = "mailSend"

	// IconNameMediaMusic is the name of theme lookup for media music icon.
	//
	// Since: 1.0
	IconNameMediaMusic bellui.ThemeIconName = "mediaMusic"

	// IconNameMediaPhoto is the name of theme lookup for media photo icon.
	//
	// Since: 1.0
	IconNameMediaPhoto bellui.ThemeIconName = "mediaPhoto"

	// IconNameMediaVideo is the name of theme lookup for media video icon.
	//
	// Since: 1.0
	IconNameMediaVideo bellui.ThemeIconName = "mediaVideo"

	// IconNameMediaFastForward is the name of theme lookup for media fast-forward icon.
	//
	// Since: 1.0
	IconNameMediaFastForward bellui.ThemeIconName = "mediaFastForward"

	// IconNameMediaFastRewind is the name of theme lookup for media fast-rewind icon.
	//
	// Since: 1.0
	IconNameMediaFastRewind bellui.ThemeIconName = "mediaFastRewind"

	// IconNameMediaPause is the name of theme lookup for media pause icon.
	//
	// Since: 1.0
	IconNameMediaPause bellui.ThemeIconName = "mediaPause"

	// IconNameMediaPlay is the name of theme lookup for media play icon.
	//
	// Since: 1.0
	IconNameMediaPlay bellui.ThemeIconName = "mediaPlay"

	// IconNameMediaRecord is the name of theme lookup for media record icon.
	//
	// Since: 1.0
	IconNameMediaRecord bellui.ThemeIconName = "mediaRecord"

	// IconNameMediaReplay is the name of theme lookup for media replay icon.
	//
	// Since: 1.0
	IconNameMediaReplay bellui.ThemeIconName = "mediaReplay"

	// IconNameMediaSkipNext is the name of theme lookup for media skip next icon.
	//
	// Since: 1.0
	IconNameMediaSkipNext bellui.ThemeIconName = "mediaSkipNext"

	// IconNameMediaSkipPrevious is the name of theme lookup for media skip previous icon.
	//
	// Since: 1.0
	IconNameMediaSkipPrevious bellui.ThemeIconName = "mediaSkipPrevious"

	// IconNameMediaStop is the name of theme lookup for media stop icon.
	//
	// Since: 1.0
	IconNameMediaStop bellui.ThemeIconName = "mediaStop"

	// IconNameMoveDown is the name of theme lookup for move down icon.
	//
	// Since: 1.0
	IconNameMoveDown bellui.ThemeIconName = "arrowDown"

	// IconNameMoveUp is the name of theme lookup for move up icon.
	//
	// Since: 1.0
	IconNameMoveUp bellui.ThemeIconName = "arrowUp"

	// IconNameNavigateBack is the name of theme lookup for navigate back icon.
	//
	// Since: 1.0
	IconNameNavigateBack bellui.ThemeIconName = "arrowBack"

	// IconNameNavigateNext is the name of theme lookup for navigate next icon.
	//
	// Since: 1.0
	IconNameNavigateNext bellui.ThemeIconName = "arrowForward"

	// IconNameArrowDropDown is the name of theme lookup for drop-down arrow icon.
	//
	// Since: 1.0
	IconNameArrowDropDown bellui.ThemeIconName = "arrowDropDown"

	// IconNameArrowDropUp is the name of theme lookup for drop-up arrow icon.
	//
	// Since: 1.0
	IconNameArrowDropUp bellui.ThemeIconName = "arrowDropUp"

	// IconNameFile is the name of theme lookup for file icon.
	//
	// Since: 1.0
	IconNameFile bellui.ThemeIconName = "file"

	// IconNameFileApplication is the name of theme lookup for file application icon.
	//
	// Since: 1.0
	IconNameFileApplication bellui.ThemeIconName = "fileApplication"

	// IconNameFileAudio is the name of theme lookup for file audio icon.
	//
	// Since: 1.0
	IconNameFileAudio bellui.ThemeIconName = "fileAudio"

	// IconNameFileImage is the name of theme lookup for file image icon.
	//
	// Since: 1.0
	IconNameFileImage bellui.ThemeIconName = "fileImage"

	// IconNameFileText is the name of theme lookup for file text icon.
	//
	// Since: 1.0
	IconNameFileText bellui.ThemeIconName = "fileText"

	// IconNameFileVideo is the name of theme lookup for file video icon.
	//
	// Since: 1.0
	IconNameFileVideo bellui.ThemeIconName = "fileVideo"

	// IconNameFolder is the name of theme lookup for folder icon.
	//
	// Since: 1.0
	IconNameFolder bellui.ThemeIconName = "folder"

	// IconNameFolderNew is the name of theme lookup for folder new icon.
	//
	// Since: 1.0
	IconNameFolderNew bellui.ThemeIconName = "folderNew"

	// IconNameFolderOpen is the name of theme lookup for folder open icon.
	//
	// Since: 1.0
	IconNameFolderOpen bellui.ThemeIconName = "folderOpen"

	// IconNameHelp is the name of theme lookup for help icon.
	//
	// Since: 1.0
	IconNameHelp bellui.ThemeIconName = "help"

	// IconNameHistory is the name of theme lookup for history icon.
	//
	// Since: 1.0
	IconNameHistory bellui.ThemeIconName = "history"

	// IconNameHome is the name of theme lookup for home icon.
	//
	// Since: 1.0
	IconNameHome bellui.ThemeIconName = "home"

	// IconNameSettings is the name of theme lookup for settings icon.
	//
	// Since: 1.0
	IconNameSettings bellui.ThemeIconName = "settings"

	// IconNameStorage is the name of theme lookup for storage icon.
	//
	// Since: 1.0
	IconNameStorage bellui.ThemeIconName = "storage"

	// IconNameUpload is the name of theme lookup for upload icon.
	//
	// Since: 1.0
	IconNameUpload bellui.ThemeIconName = "upload"

	// IconNameViewFullScreen is the name of theme lookup for view fullscreen icon.
	//
	// Since: 1.0
	IconNameViewFullScreen bellui.ThemeIconName = "viewFullScreen"

	// IconNameViewRefresh is the name of theme lookup for view refresh icon.
	//
	// Since: 1.0
	IconNameViewRefresh bellui.ThemeIconName = "viewRefresh"

	// IconNameViewZoomFit is the name of theme lookup for view zoom fit icon.
	//
	// Since: 1.0
	IconNameViewZoomFit bellui.ThemeIconName = "viewZoomFit"

	// IconNameViewZoomIn is the name of theme lookup for view zoom in icon.
	//
	// Since: 1.0
	IconNameViewZoomIn bellui.ThemeIconName = "viewZoomIn"

	// IconNameViewZoomOut is the name of theme lookup for view zoom out icon.
	//
	// Since: 1.0
	IconNameViewZoomOut bellui.ThemeIconName = "viewZoomOut"

	// IconNameViewRestore is the name of theme lookup for view restore icon.
	//
	// Since: 1.0
	IconNameViewRestore bellui.ThemeIconName = "viewRestore"

	// IconNameVisibility is the name of theme lookup for visibility icon.
	//
	// Since: 1.0
	IconNameVisibility bellui.ThemeIconName = "visibility"

	// IconNameVisibilityOff is the name of theme lookup for invisibility icon.
	//
	// Since: 1.0
	IconNameVisibilityOff bellui.ThemeIconName = "visibilityOff"

	// IconNameVolumeDown is the name of theme lookup for volume down icon.
	//
	// Since: 1.0
	IconNameVolumeDown bellui.ThemeIconName = "volumeDown"

	// IconNameVolumeMute is the name of theme lookup for volume mute icon.
	//
	// Since: 1.0
	IconNameVolumeMute bellui.ThemeIconName = "volumeMute"

	// IconNameVolumeUp is the name of theme lookup for volume up icon.
	//
	// Since: 1.0
	IconNameVolumeUp bellui.ThemeIconName = "volumeUp"

	// IconNameDownload is the name of theme lookup for download icon.
	//
	// Since: 1.0
	IconNameDownload bellui.ThemeIconName = "download"

	// IconNameComputer is the name of theme lookup for computer icon.
	//
	// Since: 1.0
	IconNameComputer bellui.ThemeIconName = "computer"

	// IconNameDesktop is the name of theme lookup for desktop icon.
	//
	// Since: 1.0
	IconNameDesktop bellui.ThemeIconName = "desktop"

	// IconNameAccount is the name of theme lookup for account icon.
	//
	// Since: 1.0
	IconNameAccount bellui.ThemeIconName = "account"

	// IconNameCalendar is the name of theme lookup for calendar icon.
	//
	// Since: 1.0
	IconNameCalendar bellui.ThemeIconName = "calendar"

	// IconNameLogin is the name of theme lookup for login icon.
	//
	// Since: 1.0
	IconNameLogin bellui.ThemeIconName = "login"

	// IconNameLogout is the name of theme lookup for logout icon.
	//
	// Since: 1.0
	IconNameLogout bellui.ThemeIconName = "logout"

	// IconNameList is the name of theme lookup for list icon.
	//
	// Since: 1.0
	IconNameList bellui.ThemeIconName = "list"

	// IconNameGrid is the name of theme lookup for grid icon.
	//
	// Since: 1.0
	IconNameGrid bellui.ThemeIconName = "grid"

	// IconNameWindowClose is the name of theme lookup for window close icon.
	//
	// Since: 1.0
	IconNameWindowClose bellui.ThemeIconName = "windowClose"

	// IconNameWindowMaximize is the name of theme lookup for window maximize icon.
	//
	// Since: 1.0
	IconNameWindowMaximize bellui.ThemeIconName = "windowMaximize"

	// IconNameWindowMinimize is the name of theme lookup for window minimize icon.
	//
	// Since: 1.0
	IconNameWindowMinimize bellui.ThemeIconName = "windowMinimize"
)
View Source
const (
	// SizeNameCaptionText is the name of theme lookup for helper text size, normally smaller than regular text size.
	//
	// Since: 1.0
	SizeNameCaptionText bellui.ThemeSizeName = "helperText"

	// SizeNameInlineIcon is the name of theme lookup for inline icons size.
	//
	// Since: 1.0
	SizeNameInlineIcon bellui.ThemeSizeName = "iconInline"

	// SizeNameInnerPadding is the name of theme lookup for internal widget padding size.
	//
	// Since: 1.0
	SizeNameInnerPadding bellui.ThemeSizeName = "innerPadding"

	// SizeNameLineSpacing is the name of theme lookup for between text line spacing.
	//
	// Since: 1.0
	SizeNameLineSpacing bellui.ThemeSizeName = "lineSpacing"

	// SizeNamePadding is the name of theme lookup for padding size.
	//
	// Since: 1.0
	SizeNamePadding bellui.ThemeSizeName = "padding"

	// SizeNameScrollBar is the name of theme lookup for the scrollbar size.
	//
	// Since: 1.0
	SizeNameScrollBar bellui.ThemeSizeName = "scrollBar"

	// SizeNameScrollBarMinThumb is the name of theme lookup for the minimum
	// scroll bar thumb length along its axis. Platform scrollbars keep the
	// thumb grabbable no matter how long the content is; without a floor a
	// very long document's proportional thumb shrinks to a few pixels.
	//
	// Since: 1.0
	SizeNameScrollBarMinThumb bellui.ThemeSizeName = "scrollBarMinThumb"

	// SizeNameScrollBarSmall is the name of theme lookup for the shrunk scrollbar size.
	//
	// Since: 1.0
	SizeNameScrollBarSmall bellui.ThemeSizeName = "scrollBarSmall"

	// SizeNameSeparatorThickness is the name of theme lookup for the thickness of a separator.
	//
	// Since: 1.0
	SizeNameSeparatorThickness bellui.ThemeSizeName = "separator"

	// SizeNameText is the name of theme lookup for text size.
	//
	// Since: 1.0
	SizeNameText bellui.ThemeSizeName = "text"

	// SizeNameHeadingText is the name of theme lookup for text size of a heading.
	//
	// Since: 1.0
	SizeNameHeadingText bellui.ThemeSizeName = "headingText"

	// SizeNameSubHeadingText is the name of theme lookup for text size of a sub-heading.
	//
	// Since: 1.0
	SizeNameSubHeadingText bellui.ThemeSizeName = "subHeadingText"

	// SizeNameInputBorder is the name of theme lookup for input border size.
	//
	// Since: 1.0
	SizeNameInputBorder bellui.ThemeSizeName = "inputBorder"

	// SizeNameInputRadius is the name of theme lookup for input corner radius.
	//
	// Since: 1.0
	SizeNameInputRadius bellui.ThemeSizeName = "inputRadius"

	// SizeNameSelectionRadius is the name of theme lookup for selection corner radius.
	//
	// Since: 1.0
	SizeNameSelectionRadius bellui.ThemeSizeName = "selectionRadius"

	// SizeNameScrollBarRadius is the name of theme lookup for the scroll bar corner radius.
	//
	// Since: 1.0
	SizeNameScrollBarRadius bellui.ThemeSizeName = "scrollBarRadius"

	// SizeNameWindowButtonHeight is the name of the height for an inner window titleBar button.
	//
	// Since: 1.0
	SizeNameWindowButtonHeight bellui.ThemeSizeName = "windowButtonHeight"

	// SizeNameWindowButtonRadius is the name of the radius for an inner window titleBar button.
	//
	// Since: 1.0
	SizeNameWindowButtonRadius bellui.ThemeSizeName = "windowButtonRadius"

	// SizeNameWindowButtonIcon is the name of the width of an inner window titleBar button.
	//
	// Since: 1.0
	SizeNameWindowButtonIcon bellui.ThemeSizeName = "windowButtonIcon"

	// SizeNameWindowTitleBarHeight is the height for inner window titleBars.
	//
	// Since: 1.0
	SizeNameWindowTitleBarHeight bellui.ThemeSizeName = "windowTitleBarHeight"

	// SizeNameTabContentMargin is the gap between a tab bar and the content
	// area of the selected tab in AppTabs and DocTabs.
	//
	// Since: 1.0
	SizeNameTabContentMargin bellui.ThemeSizeName = "tabContentMargin"

	// SizeNameShadowDepth is a multiplier for shadow depth. The default builtin theme
	// returns 0, which means use the standard depth of float32(elevationLevel).
	// A value of 4 means shadows are 4x deeper than the elevation level.
	SizeNameShadowDepth bellui.ThemeSizeName = "shadowDepth"

	// SizeNameButtonRadius is the corner radius for buttons. If 0, falls back to SizeNameInputRadius.
	SizeNameButtonRadius bellui.ThemeSizeName = "buttonRadius"

	// SizeNameCardRadius is the corner radius for cards. If 0, cards have no corner rounding.
	SizeNameCardRadius bellui.ThemeSizeName = "cardRadius"

	SizeNameDisplayLarge  bellui.ThemeSizeName = "displayLarge"  // 57px
	SizeNameDisplayMedium bellui.ThemeSizeName = "displayMedium" // 45px
	SizeNameDisplaySmall  bellui.ThemeSizeName = "displaySmall"  // 36px

	SizeNameHeadlineLarge  bellui.ThemeSizeName = "headlineLarge"  // 32px
	SizeNameHeadlineMedium bellui.ThemeSizeName = "headlineMedium" // 28px
	SizeNameHeadlineSmall  bellui.ThemeSizeName = "headlineSmall"  // 24px

	SizeNameTitleLarge  bellui.ThemeSizeName = "titleLarge"  // 22px
	SizeNameTitleMedium bellui.ThemeSizeName = "titleMedium" // 16px
	SizeNameTitleSmall  bellui.ThemeSizeName = "titleSmall"  // 14px

	SizeNameBodyLarge  bellui.ThemeSizeName = "bodyLarge"  // 16px
	SizeNameBodyMedium bellui.ThemeSizeName = "bodyMedium" // 14px
	SizeNameBodySmall  bellui.ThemeSizeName = "bodySmall"  // 12px

	SizeNameLabelLarge  bellui.ThemeSizeName = "labelLarge"  // 14px
	SizeNameLabelMedium bellui.ThemeSizeName = "labelMedium" // 12px
	SizeNameLabelSmall  bellui.ThemeSizeName = "labelSmall"  // 11px

	// SizeNameIconButtonSize is the touch target size for icon-only buttons and action buttons in bars.
	SizeNameIconButtonSize bellui.ThemeSizeName = "iconButtonSize" // 40dp

	// SizeNameIconSize is the standard MD3 icon content size used in FABs, chips, nav items, icon buttons.
	SizeNameIconSize bellui.ThemeSizeName = "iconSize" // 24dp

	// SizeNameFABSize is the standard Floating Action Button outer dimension.
	SizeNameFABSize bellui.ThemeSizeName = "fabSize" // 56dp

	// SizeNameChipHeight is the height of chip components.
	SizeNameChipHeight bellui.ThemeSizeName = "chipHeight" // 32dp

	// SizeNameButtonMinHeight is the minimum height for MD3-style buttons and segmented button segments.
	SizeNameButtonMinHeight bellui.ThemeSizeName = "buttonMinHeight" // 40dp

	// SizeNameNavBarHeight is the height of the bottom navigation bar.
	SizeNameNavBarHeight bellui.ThemeSizeName = "navBarHeight" // 80dp

	// SizeNameNavRailWidth is the width of the side navigation rail.
	SizeNameNavRailWidth bellui.ThemeSizeName = "navRailWidth" // 80dp

	// SizeNameTopBarHeight is the height of the top app bar.
	SizeNameTopBarHeight bellui.ThemeSizeName = "topBarHeight" // 64dp

	// SizeNameBottomBarHeight is the height of the bottom app bar.
	SizeNameBottomBarHeight bellui.ThemeSizeName = "bottomBarHeight" // 80dp

	// SizeNameSwitchTrackWidth is the switch track width. Height and thumb are derived proportionally.
	SizeNameSwitchTrackWidth bellui.ThemeSizeName = "switchTrackWidth" // 52dp

	SizeNameShapeNone       bellui.ThemeSizeName = "shapeNone"       // 0dp
	SizeNameShapeExtraSmall bellui.ThemeSizeName = "shapeExtraSmall" // 4dp
	SizeNameShapeSmall      bellui.ThemeSizeName = "shapeSmall"      // 8dp
	SizeNameShapeMedium     bellui.ThemeSizeName = "shapeMedium"     // 12dp
	SizeNameShapeLarge      bellui.ThemeSizeName = "shapeLarge"      // 16dp
	SizeNameShapeExtraLarge bellui.ThemeSizeName = "shapeExtraLarge" // 28dp
	SizeNameShapeFull       bellui.ThemeSizeName = "shapeFull"       // 9999dp (pill)
)
View Source
const (
	// VariantDark is the version of a theme that satisfies a user preference for a dark look.
	//
	// Since: 1.0
	VariantDark = internaltheme.VariantDark

	// VariantLight is the version of a theme that satisfies a user preference for a light look.
	//
	// Since: 1.0
	VariantLight = internaltheme.VariantLight
)

Keep in mind to add new constants to the tests at test/theme.go.

Variables

View Source
var (
	TypographyDisplayLarge = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(64.0 / 57.0)), LetterSpacing: bellui.Ptr(float32(-0.25)),
	}
	TypographyDisplayMedium = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(52.0 / 45.0)),
	}
	TypographyDisplaySmall = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(44.0 / 36.0)),
	}

	TypographyHeadlineLarge = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(40.0 / 32.0)),
	}
	TypographyHeadlineMedium = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(36.0 / 28.0)),
	}
	TypographyHeadlineSmall = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(32.0 / 24.0)),
	}

	TypographyTitleLarge = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(28.0 / 22.0)),
	}
	TypographyTitleMedium = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightMedium), LineHeightScale: bellui.Ptr(float32(24.0 / 16.0)), LetterSpacing: bellui.Ptr(float32(0.15)),
	}
	TypographyTitleSmall = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightMedium), LineHeightScale: bellui.Ptr(float32(20.0 / 14.0)), LetterSpacing: bellui.Ptr(float32(0.1)),
	}

	TypographyBodyLarge = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(24.0 / 16.0)), LetterSpacing: bellui.Ptr(float32(0.5)),
	}
	TypographyBodyMedium = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(20.0 / 14.0)), LetterSpacing: bellui.Ptr(float32(0.25)),
	}
	TypographyBodySmall = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightNormal), LineHeightScale: bellui.Ptr(float32(16.0 / 12.0)), LetterSpacing: bellui.Ptr(float32(0.4)),
	}

	TypographyLabelLarge = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightMedium), LineHeightScale: bellui.Ptr(float32(20.0 / 14.0)), LetterSpacing: bellui.Ptr(float32(0.1)),
	}
	TypographyLabelMedium = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightMedium), LineHeightScale: bellui.Ptr(float32(16.0 / 12.0)), LetterSpacing: bellui.Ptr(float32(0.5)),
	}
	TypographyLabelSmall = bellui.TextStyle{
		Weight: bellui.Ptr(bellui.WeightMedium), LineHeightScale: bellui.Ptr(float32(16.0 / 11.0)), LetterSpacing: bellui.Ptr(float32(0.5)),
	}
)

MD3 Typography Scale presets. Each bundles the Weight, LineHeightScale, and LetterSpacing for a specific MD3 type token. Use with the corresponding SizeName constant for the font size:

text := canvas.NewText("Hello", color.White)
text.TextSize = theme.Size(theme.SizeNameBodyMedium) // 14px
text.TextStyle = theme.TypographyBodyMedium

Functions

func AccountIcon

func AccountIcon() bellui.Resource

AccountIcon returns a resource containing the standard account icon for the current theme

func BrokenImageIcon

func BrokenImageIcon() bellui.Resource

BrokenImageIcon returns a resource containing an icon to specify a broken or missing image

Since: 1.0

func CalendarIcon

func CalendarIcon() bellui.Resource

CalendarIcon returns a resource containing the standard account icon for the current theme

Since: 1.0

func CancelIcon

func CancelIcon() bellui.Resource

CancelIcon returns a resource containing the standard cancel icon for the current theme

func CaptionTextSize

func CaptionTextSize() float32

CaptionTextSize returns the size for caption text.

func CheckButtonCheckedIcon

func CheckButtonCheckedIcon() bellui.Resource

CheckButtonCheckedIcon returns a resource containing the standard checkbox checked icon for the current theme

func CheckButtonFillIcon

func CheckButtonFillIcon() bellui.Resource

CheckButtonFillIcon returns a resource containing the filled checkbox icon for the current theme.

Since: 1.0

func CheckButtonIcon

func CheckButtonIcon() bellui.Resource

CheckButtonIcon returns a resource containing the standard checkbox icon for the current theme

func Color

func Color(name bellui.ThemeColorName) color.Color

Color looks up the named colour for current theme and variant.

Since: 1.0

func ColorAchromaticIcon

func ColorAchromaticIcon() bellui.Resource

ColorAchromaticIcon returns a resource containing the standard achromatic color icon for the current theme

func ColorChromaticIcon

func ColorChromaticIcon() bellui.Resource

ColorChromaticIcon returns a resource containing the standard chromatic color icon for the current theme

func ColorForWidget

func ColorForWidget(name bellui.ThemeColorName, w core.Widget) color.Color

ColorForWidget looks up the named colour for the requested widget using the current theme and variant. If the widget theme has been overridden that theme will be used.

Since: 1.0

func ColorFromMD3Scheme

func ColorFromMD3Scheme(s *MD3Scheme, n bellui.ThemeColorName, v bellui.ThemeVariant) color.Color

ColorFromMD3Scheme resolves a Bellui color name against the given MD3 scheme. It handles both MD3-specific names (PrimaryContainer, OnSurface, etc.) and legacy Bellui names (Background, Button, Disabled, etc.) mapped to their MD3 equivalents. Returns nil for names not mapped to the scheme (e.g., Warning which uses a separate palette). Callers should fall back to their base theme for nil results.

func ColorPaletteIcon

func ColorPaletteIcon() bellui.Resource

ColorPaletteIcon returns a resource containing the standard color palette icon for the current theme

func ComputerIcon

func ComputerIcon() bellui.Resource

ComputerIcon returns a resource containing the standard computer icon for the current theme

func ConfirmIcon

func ConfirmIcon() bellui.Resource

ConfirmIcon returns a resource containing the standard confirm icon for the current theme

func ContentAddIcon

func ContentAddIcon() bellui.Resource

ContentAddIcon returns a resource containing the standard content add icon for the current theme

func ContentClearIcon

func ContentClearIcon() bellui.Resource

ContentClearIcon returns a resource containing the standard content clear icon for the current theme

func ContentCopyIcon

func ContentCopyIcon() bellui.Resource

ContentCopyIcon returns a resource containing the standard content copy icon for the current theme

func ContentCutIcon

func ContentCutIcon() bellui.Resource

ContentCutIcon returns a resource containing the standard content cut icon for the current theme

func ContentPasteIcon

func ContentPasteIcon() bellui.Resource

ContentPasteIcon returns a resource containing the standard content paste icon for the current theme

func ContentRedoIcon

func ContentRedoIcon() bellui.Resource

ContentRedoIcon returns a resource containing the standard content redo icon for the current theme

func ContentRemoveIcon

func ContentRemoveIcon() bellui.Resource

ContentRemoveIcon returns a resource containing the standard content remove icon for the current theme

func ContentUndoIcon

func ContentUndoIcon() bellui.Resource

ContentUndoIcon returns a resource containing the standard content undo icon for the current theme

func Current

func Current() bellui.Theme

Current returns the theme that is currently used for the running application. It looks up based on user preferences and application configuration.

Since: 1.0

func CurrentForWidget

func CurrentForWidget(w core.CanvasObject) bellui.Theme

CurrentForWidget returns the theme that is currently used for the specified widget. It looks for widget overrides and falls back to the application's current theme.

Since: 1.0

func DefaultEmojiFont

func DefaultEmojiFont() bellui.Resource

DefaultEmojiFont returns the font resource for the built-in emoji font. This may return nil if the application was packaged without an emoji font.

Since: 1.0

func DefaultSymbolFont

func DefaultSymbolFont() bellui.Resource

DefaultSymbolFont returns the font resource for the built-in symbol font.

Since: 1.0

func DefaultSymbolsFallbackFonts

func DefaultSymbolsFallbackFonts() []bellui.Resource

DefaultSymbolsFallbackFonts returns the bundled symbol fallback faces consulted, after the theme and emoji fonts, for glyphs the primary fonts do not cover — common UI symbols such as ✓, ☐, arrows, ⌘ and geometric shapes. Bundling them keeps those glyphs' metrics identical on every platform instead of falling back to a host system font. This returns nil when the application was packaged with the no_symbols build tag.

func DefaultTextBoldFont

func DefaultTextBoldFont() bellui.Resource

DefaultTextBoldFont returns the font resource for the built-in bold font style.

func DefaultTextBoldItalicFont

func DefaultTextBoldItalicFont() bellui.Resource

DefaultTextBoldItalicFont returns the font resource for the built-in bold and italic font style.

func DefaultTextFont

func DefaultTextFont() bellui.Resource

DefaultTextFont returns the font resource for the built-in regular font style.

func DefaultTextItalicFont

func DefaultTextItalicFont() bellui.Resource

DefaultTextItalicFont returns the font resource for the built-in italic font style.

func DefaultTextMonospaceFont

func DefaultTextMonospaceFont() bellui.Resource

DefaultTextMonospaceFont returns the font resource for the built-in monospace font face.

func DefaultTheme

func DefaultTheme() bellui.Theme

DefaultTheme returns a built-in theme that can adapt to the user preference of light or dark colors.

Since: 1.0

func DeleteIcon

func DeleteIcon() bellui.Resource

DeleteIcon returns a resource containing the standard delete icon for the current theme

func DenseTheme

func DenseTheme() bellui.Theme

DenseTheme returns a theme optimized for high-density desktop layouts.

func DesktopIcon

func DesktopIcon() bellui.Resource

DesktopIcon returns a resource containing the standard desktop icon for the current theme

func DocumentCreateIcon

func DocumentCreateIcon() bellui.Resource

DocumentCreateIcon returns a resource containing the standard document create icon for the current theme

func DocumentIcon

func DocumentIcon() bellui.Resource

DocumentIcon returns a resource containing the standard document icon for the current theme

func DocumentPrintIcon

func DocumentPrintIcon() bellui.Resource

DocumentPrintIcon returns a resource containing the standard document print icon for the current theme

func DocumentSaveIcon

func DocumentSaveIcon() bellui.Resource

DocumentSaveIcon returns a resource containing the standard document save icon for the current theme

func DownloadIcon

func DownloadIcon() bellui.Resource

DownloadIcon returns a resource containing the standard download icon for the current theme

func ErrorIcon

func ErrorIcon() bellui.Resource

ErrorIcon returns a resource containing the standard dialog error icon for the current theme

func FileApplicationIcon

func FileApplicationIcon() bellui.Resource

FileApplicationIcon returns a resource containing the file icon representing application files for the current theme

func FileAudioIcon

func FileAudioIcon() bellui.Resource

FileAudioIcon returns a resource containing the file icon representing audio files for the current theme

func FileIcon

func FileIcon() bellui.Resource

FileIcon returns a resource containing the appropriate file icon for the current theme

func FileImageIcon

func FileImageIcon() bellui.Resource

FileImageIcon returns a resource containing the file icon representing image files for the current theme

func FileTextIcon

func FileTextIcon() bellui.Resource

FileTextIcon returns a resource containing the file icon representing text files for the current theme

func FileVideoIcon

func FileVideoIcon() bellui.Resource

FileVideoIcon returns a resource containing the file icon representing video files for the current theme

func FolderIcon

func FolderIcon() bellui.Resource

FolderIcon returns a resource containing the standard folder icon for the current theme

func FolderNewIcon

func FolderNewIcon() bellui.Resource

FolderNewIcon returns a resource containing the standard folder creation icon for the current theme

func FolderOpenIcon

func FolderOpenIcon() bellui.Resource

FolderOpenIcon returns a resource containing the standard folder open icon for the current theme

func Font

func Font(style bellui.TextStyle) bellui.Resource

Font looks up the font for current theme and text style.

Since: 1.0

func FromJSON

func FromJSON(data string) (bellui.Theme, error)

FromJSON returns a Theme created from the given JSON metadata. Any values not present in the data will fall back to the default theme. If a parse error occurs it will be returned along with a default theme.

Since: 1.0

func FromJSONReader

func FromJSONReader(r io.Reader) (bellui.Theme, error)

FromJSONReader returns a Theme created from the given JSON metadata through the reader. Any values not present in the data will fall back to the default theme. If a parse error occurs it will be returned along with a default theme.

Since: 1.0

func FromJSONReaderWithFallback

func FromJSONReaderWithFallback(r io.Reader, fallback bellui.Theme) (bellui.Theme, error)

FromJSONReaderWithFallback returns a Theme created from the given JSON metadata through the reader. Any values not present in the data will fall back to the specified theme. If a parse error occurs it will be returned along with a specified fallback theme.

Since: 1.0

func FromJSONWithFallback

func FromJSONWithFallback(data string, fallback bellui.Theme) (bellui.Theme, error)

FromJSONWithFallback returns a Theme created from the given JSON metadata. Any values not present in the data will fall back to the specified theme. If a parse error occurs it will be returned along with a specified fallback theme.

Since: 1.0

func FromLegacy

func FromLegacy(t bellui.LegacyTheme) bellui.Theme

FromLegacy returns a 2.0 Theme created from the given LegacyTheme data. This is a transition path and will be removed in the future (probably version 3.0).

Since: 1.0

func GridIcon

func GridIcon() bellui.Resource

GridIcon returns a resource containing the standard grid icon for the current theme

func HelpIcon

func HelpIcon() bellui.Resource

HelpIcon returns a resource containing the standard help icon for the current theme

func HistoryIcon

func HistoryIcon() bellui.Resource

HistoryIcon returns a resource containing the standard history icon for the current theme

func HomeIcon

func HomeIcon() bellui.Resource

HomeIcon returns a resource containing the standard home folder icon for the current theme

func Icon

Icon looks up the specified icon for current theme.

Since: 1.0

func IconForWidget

func IconForWidget(name bellui.ThemeIconName, w core.Widget) bellui.Resource

IconForWidget looks up the specified icon for requested widget using the current theme. If the widget theme has been overridden that theme will be used.

Since: 1.0

func IconInlineSize

func IconInlineSize() float32

IconInlineSize is the standard size of icons which appear within buttons, labels etc.

func InfoIcon

func InfoIcon() bellui.Resource

InfoIcon returns a resource containing the standard dialog info icon for the current theme

func InnerPadding

func InnerPadding() float32

InnerPadding is the standard gap between element content and the outside edge of a widget.

Since: 1.0

func InputBorderSize

func InputBorderSize() float32

InputBorderSize returns the input border size (or underline size for an entry).

Since: 1.0

func InputRadiusSize

func InputRadiusSize() float32

InputRadiusSize returns the input radius size.

Since: 1.0

func LineSpacing

func LineSpacing() float32

LineSpacing is the default gap between multiple lines of text.

Since: 1.0

func ListIcon

func ListIcon() bellui.Resource

ListIcon returns a resource containing the standard list icon for the current theme

func LoginIcon

func LoginIcon() bellui.Resource

LoginIcon returns a resource containing the standard login icon for the current theme

func LogoutIcon

func LogoutIcon() bellui.Resource

LogoutIcon returns a resource containing the standard logout icon for the current theme

func MailAttachmentIcon

func MailAttachmentIcon() bellui.Resource

MailAttachmentIcon returns a resource containing the standard mail attachment icon for the current theme

func MailComposeIcon

func MailComposeIcon() bellui.Resource

MailComposeIcon returns a resource containing the standard mail compose icon for the current theme

func MailForwardIcon

func MailForwardIcon() bellui.Resource

MailForwardIcon returns a resource containing the standard mail forward icon for the current theme

func MailReplyAllIcon

func MailReplyAllIcon() bellui.Resource

MailReplyAllIcon returns a resource containing the standard mail reply all icon for the current theme

func MailReplyIcon

func MailReplyIcon() bellui.Resource

MailReplyIcon returns a resource containing the standard mail reply icon for the current theme

func MailSendIcon

func MailSendIcon() bellui.Resource

MailSendIcon returns a resource containing the standard mail send icon for the current theme

func MediaFastForwardIcon

func MediaFastForwardIcon() bellui.Resource

MediaFastForwardIcon returns a resource containing the standard media fast-forward icon for the current theme

func MediaFastRewindIcon

func MediaFastRewindIcon() bellui.Resource

MediaFastRewindIcon returns a resource containing the standard media fast-rewind icon for the current theme

func MediaMusicIcon

func MediaMusicIcon() bellui.Resource

MediaMusicIcon returns a resource containing the standard media music icon for the current theme

Since: 1.0

func MediaPauseIcon

func MediaPauseIcon() bellui.Resource

MediaPauseIcon returns a resource containing the standard media pause icon for the current theme

func MediaPhotoIcon

func MediaPhotoIcon() bellui.Resource

MediaPhotoIcon returns a resource containing the standard media photo icon for the current theme

Since: 1.0

func MediaPlayIcon

func MediaPlayIcon() bellui.Resource

MediaPlayIcon returns a resource containing the standard media play icon for the current theme

func MediaRecordIcon

func MediaRecordIcon() bellui.Resource

MediaRecordIcon returns a resource containing the standard media record icon for the current theme

func MediaReplayIcon

func MediaReplayIcon() bellui.Resource

MediaReplayIcon returns a resource containing the standard media replay icon for the current theme

func MediaSkipNextIcon

func MediaSkipNextIcon() bellui.Resource

MediaSkipNextIcon returns a resource containing the standard media skip next icon for the current theme

func MediaSkipPreviousIcon

func MediaSkipPreviousIcon() bellui.Resource

MediaSkipPreviousIcon returns a resource containing the standard media skip previous icon for the current theme

func MediaStopIcon

func MediaStopIcon() bellui.Resource

MediaStopIcon returns a resource containing the standard media stop icon for the current theme

func MediaVideoIcon

func MediaVideoIcon() bellui.Resource

MediaVideoIcon returns a resource containing the standard media video icon for the current theme

Since: 1.0

func MenuDropDownIcon() bellui.Resource

MenuDropDownIcon returns a resource containing the standard menu drop down icon for the current theme

func MenuDropUpIcon() bellui.Resource

MenuDropUpIcon returns a resource containing the standard menu drop up icon for the current theme

func MenuExpandIcon() bellui.Resource

MenuExpandIcon returns a resource containing the standard (mobile) expand "submenu icon for the current theme

func MenuIcon() bellui.Resource

MenuIcon returns a resource containing the standard (mobile) menu icon for the current theme

func MoreHorizontalIcon

func MoreHorizontalIcon() bellui.Resource

MoreHorizontalIcon returns a resource containing the standard horizontal more icon for the current theme

func MoreVerticalIcon

func MoreVerticalIcon() bellui.Resource

MoreVerticalIcon returns a resource containing the standard vertical more icon for the current theme

func MoveDownIcon

func MoveDownIcon() bellui.Resource

MoveDownIcon returns a resource containing the standard down arrow icon for the current theme

func MoveUpIcon

func MoveUpIcon() bellui.Resource

MoveUpIcon returns a resource containing the standard up arrow icon for the current theme

func NavigateBackIcon() bellui.Resource

NavigateBackIcon returns a resource containing the standard backward navigation icon for the current theme

func NavigateNextIcon() bellui.Resource

NavigateNextIcon returns a resource containing the standard forward navigation icon for the current theme

func Padding

func Padding() float32

Padding is the standard gap between elements and the border around interface elements.

func PrimaryColorNames

func PrimaryColorNames() []string

PrimaryColorNames returns a list of the standard primary color options.

Since: 1.0

func QuestionIcon

func QuestionIcon() bellui.Resource

QuestionIcon returns a resource containing the standard dialog question icon for the current theme

func RadioButtonCheckedIcon

func RadioButtonCheckedIcon() bellui.Resource

RadioButtonCheckedIcon returns a resource containing the standard radio button checked icon for the current theme

func RadioButtonFillIcon

func RadioButtonFillIcon() bellui.Resource

RadioButtonFillIcon returns a resource containing the filled checkbox icon for the current theme.

Since: 1.0

func RadioButtonIcon

func RadioButtonIcon() bellui.Resource

RadioButtonIcon returns a resource containing the standard radio button icon for the current theme

func ScrollBarMinThumbSize

func ScrollBarMinThumbSize() float32

ScrollBarMinThumbSize is the minimum length of a scroll bar thumb along its axis, keeping it grabbable on very long content.

Since: 1.0

func ScrollBarSize

func ScrollBarSize() float32

ScrollBarSize is the width (or height) of the bars on a ScrollContainer.

func ScrollBarSmallSize

func ScrollBarSmallSize() float32

ScrollBarSmallSize is the width (or height) of the minimized bars on a ScrollContainer.

func SearchIcon

func SearchIcon() bellui.Resource

SearchIcon returns a resource containing the standard search icon for the current theme

func SearchReplaceIcon

func SearchReplaceIcon() bellui.Resource

SearchReplaceIcon returns a resource containing the standard search and replace icon for the current theme

func SelectionRadiusSize

func SelectionRadiusSize() float32

SelectionRadiusSize returns the selection highlight radius size.

Since: 1.0

func SeparatorThicknessSize

func SeparatorThicknessSize() float32

SeparatorThicknessSize is the standard thickness of the separator widget.

Since: 1.0

func SettingsIcon

func SettingsIcon() bellui.Resource

SettingsIcon returns a resource containing the standard settings icon for the current theme

func Size

func Size(name bellui.ThemeSizeName) float32

Size looks up the specified size for current theme.

Since: 1.0

func SizeForWidget

func SizeForWidget(name bellui.ThemeSizeName, w core.Widget) float32

SizeForWidget looks up the specified size for the requested widget using the current theme. If the widget theme has been overridden that theme will be used.

Since: 1.0

func StateLayerDragged

func StateLayerDragged(contentColor color.Color) color.Color

StateLayerDragged returns a state layer color for dragged state (16% opacity of content color).

func StateLayerFocus

func StateLayerFocus(contentColor color.Color) color.Color

StateLayerFocus returns a state layer color for focus state (12% opacity of content color).

func StateLayerHover

func StateLayerHover(contentColor color.Color) color.Color

StateLayerHover returns a state layer color for hover state (8% opacity of content color).

func StateLayerPressed

func StateLayerPressed(contentColor color.Color) color.Color

StateLayerPressed returns a state layer color for pressed state (12% opacity of content color).

func StorageIcon

func StorageIcon() bellui.Resource

StorageIcon returns a resource containing the standard storage icon for the current theme

func SurfaceWithElevation

func SurfaceWithElevation(surface, primary color.Color, level int) color.Color

SurfaceWithElevation returns a surface color tinted with the primary color at the opacity appropriate for the given MD3 elevation level (0–5). In dark themes, elevated surfaces get a subtle primary color overlay. In light themes, the surface is returned unchanged (MD3 uses shadow, not tint, for light).

func SymbolFont

func SymbolFont() bellui.Resource

SymbolFont returns the font resource for the symbol font style.

Since: 1.0

func TextBoldFont

func TextBoldFont() bellui.Resource

TextBoldFont returns the font resource for the bold font style.

func TextBoldItalicFont

func TextBoldItalicFont() bellui.Resource

TextBoldItalicFont returns the font resource for the bold and italic font style.

func TextFont

func TextFont() bellui.Resource

TextFont returns the font resource for the regular font style.

func TextHeadingSize

func TextHeadingSize() float32

TextHeadingSize returns the text size for header text.

Since: 1.0

func TextItalicFont

func TextItalicFont() bellui.Resource

TextItalicFont returns the font resource for the italic font style.

func TextMonospaceFont

func TextMonospaceFont() bellui.Resource

TextMonospaceFont returns the font resource for the monospace font face.

func TextSize

func TextSize() float32

TextSize returns the standard text size.

func TextSubHeadingSize

func TextSubHeadingSize() float32

TextSubHeadingSize returns the text size for sub-header text.

Since: 1.0

func UploadIcon

func UploadIcon() bellui.Resource

UploadIcon returns a resource containing the standard upload icon for the current theme

func ValidateTheme

func ValidateTheme(t bellui.Theme) []string

ValidateTheme checks a theme implementation against all known keys and reports any that return fallback values (transparent colors, zero sizes, nil icons). Returns a list of issues found. Useful in tests and development.

func ViewFullScreenIcon

func ViewFullScreenIcon() bellui.Resource

ViewFullScreenIcon returns a resource containing the standard fullscreen icon for the current theme

func ViewRefreshIcon

func ViewRefreshIcon() bellui.Resource

ViewRefreshIcon returns a resource containing the standard refresh icon for the current theme

func ViewRestoreIcon

func ViewRestoreIcon() bellui.Resource

ViewRestoreIcon returns a resource containing the standard exit fullscreen icon for the current theme

func VisibilityIcon

func VisibilityIcon() bellui.Resource

VisibilityIcon returns a resource containing the standard visibility icon for the current theme

func VisibilityOffIcon

func VisibilityOffIcon() bellui.Resource

VisibilityOffIcon returns a resource containing the standard visibility off icon for the current theme

func VolumeDownIcon

func VolumeDownIcon() bellui.Resource

VolumeDownIcon returns a resource containing the standard volume down icon for the current theme

func VolumeMuteIcon

func VolumeMuteIcon() bellui.Resource

VolumeMuteIcon returns a resource containing the standard volume mute icon for the current theme

func VolumeUpIcon

func VolumeUpIcon() bellui.Resource

VolumeUpIcon returns a resource containing the standard volume up icon for the current theme

func WarningIcon

func WarningIcon() bellui.Resource

WarningIcon returns a resource containing the standard dialog warning icon for the current theme

func WindowCloseIcon

func WindowCloseIcon() bellui.Resource

WindowCloseIcon returns a resource containing the window close icon for the current theme

Since: 1.0

func WindowMaximizeIcon

func WindowMaximizeIcon() bellui.Resource

WindowMaximizeIcon returns a resource containing the window maximize icon for the current theme

Since: 1.0

func WindowMinimizeIcon

func WindowMinimizeIcon() bellui.Resource

WindowMinimizeIcon returns a resource containing the window minimize icon for the current theme

Since: 1.0

func ZoomFitIcon

func ZoomFitIcon() bellui.Resource

ZoomFitIcon returns a resource containing the standard zoom fit icon for the current theme

func ZoomInIcon

func ZoomInIcon() bellui.Resource

ZoomInIcon returns a resource containing the standard zoom in icon for the current theme

func ZoomOutIcon

func ZoomOutIcon() bellui.Resource

ZoomOutIcon returns a resource containing the standard zoom out icon for the current theme

Types

type CorePalettes

type CorePalettes struct {
	Primary, Secondary, Tertiary, Error, Neutral, NeutralVariant *TonalPalette
}

CorePalettes holds the 6 tonal palettes that define an MD3 color scheme.

func CorePalettesFromPrimary

func CorePalettesFromPrimary(primary color.NRGBA) *CorePalettes

CorePalettesFromPrimary generates all 6 MD3 palettes from a primary color.

type DisabledResource

type DisabledResource struct {
	// contains filtered or unexported fields
}

DisabledResource is a resource wrapper that will return an appropriate resource colorized by the current theme's `DisabledColor` color.

func NewDisabledResource

func NewDisabledResource(res bellui.Resource) *DisabledResource

NewDisabledResource creates a resource that adapts to the current theme's DisabledColor setting.

func (*DisabledResource) Content

func (res *DisabledResource) Content() []byte

Content returns the disabled style content of the correct resource for the current theme

func (*DisabledResource) Name

func (res *DisabledResource) Name() string

Name returns the resource source name prefixed with `disabled_` (used for caching)

func (*DisabledResource) ThemeColorName

func (res *DisabledResource) ThemeColorName() bellui.ThemeColorName

ThemeColorName returns the bellui.ThemeColorName that is used as foreground color.

Since: 1.0

type ErrorThemedResource

type ErrorThemedResource struct {
	// contains filtered or unexported fields
}

ErrorThemedResource is a resource wrapper that will return a version of the resource with the main color changed to indicate an error.

func NewErrorThemedResource

func NewErrorThemedResource(orig bellui.Resource) *ErrorThemedResource

NewErrorThemedResource creates a resource that adapts to the error color for the current theme.

func (*ErrorThemedResource) Content

func (res *ErrorThemedResource) Content() []byte

Content returns the underlying content of the resource adapted to the current background color.

func (*ErrorThemedResource) Name

func (res *ErrorThemedResource) Name() string

Name returns the underlying resource name (used for caching).

func (*ErrorThemedResource) Original

func (res *ErrorThemedResource) Original() bellui.Resource

Original returns the underlying resource that this error themed resource was adapted from

func (*ErrorThemedResource) ThemeColorName

func (res *ErrorThemedResource) ThemeColorName() bellui.ThemeColorName

ThemeColorName returns the bellui.ThemeColorName that is used as foreground color.

Since: 1.0

type HCT

type HCT struct {
	Hue, Chroma, Tone float64
}

HCT represents a color in the HCT (Hue-Chroma-Tone) color space, based on CAM16. Tone is perceptually uniform lightness (0=black, 100=white).

func HCTFromColor

func HCTFromColor(c color.NRGBA) HCT

HCTFromColor converts an NRGBA color to HCT.

func (HCT) ToColor

func (h HCT) ToColor() color.NRGBA

ToColor converts HCT to NRGBA, finding the sRGB color that best matches.

type InvertedThemedResource

type InvertedThemedResource struct {
	// contains filtered or unexported fields
}

InvertedThemedResource is a resource wrapper that will return a version of the resource with the main color changed for use over highlighted elements.

func NewInvertedThemedResource

func NewInvertedThemedResource(orig bellui.Resource) *InvertedThemedResource

NewInvertedThemedResource creates a resource that adapts to the current theme for use over highlighted elements.

func (*InvertedThemedResource) Content

func (res *InvertedThemedResource) Content() []byte

Content returns the underlying content of the resource adapted to the current background color.

func (*InvertedThemedResource) Name

func (res *InvertedThemedResource) Name() string

Name returns the underlying resource name (used for caching).

func (*InvertedThemedResource) Original

func (res *InvertedThemedResource) Original() bellui.Resource

Original returns the underlying resource that this inverted themed resource was adapted from

func (*InvertedThemedResource) ThemeColorName

func (res *InvertedThemedResource) ThemeColorName() bellui.ThemeColorName

ThemeColorName returns the bellui.ThemeColorName that is used as foreground color.

type MD3Scheme

type MD3Scheme struct {
	Primary, OnPrimary, PrimaryContainer, OnPrimaryContainer         color.NRGBA
	Secondary, OnSecondary, SecondaryContainer, OnSecondaryContainer color.NRGBA
	Tertiary, OnTertiary, TertiaryContainer, OnTertiaryContainer     color.NRGBA
	Error, OnError, ErrorContainer, OnErrorContainer                 color.NRGBA

	Surface, SurfaceDim, SurfaceBright                            color.NRGBA
	SurfaceContainerLowest, SurfaceContainerLow, SurfaceContainer color.NRGBA
	SurfaceContainerHigh, SurfaceContainerHighest                 color.NRGBA
	OnSurface, OnSurfaceVariant                                   color.NRGBA
	Outline, OutlineVariant                                       color.NRGBA
	InverseSurface, InverseOnSurface, InversePrimary              color.NRGBA
	Shadow, Scrim                                                 color.NRGBA
}

MD3Scheme holds all Material Design 3 color roles for a single variant (dark or light).

func DarkSchemeFromPalettes

func DarkSchemeFromPalettes(p *CorePalettes) *MD3Scheme

DarkSchemeFromPalettes generates an MD3 dark color scheme from core palettes.

func LightSchemeFromPalettes

func LightSchemeFromPalettes(p *CorePalettes) *MD3Scheme

LightSchemeFromPalettes generates an MD3 light color scheme from core palettes.

type MobileTheme

type MobileTheme = internaltheme.MobileTheme

MobileTheme is implemented by themes that override the device-is-mobile flag. ThemeOverride uses this to force mobile layout in containers like AppTabs.

type PrimaryThemedResource

type PrimaryThemedResource struct {
	// contains filtered or unexported fields
}

PrimaryThemedResource is a resource wrapper that will return a version of the resource with the main color changed to the theme primary color.

func NewPrimaryThemedResource

func NewPrimaryThemedResource(orig bellui.Resource) *PrimaryThemedResource

NewPrimaryThemedResource creates a resource that adapts to the primary color for the current theme.

func (*PrimaryThemedResource) Content

func (res *PrimaryThemedResource) Content() []byte

Content returns the underlying content of the resource adapted to the current background color.

func (*PrimaryThemedResource) Name

func (res *PrimaryThemedResource) Name() string

Name returns the underlying resource name (used for caching).

func (*PrimaryThemedResource) Original

func (res *PrimaryThemedResource) Original() bellui.Resource

Original returns the underlying resource that this primary themed resource was adapted from

func (*PrimaryThemedResource) ThemeColorName

func (res *PrimaryThemedResource) ThemeColorName() bellui.ThemeColorName

ThemeColorName returns the bellui.ThemeColorName that is used as foreground color.

Since: 1.0

type RenderStyle

type RenderStyle = internaltheme.RenderStyle

RenderStyle identifies a visual rendering style that widget renderers can switch on.

type RenderStyleTheme

type RenderStyleTheme = internaltheme.RenderStyleTheme

RenderStyleTheme is implemented by themes that provide a render style selection. Custom themes wrapping enhanced or dense themes should implement this interface to propagate the render style through the wrapper.

type ThemedResource

type ThemedResource struct {

	// ColorName specifies which theme colour should be used to theme the resource
	//
	// Since: 1.0
	ColorName bellui.ThemeColorName
	// contains filtered or unexported fields
}

ThemedResource is a resource wrapper that will return a version of the resource with the main color changed for the currently selected theme.

func NewColoredResource

func NewColoredResource(src bellui.Resource, name bellui.ThemeColorName) *ThemedResource

NewColoredResource creates a resource that adapts to the current theme setting using the color named in the constructor.

Since: 1.0

func NewSuccessThemedResource

func NewSuccessThemedResource(src bellui.Resource) *ThemedResource

NewSuccessThemedResource creates a resource that adapts to the current theme success color.

Since: 1.0

func NewThemedResource

func NewThemedResource(src bellui.Resource) *ThemedResource

NewThemedResource creates a resource that adapts to the current theme setting. By default, this will match the foreground color, but it can be changed using the `ColorName` field.

func NewWarningThemedResource

func NewWarningThemedResource(src bellui.Resource) *ThemedResource

NewWarningThemedResource creates a resource that adapts to the current theme warning color.

Since: 1.0

func (*ThemedResource) Content

func (res *ThemedResource) Content() []byte

Content returns the underlying content of the resource adapted to the current text color.

func (*ThemedResource) Error

func (res *ThemedResource) Error() *ErrorThemedResource

Error returns a different resource for indicating an error.

func (*ThemedResource) Name

func (res *ThemedResource) Name() string

Name returns the underlying resource name (used for caching).

func (*ThemedResource) ThemeColorName

func (res *ThemedResource) ThemeColorName() bellui.ThemeColorName

ThemeColorName returns the bellui.ThemeColorName that is used as foreground color.

type TonalPalette

type TonalPalette struct {
	// contains filtered or unexported fields
}

TonalPalette generates colors at specific tone levels for a given hue and chroma.

func NewTonalPalette

func NewTonalPalette(hue, chroma float64) *TonalPalette

NewTonalPalette creates a tonal palette for the given hue and chroma.

func (*TonalPalette) Tone

func (tp *TonalPalette) Tone(tone int) color.NRGBA

Tone returns the NRGBA color at the given tone level (0–100).

Directories

Path Synopsis
Package cjk bundles a Noto Sans CJK fallback font and registers it as a global font fallback, so Chinese/Japanese/Korean text renders without each app having to supply its own font — on every platform, including WebAssembly, where system fonts cannot be scanned.
Package cjk bundles a Noto Sans CJK fallback font and registers it as a global font fallback, so Chinese/Japanese/Korean text renders without each app having to supply its own font — on every platform, including WebAssembly, where system fonts cannot be scanned.

Jump to

Keyboard shortcuts

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