Inline icons inherit the surrounding font size and color. For example, this check icon and this warning icon flow with the text — no extra size needed.