void (@NotNull StringBuilder builder, @NotNull TextAttributes attributes) { if (attributes.getEffectColor() != null) { Pair<String,String> textStyle = effectTypeToTextStyle(attributes.getEffectType()); builder.append("text-decoration: ").append(textStyle.first); builder.append(" #").append(ColorUtil.toHex(attributes.getEffectColor())); if (!textStyle.second.isEmpty()) { builder.append(textStyle.second); } builder.append("; "); } }