#include <gtk/gtk.h>

int
main (int argc, char **argv)
{
  GtkSettings *settings;
  GtkWidget   *widget;
  GtkWidget   *window;

  gtk_init (&argc, &argv);

  settings = gtk_settings_get_default ();
  g_object_set (settings, "gtk-application-prefer-dark-theme", TRUE, NULL);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  g_signal_connect (window, "destroy", gtk_main_quit, NULL);

  widget = gtk_color_chooser_widget_new ();
  gtk_container_add (GTK_CONTAINER (window), widget);

  gtk_widget_show_all (window);
  gtk_window_present (GTK_WINDOW (window));

  gtk_main ();

  return 0;
}
