Theme(bpy_struct)

base class — bpy_struct

class bpy.types.Theme(bpy_struct)

User interface styling and color settings

bone_color_sets

(default None, readonly, never None)

Type:

bpy_prop_collection[ThemeBoneColorSet]

clip_editor

(readonly, never None)

Type:

ThemeClipEditor

collection_color

(default None, readonly, never None)

Type:

bpy_prop_collection[ThemeCollectionColor]

common

Theme properties shared by different editors (readonly, never None)

Type:

ThemeCommon

console

(readonly, never None)

Type:

ThemeConsole

dopesheet_editor

(readonly, never None)

Type:

ThemeDopeSheet

file_browser

(readonly, never None)

Type:

ThemeFileBrowser

filepath

The path to the preset loaded into this theme (if any) (default “”, never None)

Type:

str

graph_editor

(readonly, never None)

Type:

ThemeGraphEditor

image_editor

(readonly, never None)

Type:

ThemeImageEditor

info

(readonly, never None)

Type:

ThemeInfo

logic_editor

(readonly, never None)

Type:

ThemeLogicEditor

name

Name of the theme (default “”, never None)

Type:

str

nla_editor

(readonly, never None)

Type:

ThemeNLAEditor

node_editor

(readonly, never None)

Type:

ThemeNodeEditor

outliner

(readonly, never None)

Type:

ThemeOutliner

preferences

(readonly, never None)

Type:

ThemePreferences

properties

(readonly, never None)

Type:

ThemeProperties

regions

Theme properties for common editor regions (readonly, never None)

Type:

ThemeRegions

sequence_editor

(readonly, never None)

Type:

ThemeSequenceEditor

spreadsheet

(readonly, never None)

Type:

ThemeSpreadsheet

statusbar

(readonly, never None)

Type:

ThemeStatusBar

strip_color

(default None, readonly, never None)

Type:

bpy_prop_collection[ThemeStripColor]

text_editor

(readonly, never None)

Type:

ThemeTextEditor

theme_area

(default 'USER_INTERFACE')

Type:

Literal[‘USER_INTERFACE’, ‘STYLE’, ‘REGIONS’, ‘COMMON’, ‘VIEW_3D’, ‘DOPESHEET_EDITOR’, ‘FILE_BROWSER’, ‘GRAPH_EDITOR’, ‘IMAGE_EDITOR’, ‘INFO’, ‘CLIP_EDITOR’, ‘NODE_EDITOR’, ‘NLA_EDITOR’, ‘OUTLINER’, ‘PREFERENCES’, ‘LOGIC_EDITOR’, ‘PROPERTIES’, ‘CONSOLE’, ‘SPREADSHEET’, ‘STATUSBAR’, ‘TEXT_EDITOR’, ‘TOPBAR’, ‘SEQUENCE_EDITOR’, ‘BONE_COLOR_SETS’]

topbar

(readonly, never None)

Type:

ThemeTopBar

user_interface

(readonly, never None)

Type:

ThemeUserInterface

view_3d

(readonly, never None)

Type:

ThemeView3D

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References