return function(j,H,p)local e=j[H]or j[ControlState.Default]local A={Color=p.Theme[e].Color;Transparency=p.Theme[e].Transparency}if H==ControlState.Disabled or H==ControlState.Pressed then A.Transparency=.5*A.Transparency+.5 end return A end

return function(contentMap, controlState, style)
	local contentThemeClass = contentMap[controlState]
		or contentMap[ControlState.Default]

	local contentStyle = {
		Color = style.Theme[contentThemeClass].Color,
		Transparency = style.Theme[contentThemeClass].Transparency,
	}

	--Based on the design specs, the disabled and pressed state is 0.5 * alpha value
	if controlState == ControlState.Disabled or
		controlState == ControlState.Pressed then
			contentStyle.Transparency = 0.5 * contentStyle.Transparency + 0.5
	end
	return contentStyle
end
