Hi,

I have not yet been able to implement libadwaita theme colour styling in
GNOME Internet Radio Locator (
https://gitlab.gnome.org/GNOME/gnome-internet-radio-locator/).

I have the following static colour codes in
https://gitlab.gnome.org/GNOME/gnome-internet-radio-locator/-/blob/master/src/gnome-internet-radio-locator-markers.c

        ClutterColor city_color = { 0x10, 0x10, 0x10, 0xbb };   ClutterColor
city_a_color = { 0x35, 0x84, 0xe4, 0xbb };      ClutterColor city_b_color =
{ 0xc0, 0x1c, 0x28, 0xbb };     ClutterColor city_c_color = { 0x26, 0xa2,
0x69, 0xbb };   ClutterColor city_d_color = { 0xcd, 0x93, 0x09, 0xbb
};      ClutterColor city_e_color = { 0xc0, 0x1c, 0x28, 0xbb
};      ClutterColor city_f_color = { 0x61, 0x35, 0x84, 0xbb
};      ClutterColor text_color = { 0xff, 0xff, 0xff, 0xff };

I would like to theme each city with 6 different colour from the libadwaita
palette.

How would I go on to implement this with libadwaita?

I see

  g_autoptr (AdwApplication) app = NULL;  app = adw_application_new
("org.example.Hello", G_APPLICATION_FLAGS_NONE);
in 
https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/examples/hello-world/hello.c

However, I don't immediately see how to implement with the selected
colour theme,

with choosing the colours from the libadwaita theme palette.

I hope to get this ready before GUADEC 2022 in my test project GNOME Radio 16:

See https://gitlab.gnome.org/ole/gnome-radio.git
and https://wiki.gnome.org/Apps/Radio

Best,

Ole Aamot
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to