ThemeUserInterface(bpy_struct)

base class — bpy_struct

class bpy.types.ThemeUserInterface(bpy_struct)

Theme settings for user interface elements

axis_w

W-axis for quaternion and axis-angle rotations (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

axis_x

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

axis_y

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

axis_z

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

editor_border

Color of the border between editors (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

editor_outline

Color of the outline of each editor, except the active one (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

editor_outline_active

Color of the outline of the active editor (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

gizmo_a

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

gizmo_b

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

gizmo_hi

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

gizmo_primary

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

gizmo_secondary

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

gizmo_view_align

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

icon_alpha

Transparency of icons in the interface, to reduce contrast (in [0, 1], default 0.0)

Type:

float

icon_autokey

Color of Auto Keying indicator when enabled (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_border_intensity

Control the intensity of the border around themes icons (in [0, 1], default 0.0)

Type:

float

icon_collection

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_folder

Color of folders in the file browser (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_modifier

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_object

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_object_data

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_saturation

Saturation of icons in the interface (in [0, 1], default 0.0)

Type:

float

icon_scene

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

icon_shading

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

menu_shadow_fac

Blending factor for panel and menu shadows (in [0.01, 1], default 0.0)

Type:

float

menu_shadow_width

Width of panel and menu shadows, set to zero to disable (in [0, 24], default 0)

Type:

int

panel_active

Color of the outline of top-level panels that are active (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

panel_back

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

panel_header

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

panel_outline

Color of the outline of top-level panels (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

panel_roundness

Roundness of the corners of panels and sub-panels (in [0, 1], default 0.4)

Type:

float

panel_sub_back

(array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

panel_text

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

panel_title

(array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

transparent_checker_primary

Primary color of checkerboard pattern indicating transparent areas (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

transparent_checker_secondary

Secondary color of checkerboard pattern indicating transparent areas (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

transparent_checker_size

Size of checkerboard pattern indicating transparent areas (in [2, 48], default 0)

Type:

int

wcol_box

(readonly, never None)

Type:

ThemeWidgetColors

wcol_curve

(readonly, never None)

Type:

ThemeWidgetColors

wcol_list_item

(readonly, never None)

Type:

ThemeWidgetColors

wcol_menu

(readonly, never None)

Type:

ThemeWidgetColors

wcol_menu_back

(readonly, never None)

Type:

ThemeWidgetColors

wcol_menu_item

(readonly, never None)

Type:

ThemeWidgetColors

wcol_num

(readonly, never None)

Type:

ThemeWidgetColors

wcol_numslider

(readonly, never None)

Type:

ThemeWidgetColors

wcol_option

(readonly, never None)

Type:

ThemeWidgetColors

wcol_pie_menu

(readonly, never None)

Type:

ThemeWidgetColors

wcol_progress

(readonly, never None)

Type:

ThemeWidgetColors

wcol_pulldown

(readonly, never None)

Type:

ThemeWidgetColors

wcol_radio

(readonly, never None)

Type:

ThemeWidgetColors

wcol_regular

(readonly, never None)

Type:

ThemeWidgetColors

wcol_scroll

(readonly, never None)

Type:

ThemeWidgetColors

wcol_state

(readonly, never None)

Type:

ThemeWidgetStateColors

wcol_tab

(readonly, never None)

Type:

ThemeWidgetColors

wcol_text

(readonly, never None)

Type:

ThemeWidgetColors

wcol_toggle

(readonly, never None)

Type:

ThemeWidgetColors

wcol_tool

(readonly, never None)

Type:

ThemeWidgetColors

wcol_toolbar_item

(readonly, never None)

Type:

ThemeWidgetColors

wcol_tooltip

(readonly, never None)

Type:

ThemeWidgetColors

widget_emboss

Color of the 1px shadow line underlying widgets (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))

Type:

bpy_prop_array[float]

widget_text_cursor

Color of the text insertion cursor (caret) (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

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