improve swift custom operators
add Theme#render_base