Creates a text style from the foreground (text) color.
Synopsis
Declared in <fmt/color.h>
constexpr
text_style
fg(/* implementation-defined */ foreground) noexcept;
Return Value
A text style with only the given foreground color set.
Parameters
Name |
Description |
foreground |
The foreground color. |
Created with MrDocs