From BlenderWiki

Jump to: navigation, search
Blender3D FreeTip.gif
IMPORTANT! Do not update this page!
We have moved the Blender User Manual to a new location. Please do not update this page, as it will be locked soon.

テーマのカスタマイズ

前述のように、Blenderはカスタマイズの幅が非常に広くできています—いく​​つかの設定は、インターフェイスの外観と色に影響を与えます。 これらの設定は、Themesタブの下にあります。

User-preferences-themes.jpg

各エディタの色が別個に設定できます—左のマルチ選択リストで変更したいエディタを選んで、必要に応じて色を調整しましょう。 変更が画面上でリアルタイムに表示されることも注目点です。 さらに、変更できる詳細には、 3D ViewGraph Editor でのドットサイズのようなものもあります。

Customizing themes with Python

スクリプトからテーマを制御したい場合は、パラメータを個別に記載したサンプルスクリプトを以下からどうぞ:

# A simple way to make global theme color changes.
 
import bpy
 
#Shared elements
back = (0.2667,0.2667,0.2667)
viewbg = (0.2667,0.3,0.34)
back_alt = (0.1647,0.1647,0.1647)
button = (0.2667,0.2667,0.2667)
grid = (0.5,0.5,0.5)
header = (0.2667,0.2667,0.2667)
panel = (0.2667,0.2667,0.2667,0.75)
text = (0.8,0.8,0.8)
text_hi = (1,1,1)
wire = (1,1,1)
lamp = (1,1,1,1)
 
#UI shared
inner = (0.2667,0.2667,0.2667,1)
inner_sel  = (0.2667,0.2667,0.2667,1)
item  = (0.39,0.39,0.39,1)
outline  = (0.1,0.1,0.1)
 
theme = bpy.context.user_preferences.themes['Default']
 
theme.view_3d.act_spline    
theme.view_3d.back = viewbg     
theme.view_3d.bone_pose  
theme.view_3d.bone_solid  
theme.view_3d.button= button
theme.view_3d.button_text = text 
theme.view_3d.button_text_hi = text_hi 
theme.view_3d.button_title = text
theme.view_3d.edge_crease  
theme.view_3d.edge_facesel  
theme.view_3d.edge_seam  
theme.view_3d.edge_select  
theme.view_3d.edge_sharp  
theme.view_3d.editmesh_active  
theme.view_3d.face  
theme.view_3d.face_dot  
theme.view_3d.face_select  
theme.view_3d.facedot_size  
theme.view_3d.frame_current   
theme.view_3d.grid = grid 
theme.view_3d.handle_align  
theme.view_3d.handle_auto  
theme.view_3d.handle_free  
theme.view_3d.handle_sel_align  
theme.view_3d.handle_sel_auto  
theme.view_3d.handle_sel_free  
theme.view_3d.handle_sel_vect  
theme.view_3d.handle_vect  
theme.view_3d.header  = header
theme.view_3d.header_text = text 
theme.view_3d.header_text_hi = text_hi               
theme.view_3d.lamp  = lamp
theme.view_3d.lastsel_point  
theme.view_3d.normal  
theme.view_3d.nurb_sel_uline  
theme.view_3d.nurb_sel_vline  
theme.view_3d.nurb_uline  
theme.view_3d.nurb_vline  
theme.view_3d.object_active  
theme.view_3d.object_grouped  
theme.view_3d.object_grouped_active  
theme.view_3d.object_selected  
theme.view_3d.panel = panel       
theme.view_3d.text = text 
theme.view_3d.text_hi = text_hi 
theme.view_3d.title = text 
theme.view_3d.transform      
theme.view_3d.vertex  
theme.view_3d.vertex_normal  
theme.view_3d.vertex_select  
theme.view_3d.vertex_size  
theme.view_3d.wire = wire
 
theme.console.back= back_alt    
theme.console.button = button 
theme.console.button_text = text 
theme.console.button_text_hi = text_hi 
theme.console.button_title = text     
theme.console.cursor       
theme.console.header  = header
theme.console.header_text = text 
theme.console.header_text_hi = text_hi               
theme.console.line_error  
theme.console.line_info  
theme.console.line_input  
theme.console.line_output        
theme.console.text = text 
theme.console.text_hi = text_hi 
theme.console.title = text   
 
 
theme.dopesheet_editor.active_channels_group    
theme.dopesheet_editor.back= back   
theme.dopesheet_editor.button = button 
theme.dopesheet_editor.button_text = text 
theme.dopesheet_editor.button_text_hi = text_hi 
theme.dopesheet_editor.button_title = text     
theme.dopesheet_editor.channel_group  
theme.dopesheet_editor.channels  
theme.dopesheet_editor.channels_selected  
theme.dopesheet_editor.dopesheet_channel  
theme.dopesheet_editor.dopesheet_subchannel      
theme.dopesheet_editor.frame_current   
theme.dopesheet_editor.grid = grid 
theme.dopesheet_editor.header  = header
theme.dopesheet_editor.header_text = text 
theme.dopesheet_editor.header_text_hi = text_hi               
theme.dopesheet_editor.list = button 
theme.dopesheet_editor.list_text = text 
theme.dopesheet_editor.list_text_hi = text 
theme.dopesheet_editor.list_title  = text 
theme.dopesheet_editor.long_key  
theme.dopesheet_editor.long_key_selected        
theme.dopesheet_editor.text = text 
theme.dopesheet_editor.text_hi = text_hi 
theme.dopesheet_editor.title = text   
theme.dopesheet_editor.value_sliders    
theme.dopesheet_editor.view_sliders
 
 
theme.file_browser.active_file  
theme.file_browser.active_file_text    
theme.file_browser.back= back   
theme.file_browser.button = button 
theme.file_browser.button_text = text 
theme.file_browser.button_text_hi = text_hi 
theme.file_browser.button_title = text 
theme.file_browser.header  = header
theme.file_browser.header_text = text 
theme.file_browser.header_text_hi = text_hi               
theme.file_browser.list = button 
theme.file_browser.list_text = text 
theme.file_browser.list_text_hi = text 
theme.file_browser.list_title  = text       
theme.file_browser.scroll_handle = button  
theme.file_browser.scrollbar = button 
theme.file_browser.selected_file  
theme.file_browser.text = text 
theme.file_browser.text_hi = text_hi 
theme.file_browser.tiles  = back
theme.file_browser.title = text   
 
 
theme.graph_editor.active_channels_group   
theme.graph_editor.back= back_alt  
theme.graph_editor.button = button 
theme.graph_editor.button_text = text 
theme.graph_editor.button_text_hi = text_hi 
theme.graph_editor.button_title = text     
theme.graph_editor.channel_group  
theme.graph_editor.channels_region  
theme.graph_editor.dopesheet_channel  
theme.graph_editor.dopesheet_subchannel      
theme.graph_editor.frame_current   
theme.graph_editor.grid = grid 
theme.graph_editor.handle_align  
theme.graph_editor.handle_auto  
theme.graph_editor.handle_free  
theme.graph_editor.handle_sel_align  
theme.graph_editor.handle_sel_auto  
theme.graph_editor.handle_sel_free  
theme.graph_editor.handle_sel_vect  
theme.graph_editor.handle_vect  
theme.graph_editor.handle_vertex  
theme.graph_editor.handle_vertex_select  
theme.graph_editor.handle_vertex_size  
theme.graph_editor.header  = header
theme.graph_editor.header_text = text 
theme.graph_editor.header_text_hi = text_hi               
theme.graph_editor.lastsel_point  
theme.graph_editor.list = button 
theme.graph_editor.list_text = text 
theme.graph_editor.list_text_hi = text 
theme.graph_editor.list_title  = text 
theme.graph_editor.panel = back     
theme.graph_editor.text = text 
theme.graph_editor.text_hi = text_hi 
theme.graph_editor.title = text     
theme.graph_editor.vertex  
theme.graph_editor.vertex_select  
theme.graph_editor.vertex_size  
theme.graph_editor.window_sliders
 
 
theme.image_editor.back= back_alt   
theme.image_editor.button = button 
theme.image_editor.button_text = text 
theme.image_editor.button_text_hi = text_hi 
theme.image_editor.button_title = text
theme.image_editor.editmesh_active  
theme.image_editor.face  
theme.image_editor.face_dot  
theme.image_editor.face_select  
theme.image_editor.facedot_size   
theme.image_editor.header  = header
theme.image_editor.header_text = text 
theme.image_editor.header_text_hi = text_hi                     
theme.image_editor.scope_back  
theme.image_editor.text = text 
theme.image_editor.text_hi = text_hi 
theme.image_editor.title = text     
theme.image_editor.vertex  
theme.image_editor.vertex_select  
theme.image_editor.vertex_size
 
 
theme.info.back= back    
theme.info.button = button 
theme.info.button_text = text 
theme.info.button_text_hi = text_hi 
theme.info.button_title = text 
theme.info.header  = header
theme.info.header_text = text 
theme.info.header_text_hi = text_hi                     
theme.info.text = text 
theme.info.text_hi = text_hi 
theme.info.title = text   
 
 
theme.logic_editor.back= back 
theme.logic_editor.button = button 
theme.logic_editor.button_text = text 
theme.logic_editor.button_text_hi = text_hi 
theme.logic_editor.button_title = text 
theme.logic_editor.header  = header
theme.logic_editor.header_text = text 
theme.logic_editor.header_text_hi = text_hi               
theme.logic_editor.panel = back  
theme.logic_editor.text = text 
theme.logic_editor.text_hi = text_hi 
theme.logic_editor.title = text   
 
 
theme.nla_editor.back= back  
theme.nla_editor.bars  
theme.nla_editor.bars_selected    
theme.nla_editor.button = button 
theme.nla_editor.button_text = text 
theme.nla_editor.button_text_hi = text_hi 
theme.nla_editor.button_title = text
theme.nla_editor.frame_current   
theme.nla_editor.grid = grid 
theme.nla_editor.header  = header
theme.nla_editor.header_text = text 
theme.nla_editor.header_text_hi = text_hi              
theme.nla_editor.list = button 
theme.nla_editor.list_text = text 
theme.nla_editor.list_text_hi = text 
theme.nla_editor.list_title  = text       
theme.nla_editor.strips  
theme.nla_editor.strips_selected  
theme.nla_editor.text = text 
theme.nla_editor.text_hi = text_hi 
theme.nla_editor.title = text     
theme.nla_editor.view_sliders
 
 
theme.node_editor.back= back_alt    
theme.node_editor.button = button 
theme.node_editor.button_text = text 
theme.node_editor.button_text_hi = text_hi 
theme.node_editor.button_title = text     
theme.node_editor.converter_node       
theme.node_editor.group_node  
theme.node_editor.header  = header
theme.node_editor.header_text = text 
theme.node_editor.header_text_hi = text_hi   
theme.node_editor.in_out_node              
theme.node_editor.list = button 
theme.node_editor.list_text = text 
theme.node_editor.list_text_hi = text 
theme.node_editor.list_title  = text 
theme.node_editor.node_backdrop  
theme.node_editor.operator_node        
theme.node_editor.selected_text  
theme.node_editor.text = text 
theme.node_editor.text_hi = text_hi 
theme.node_editor.title = text     
theme.node_editor.wire  
theme.node_editor.wire_select
 
 
theme.outliner.back= back   
theme.outliner.button = button 
theme.outliner.button_text = text 
theme.outliner.button_text_hi = text_hi 
theme.outliner.button_title = text 
theme.outliner.header  = header
theme.outliner.header_text = text 
theme.outliner.header_text_hi = text_hi                    
theme.outliner.text = text 
theme.outliner.text_hi = text_hi 
theme.outliner.title = text   
 
 
theme.properties.back= back    
theme.properties.button = button 
theme.properties.button_text = text 
theme.properties.button_text_hi = text_hi 
theme.properties.button_title = text 
theme.properties.header  = header
theme.properties.header_text = text 
theme.properties.header_text_hi = text_hi               
theme.properties.panel = back    
theme.properties.text = text 
theme.properties.text_hi = text_hi 
theme.properties.title = text   
 
 
theme.sequence_editor.audio_strip  
theme.sequence_editor.back= back
theme.sequence_editor.button = button 
theme.sequence_editor.button_text = text 
theme.sequence_editor.button_text_hi = text_hi 
theme.sequence_editor.button_title = text     
theme.sequence_editor.draw_action      
theme.sequence_editor.effect_strip  
theme.sequence_editor.frame_current   
theme.sequence_editor.grid = grid 
theme.sequence_editor.header  = header
theme.sequence_editor.header_text = text 
theme.sequence_editor.header_text_hi = text_hi   
theme.sequence_editor.image_strip        
theme.sequence_editor.keyframe        
theme.sequence_editor.meta_strip  
theme.sequence_editor.movie_strip      
theme.sequence_editor.plugin_strip    
theme.sequence_editor.scene_strip  
theme.sequence_editor.text = text 
theme.sequence_editor.text_hi = text_hi 
theme.sequence_editor.title = text 
theme.sequence_editor.transition_strip      
theme.sequence_editor.window_sliders
 
 
theme.text_editor.back= back_alt   
theme.text_editor.button = button 
theme.text_editor.button_text = text 
theme.text_editor.button_text_hi = text_hi 
theme.text_editor.button_title = text     
theme.text_editor.cursor       
theme.text_editor.header  = header
theme.text_editor.header_text = text 
theme.text_editor.header_text_hi = text_hi               
theme.text_editor.line_numbers_background        
theme.text_editor.scroll_bar = back 
theme.text_editor.selected_text  
theme.text_editor.syntax_builtin  
theme.text_editor.syntax_comment  
theme.text_editor.syntax_numbers  
theme.text_editor.syntax_special  
theme.text_editor.syntax_string  
theme.text_editor.text = text 
theme.text_editor.text_hi = text_hi 
theme.text_editor.title = text   
 
 
theme.timeline.back= back_alt   
theme.timeline.button = button 
theme.timeline.button_text = text 
theme.timeline.button_text_hi = text_hi 
theme.timeline.button_title = text
theme.timeline.frame_current   
theme.timeline.grid = grid 
theme.timeline.header  = header
theme.timeline.header_text = text 
theme.timeline.header_text_hi = text_hi                     
theme.timeline.text = text 
theme.timeline.text_hi = text_hi 
theme.timeline.title = text   
 
 
theme.user_preferences.back= back    
theme.user_preferences.button = button 
theme.user_preferences.button_text = text 
theme.user_preferences.button_text_hi = text_hi 
theme.user_preferences.button_title = text 
theme.user_preferences.header  = header
theme.user_preferences.header_text = text 
theme.user_preferences.header_text_hi = text_hi                     
theme.user_preferences.text = text 
theme.user_preferences.text_hi = text_hi
theme.user_preferences.title = text 
 
 
theme.user_interface.icon_file 
 
theme.user_interface.wcol_box.inner    = inner
theme.user_interface.wcol_box.inner_sel   
theme.user_interface.wcol_box.item = item  
theme.user_interface.wcol_box.outline = outline  
theme.user_interface.wcol_box.shadedown  
theme.user_interface.wcol_box.shadetop  
theme.user_interface.wcol_box.show_shaded  
theme.user_interface.wcol_box.text  = text
theme.user_interface.wcol_box.text_sel  = text_hi
 
theme.user_interface.wcol_list_item.inner    = inner
theme.user_interface.wcol_list_item.inner_sel   
theme.user_interface.wcol_list_item.item = item  
theme.user_interface.wcol_list_item.outline = outline  
theme.user_interface.wcol_list_item.shadedown  
theme.user_interface.wcol_list_item.shadetop  
theme.user_interface.wcol_list_item.show_shaded  
theme.user_interface.wcol_list_item.text  = text
theme.user_interface.wcol_list_item.text_sel  = text_hi
 
theme.user_interface.wcol_menu.inner   = inner
theme.user_interface.wcol_menu.inner_sel   
theme.user_interface.wcol_menu.item = item  
theme.user_interface.wcol_menu.outline = outline  
theme.user_interface.wcol_menu.shadedown  
theme.user_interface.wcol_menu.shadetop  
theme.user_interface.wcol_menu.show_shaded  
theme.user_interface.wcol_menu.text  = text
theme.user_interface.wcol_menu.text_sel  = text_hi
 
theme.user_interface.wcol_menu_back.inner   = inner
theme.user_interface.wcol_menu_back.inner_sel   
theme.user_interface.wcol_menu_back.item = item  
theme.user_interface.wcol_menu_back.outline = outline  
theme.user_interface.wcol_menu_back.shadedown  
theme.user_interface.wcol_menu_back.shadetop  
theme.user_interface.wcol_menu_back.show_shaded  
theme.user_interface.wcol_menu_back.text  = text
theme.user_interface.wcol_menu_back.text_sel  = text_hi
 
theme.user_interface.wcol_menu_item.inner 
theme.user_interface.wcol_menu_item.inner_sel   
theme.user_interface.wcol_menu_item.item = item  
theme.user_interface.wcol_menu_item.outline = outline  
theme.user_interface.wcol_menu_item.shadedown  
theme.user_interface.wcol_menu_item.shadetop  
theme.user_interface.wcol_menu_item.show_shaded  
theme.user_interface.wcol_menu_item.text  = text
theme.user_interface.wcol_menu_item.text_sel  = text_hi
 
theme.user_interface.wcol_num.inner  = inner
theme.user_interface.wcol_num.inner_sel   
theme.user_interface.wcol_num.item = item  
theme.user_interface.wcol_num.outline = outline  
theme.user_interface.wcol_num.shadedown  
theme.user_interface.wcol_num.shadetop  
theme.user_interface.wcol_num.show_shaded  
theme.user_interface.wcol_num.text  = text
theme.user_interface.wcol_num.text_sel  = text_hi
 
theme.user_interface.wcol_numslider.inner  = inner 
theme.user_interface.wcol_numslider.inner_sel   
theme.user_interface.wcol_numslider.item = item  
theme.user_interface.wcol_numslider.outline = outline  
theme.user_interface.wcol_numslider.shadedown  
theme.user_interface.wcol_numslider.shadetop  
theme.user_interface.wcol_numslider.show_shaded  
theme.user_interface.wcol_numslider.text  = text
theme.user_interface.wcol_numslider.text_sel  = text_hi
 
theme.user_interface.wcol_option.inner  = inner
theme.user_interface.wcol_option.inner_sel   
theme.user_interface.wcol_option.item = item  
theme.user_interface.wcol_option.outline = outline  
theme.user_interface.wcol_option.shadedown  
theme.user_interface.wcol_option.shadetop  
theme.user_interface.wcol_option.show_shaded  
theme.user_interface.wcol_option.text  = text
theme.user_interface.wcol_option.text_sel  = text_hi
 
theme.user_interface.wcol_progress.inner  = inner
theme.user_interface.wcol_progress.inner_sel   
theme.user_interface.wcol_progress.item = item  
theme.user_interface.wcol_progress.outline = outline  
theme.user_interface.wcol_progress.shadedown  
theme.user_interface.wcol_progress.shadetop  
theme.user_interface.wcol_progress.show_shaded  
theme.user_interface.wcol_progress.text  = text
theme.user_interface.wcol_progress.text_sel  = text_hi
 
theme.user_interface.wcol_pulldown.inner  = inner  
theme.user_interface.wcol_pulldown.inner_sel   
theme.user_interface.wcol_pulldown.item = item  
theme.user_interface.wcol_pulldown.outline = outline  
theme.user_interface.wcol_pulldown.shadedown  
theme.user_interface.wcol_pulldown.shadetop  
theme.user_interface.wcol_pulldown.show_shaded  
theme.user_interface.wcol_pulldown.text  = text
theme.user_interface.wcol_pulldown.text_sel  = text_hi
 
theme.user_interface.wcol_radio.inner  = inner
theme.user_interface.wcol_radio.inner_sel   
theme.user_interface.wcol_radio.item = item  
theme.user_interface.wcol_radio.outline = outline  
theme.user_interface.wcol_radio.shadedown  
theme.user_interface.wcol_radio.shadetop  
theme.user_interface.wcol_radio.show_shaded  
theme.user_interface.wcol_radio.text  = text
theme.user_interface.wcol_radio.text_sel  = text_hi
 
theme.user_interface.wcol_regular.inner  = inner 
theme.user_interface.wcol_regular.inner_sel   
theme.user_interface.wcol_regular.item = item  
theme.user_interface.wcol_regular.outline = outline  
theme.user_interface.wcol_regular.shadedown  
theme.user_interface.wcol_regular.shadetop  
theme.user_interface.wcol_regular.show_shaded  
theme.user_interface.wcol_regular.text  = text
theme.user_interface.wcol_regular.text_sel  = text_hi
 
theme.user_interface.wcol_scroll.inner  = inner
theme.user_interface.wcol_scroll.inner_sel   
theme.user_interface.wcol_scroll.item = item  = inner
theme.user_interface.wcol_scroll.outline = outline  
theme.user_interface.wcol_scroll.shadedown  
theme.user_interface.wcol_scroll.shadetop  
theme.user_interface.wcol_scroll.show_shaded  
theme.user_interface.wcol_scroll.text  = text
theme.user_interface.wcol_scroll.text_sel  = text_hi
 
theme.user_interface.wcol_state.inner_anim
theme.user_interface.wcol_state.inner_anim_sel
theme.user_interface.wcol_state.inner_driven
theme.user_interface.wcol_state.inner_driven_sel
theme.user_interface.wcol_state.inner_key
theme.user_interface.wcol_state.inner_key_sel
 
theme.user_interface.wcol_text.inner  = inner
theme.user_interface.wcol_text.inner_sel   
theme.user_interface.wcol_text.item = item  
theme.user_interface.wcol_text.outline = outline  
theme.user_interface.wcol_text.shadedown  
theme.user_interface.wcol_text.shadetop  
theme.user_interface.wcol_text.show_shaded  
theme.user_interface.wcol_text.text  = text
theme.user_interface.wcol_text.text_sel  = text_hi
 
theme.user_interface.wcol_toggle.inner  = inner
theme.user_interface.wcol_toggle.inner_sel   
theme.user_interface.wcol_toggle.item = item  
theme.user_interface.wcol_toggle.outline = outline  
theme.user_interface.wcol_toggle.shadedown  
theme.user_interface.wcol_toggle.shadetop  
theme.user_interface.wcol_toggle.show_shaded  
theme.user_interface.wcol_toggle.text  = text
theme.user_interface.wcol_toggle.text_sel  = text_hi
 
theme.user_interface.wcol_tool.inner  = inner 
theme.user_interface.wcol_tool.inner_sel   
theme.user_interface.wcol_tool.item = item  
theme.user_interface.wcol_tool.outline = outline  
theme.user_interface.wcol_tool.shadedown  
theme.user_interface.wcol_tool.shadetop  
theme.user_interface.wcol_tool.show_shaded  
theme.user_interface.wcol_tool.text  = text
theme.user_interface.wcol_tool.text_sel  = text_hi