13 using namespace ftxui;
14 auto document = text(
"gradient") | center;
16 document |= bgcolor(LinearGradient()
18 .Stop(Color::DeepPink1)
19 .Stop(Color::DeepSkyBlue1));
20 auto screen = Screen::Create(Dimension::Full(), Dimension::Full());
21 Render(screen, document);