#include "command-database.hpp"
#include "../../ui/image/url.hpp"
#include "set-theme-command.hpp"
#include "theme.hpp"
#include <QCoreApplication>

class ThemeExtension : public BuiltinCommandRepository {
  QString id() const override { return "theme"; }
  QString displayName() const override { return QCoreApplication::translate("ThemeExtension", "Theme"); }
  ImageURL iconUrl() const override {
    return ImageURL::builtin(BuiltinIcon::Brush).setBackgroundTint(SemanticColor::Purple);
  }

public:
  ThemeExtension() { registerCommand<SetThemeCommand>(); }
};
