Add style logic for tokens

[fix BL-665]