Skip to main content
Version: main

libadwaita

Generate colour themes for libadwaita (modern GNOME) applications.

Description

Libadwaita is the GNOME-specific library that provides the modern GNOME application look and feel. Most current GNOME applications use libadwaita, including Files (Nautilus), Text Editor, Console, Settings, and many others.

The plugin generates CSS that overrides libadwaita's named colour variables, providing consistent theming across all GNOME applications.

Output path

~/.config/gtk-4.0/tinct-libadwaita.css

Usage

tinct generate -i image -p ~/wallpaper.jpg -o libadwaita

Flags

FlagDefaultDescription
--libadwaita.output-dir~/.config/gtk-4.0Output directory for libadwaita theme files

Configuration

After generation, import the theme in your GTK4 configuration.

Add this line to ~/.config/gtk-4.0/gtk.css:

@import url("tinct-libadwaita.css");

Changes will apply to GNOME/libadwaita applications.

Themed elements

The libadwaita theme affects:

  • Application backgrounds
  • Header bars and title bars
  • Buttons and controls
  • Accent colours
  • Selection highlights
  • Sidebar colours
  • Card backgrounds
  • Dialog styling

Named colour variables

Libadwaita uses named colour variables that tinct maps to semantic roles:

libadwaita Variabletinct Role
--accent-coloraccent1
--accent-bg-coloraccent1
--destructive-colordanger
--success-colorsuccess
--warning-colorwarning
--window-bg-colorbackground
--view-bg-colorsurface
--card-bg-colorsurfaceContainer
--headerbar-bg-colorsurfaceContainerHigh
--sidebar-bg-colorsurfaceContainerLow

Complete GNOME theming

For comprehensive GNOME desktop theming, combine multiple plugins:

tinct generate -i image -p ~/wallpaper.jpg \
-o libadwaita \
-o gnome-shell \
-o gtk3

This themes:

  • Modern GNOME apps (libadwaita)
  • GNOME Shell (panel, overview)
  • Legacy GTK3 apps (GIMP, etc.)

See also