|
|
Subscribe / Log in / New account

GNOME libadwaita 1.0 released

Version 1.0 of the GNOME libadwaita library is out; this will be of interest to GNOME application developers. "Libadwaita is a library implementing the GNOME HIG, complementing GTK. For GTK 3 this role has increasingly been played by Libhandy, and so Libadwaita is a direct Libhandy successor."

to post comments

GNOME libadwaita 1.0 released

Posted Dec 31, 2021 20:58 UTC (Fri) by flussence (guest, #85566) [Link] (2 responses)

It's nice that from the sounds of it GTK has moved past the need for preprocessing stylesheets. I got quite a surprise when I put my new 64GB Gentoo box together 2 years back and it OOMed a few minutes in, because the then-current libsass had an allergic reaction to whatever Adwaita was doing.

Ideally we'd have a generic library for the interesting (imho) emerging bits of CSS, native nested syntax [1] and Color Level 5 [2], for any GUI to use. The latter in particular sounds like it's finally caught up to where Linux desktop theming capabilities were 20 years ago, and of course browsers don't even remotely support it.

(Unrealistically, having good CSS tooling might encourage its adoption and lead to consistent cross-DE theming too - right now the only hope for that is that someone keeps maintaining the qtstyle-gtk module, and that doesn't really have user-serviceable parts inside. People still can't agree on using SVG icons!)

[1] https://www.w3.org/TR/css-nesting-1/
[2] https://www.w3.org/TR/css-color-5/

GNOME libadwaita 1.0 released

Posted Jan 2, 2022 0:55 UTC (Sun) by ebassi (subscriber, #54855) [Link]

> It's nice that from the sounds of it GTK has moved past the need for preprocessing stylesheets.

GTK only ever preprocesses stylesheets at its own build time. By itself, GTK only supports CSS, but managing a complex style sheet takes a toll, which is why the maintainers of Adwaita (and various other themes) use SCSS to generate the CSS that will be shipped with GTK.

The Default theme, as well as Adwaita as shipped by libadwaita, still use SCSS as the base format. Nothing has changed in that respect by moving Adwaita out of GTK.

GNOME libadwaita 1.0 released

Posted Jan 2, 2022 18:21 UTC (Sun) by stephen.pollei (subscriber, #125364) [Link]

I read interesting article on CSS language features we can expect to land in browsers in 2022. Seems like Container Queries, Color Functions, new Viewport Units, :has(), Subgrid, Media Query Ranges, and more might make into browsers by the end of the year. Nesting, @scope, @when / @else, @property / Houdini, and Scroll-Linked Animations might take longer.

Some like nesting and media query ranges might just be sugar, nicer way of doing things but not really adding new things to do. I agree that some of the color functions could be useful such as the better support for contrast colors. I'm not sure what parts of css that Gtk would like to implement and which they'd prefer to skip. Seems like interesting features are coming to css.

GNOME libadwaita 1.0 released

Posted Jan 2, 2022 19:01 UTC (Sun) by jhoblitt (subscriber, #77733) [Link] (3 responses)

I'm hoping to one day be able to link against libjackhand[e]y.so.

GNOME libadwaita 1.0 released

Posted Jan 4, 2022 4:57 UTC (Tue) by alatiera (subscriber, #154895) [Link] (2 responses)

Nobody is stopping you from making you own libadwaita-no-adwaita project and replace the .so, you are free to walk your own path, however questionable it might be but don't expect any application developer to want to support such thing...

GNOME libadwaita 1.0 released

Posted Jan 4, 2022 20:28 UTC (Tue) by Hobart (subscriber, #59974) [Link] (1 responses)

I read the grandparent comment as a joking reference to impossibly obscure library names. I had to Google it and deduce that a famous turtle's is a UI widget library, which I will now remember. Similarly, a poppler is not just a Futurama gag derived from Soylent Green, but also a PostScript RIP library. ¯\_(ツ)_/¯ I did not see an inference that someone hates the library to the point of developing a dummy stub to avoid it.

GNOME libadwaita 1.0 released

Posted Jan 4, 2022 20:36 UTC (Tue) by jhoblitt (subscriber, #77733) [Link]

^ lib-winner-winner-chicken-dinner.so


Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds