[openbox] New theme format proposal

Andy aholmes84 at shaw.ca
Sun Sep 7 18:30:57 EDT 2003


Starting with a fresh themerc here since the other was getting a little 
confusing I think (: If I forgot to incorporate anything that was 
discussed just add your comment again, please.

Here I've made all the changes commented on and *should* conform to what 
everyone suggested with a few exceptions. One that springs to mind is 
Tim's active/inactive window states. I like this myself, however I'm not 
sure if changing this would imply changing any mention of focus/unfocus 
in openbox3 material like rc.xml etc. I'd like a comment from Ben on this...

As with the last one, comments are most welcome. I'm happy with the 
progress we've made so far and think we can still improve more.

-Andy

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!! Global Settings

! Agreed to be changed, not clear what yet...paddingWidth/padding.width?

bevelWidth:					3

! Proposed change retracted, although maybe these should be border.* rather
! than camelback style...

border.color:					#272727
border.width:					1

!! Menu Settings

! Generally accepted, no?

menu.overlap:					0

! I think I just don't like 'text' in this case and since there is already a
! 'font' property I would like *.font.color
!
! On the matter of the disabled items, I will cave in (:

menu.items.disabled.font.color:			#ffffff

! Have we agreed on these?

menu.items.selected.bg:				raised solid bevel1
menu.items.selected.bg.color:			#8d8d8d
menu.items.selected.bg.colorTo:			#000000
menu.items.selected.font:			courier,monospace:bold:pixelsize=11:shadow=n
menu.items.selected.font.color:			#272727

menu.items.unselected.bg:			raised solid bevel1
menu.items.unselected.bg.color:			#8d8d8d
menu.items.unselected.bg.colorTo:		#000000
menu.items.unselected.font:			courier,monospace:bold:pixelsize=11:shadow=n
menu.items.unselected.font.color:		#272727

! I agree on the menu.title.justify change although font.color and
! text.justify might seem a bit odd, I like it like this since font
! and text have different meanings I think it makes sense.

menu.title.bg:					raised gradient vertical bevel1
menu.title.bg.color:				#272727
menu.title.bg.colorTo:				#5a5a5a
menu.title.font:			 
courier,monospace:bold:pixelsize=11:shadow=y:shadowtint=50
menu.title.font.color:				#8d8d8d
menu.title.text.justify:			center

!! Window Settings

! Here I've just changed everything at once to reflect the comments on the
! previous proposal with  fg.color becoming image.color and focus and 
unfocus
! moved higher in the heirarchy.

window.focus.button.disabled.bg:		parentrelative
window.focus.button.disabled.bg.color:		#000000
window.focus.button.disabled.bg.colorTo:	#000000
window.focus.button.disabled.image.color:	#ffffff

window.unfocus.button.disabled.bg:		parentrelative
window.unfocus.button.disabled.bg.color:	#000000
window.unfocus.button.disabled.bg.colorTo:	#000000
window.unfocus.button.disabled.image.color:	#ffffff

window.focus.button.enabled.bg:			parentrelative
window.focus.button.enabled.bg.color:		#000000
window.focus.button.enabled.bg.colorTo:		#000000
window.focus.button.enabled.image.color:	#8d8d8d

window.unfocus.button.enabled.bg:		parentrelative
window.unfocus.button.enabled.bg.color:		#000000
window.unfocus.button.enabled.bg.colorTo:	#000000
window.unfocus.button.enabled.image.color:	#272727

window.focus.button.hover.bg:			raised gradient vertical bevel1
window.focus.button.hover.bg.color:		#272727
window.focus.button.hover.bg.colorTo:		#5a5a5a
window.focus.button.hover.image.color:		#8d8d8d

window.unfocus.button.hover.bg:			raised gradient vertical bevel1
window.unfocus.button.hover.bg.color:		#5a5a5a
window.unfocus.button.hover.bg.colorTo:		#8d8d8d
window.unfocus.button.hover.image.color:	#272727

window.focus.button.pressed.bg:			sunken gradient vertical bevel1
window.focus.button.pressed.bg.color:		#272727
window.focus.button.pressed.bg.colorTo:		#5a5a5a
window.focus.button.pressed.image.color:	#8d8d8d

window.unfocus.button.pressed.bg:		sunken gradient vertical bevel1
window.unfocus.button.pressed.bg.color:		#5a5a5a
window.unfocus.button.pressed.bg.colorTo:	#8d8d8d
window.unfocus.button.pressed.bg.image.color:	#272727

window.focus.button.toggled.bg:			sunken gradient vertical bevel1
window.focus.button.toggled.bg.color:		#272727
window.focus.button.toggled.bg.colorTo:		#5a5a5a
window.focus.button.toggled.image.color:	#8a8a8a

window.unfocus.button.toggled.bg:		sunken gradient vertical bevel1
window.unfocus.button.toggled.bg.color:		#5a5a5a
window.unfocus.button.toggled.bg.colorTo:	#8d8d8d
window.unfocus.button.toggled.image.color:	#272727

! I think that this should be organized under the heirarchy window.client.*
! since this is where the client application sits and so there will be:
!
! frameWidth->window.client.padding
! window.frame.focusColor->window.focus.client.color and
! window.frame.unfocusColor->window.unfocus.client.color

window.client.padding:				0
window.focus.client.color:			#000000
window.unfocus.client.color:			#000000

! Just moved focus/unfocus here. Also added *.bg.* although not certain
! myself if this is necessary since there is no foreground element...

window.focus.grip.bg:				raised gradient vertical bevel1
window.focus.grip.bg.color:			#272727
window.focus.grip.bg.colorTo:			#5a5a5a

window.unfocus.grip.bg:				raised gradient vertical bevel1
window.unfocus.grip.bg.color:			#5a5a5a
window.unfocus.grip.bg.colorTo:			#8d8d8d

! This was generally accepted I believe

window.handle.width:				0

! Same changes as to *.grip.*

window.focus.handle.bg:				raised gradient vertical bevel1
window.focus.handle.bg.color:			#5a5a5a
window.focus.handle.bg.colorTo:			#8d8d8d

window.unfocus.handle.bg:			raised gradient vertical bevel1
window.unfocus.handle.bg.color:			#5a5a5a
window.unfocus.handle.bg.colorTo:		#8d8d8d

! Changed to consist with the change proposed for menu.title.justify

window.label.text.justify:			left

! focus/unfocus moved, color changes, textColor->font.color

window.focus.label.bg:				parentrelative
window.focus.label.bg.color:			#000000
window.focus.label.bg.colorTo:			#000000
window.focus.label.font:		 
courier,monospace:bold:pixelsize=11:shadow=y:shadowtint=50
window.focus.label.font.color:			#8d8d8d

window.unfocus.label.bg:			parentrelative
window.unfocus.label.bg.color:			#000000
window.unfocus.label.bg.colorTo:		#000000
window.unfocus.label.font:		 
courier,monospace:bold:pixelsize=11:shadow=y:shadowtint=25
window.unfocus.label.font.color:		#272727

! focus/unfocus moved, color changes. Again, not sure about the bg.* 
since there
! is no foreground element here...comments especially welcome here.

window.focus.title.bg:				raised gradient vertical bevel1
window.focus.title.bg.color:			#272727
window.focus.title.bg.colorTo:			#5a5a5a

window.unfocus.title.bg:			raised gradient vertical bevel1
window.unfocus.title.bg.color:			#5a5a5a
window.unfocus.title.bg.colorTo:		#8d8d8d





More information about the openbox mailing list