Improve tabstyle snippet to use current values