/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "base/flat_map.h" namespace tr { template struct phrase; } // namespace tr namespace Ui { [[nodiscard]] QByteArray ComputeStyles( const base::flat_map &colors, const base::flat_map> &phrases, bool nightTheme = false); [[nodiscard]] QByteArray EscapeForAttribute(QByteArray value); [[nodiscard]] QByteArray EscapeForScriptString(QByteArray value); } // namespace Ui