Theme(bpy_struct)

base class — bpy_struct

class bpy.types.Theme(bpy_struct)

User interface styling and color settings

bone_color_sets
Type:

bpy_prop_collection of ThemeBoneColorSet, (readonly, never None)

clip_editor
Type:

ThemeClipEditor, (readonly, never None)

collection_color
Type:

bpy_prop_collection of ThemeCollectionColor, (readonly, never None)

console
Type:

ThemeConsole, (readonly, never None)

dopesheet_editor
Type:

ThemeDopeSheet, (readonly, never None)

file_browser
Type:

ThemeFileBrowser, (readonly, never None)

filepath

The path to the preset loaded into this theme (if any)

Type:

string, default “”, (never None)

graph_editor
Type:

ThemeGraphEditor, (readonly, never None)

image_editor
Type:

ThemeImageEditor, (readonly, never None)

info
Type:

ThemeInfo, (readonly, never None)

name

Name of the theme

Type:

string, default “”, (never None)

nla_editor
Type:

ThemeNLAEditor, (readonly, never None)

node_editor
Type:

ThemeNodeEditor, (readonly, never None)

outliner
Type:

ThemeOutliner, (readonly, never None)

preferences
Type:

ThemePreferences, (readonly, never None)

properties
Type:

ThemeProperties, (readonly, never None)

sequence_editor
Type:

ThemeSequenceEditor, (readonly, never None)

spreadsheet
Type:

ThemeSpreadsheet, (readonly, never None)

statusbar
Type:

ThemeStatusBar, (readonly, never None)

strip_color
Type:

bpy_prop_collection of ThemeStripColor, (readonly, never None)

text_editor
Type:

ThemeTextEditor, (readonly, never None)

theme_area
Type:

enum in [‘USER_INTERFACE’, ‘STYLE’, ‘VIEW_3D’, ‘DOPESHEET_EDITOR’, ‘FILE_BROWSER’, ‘GRAPH_EDITOR’, ‘IMAGE_EDITOR’, ‘INFO’, ‘CLIP_EDITOR’, ‘NODE_EDITOR’, ‘NLA_EDITOR’, ‘OUTLINER’, ‘PREFERENCES’, ‘PROPERTIES’, ‘CONSOLE’, ‘SPREADSHEET’, ‘STATUSBAR’, ‘TEXT_EDITOR’, ‘TOPBAR’, ‘SEQUENCE_EDITOR’, ‘BONE_COLOR_SETS’], default ‘USER_INTERFACE’

topbar
Type:

ThemeTopBar, (readonly, never None)

user_interface
Type:

ThemeUserInterface, (readonly, never None)

view_3d
Type:

ThemeView3D, (readonly, never None)

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References