| 1 | # Darkmatter |
| 2 | |
| 3 | A near-black GTK 3 / GTK 4 and xfwm4 theme, built from the [Darkmatter color scheme](https://github.com/stevedylandev/darkmatter-nvim). |
| 4 | |
| 5 | >[!WARNING] |
| 6 | >This project is still a work in progress with minimal support for XFCE. Further support and ports can be requested in the issues, PR's welcome. |
| 7 | |
| 8 |  |
| 9 |  |
| 10 | |
| 11 | ## Install |
| 12 | |
| 13 | Prebuilt stylesheets are checked in, so no build step is required: |
| 14 | |
| 15 | ```sh |
| 16 | git clone https://github.com/stevedylandev/darkmatter-linux.git |
| 17 | cd darkmatter-linux |
| 18 | sh src/install.sh # copies into ~/.themes/Darkmatter (+ -hdpi/-xhdpi variants) |
| 19 | ``` |
| 20 | |
| 21 | Then select `Darkmatter` as your GTK theme and window manager theme, e.g.: |
| 22 | |
| 23 | ```sh |
| 24 | gsettings set org.gnome.desktop.interface gtk-theme Darkmatter # GTK |
| 25 | xfwm4-tweaks-settings # or via xfce4-appearance-settings / xfwm4-settings |
| 26 | ``` |
| 27 | |
| 28 | `install.sh` only ships the GTK 3/4 stylesheets and xfwm4 decorations. Dunst and Rofi aren't app themes with a single install location, so copy them where each app looks for config: |
| 29 | |
| 30 | ```sh |
| 31 | cp dunst/dunstrc ~/.config/dunst/dunstrc |
| 32 | cp rofi/darkmatter.rasi ~/.config/rofi/darkmatter.rasi |
| 33 | ``` |
| 34 | |
| 35 | ## Palette |
| 36 | |
| 37 | | Role | Color | Source | |
| 38 | | --- | --- | --- | |
| 39 | | Shadow / rim | `#060506` | derived | |
| 40 | | Headerbars, panels, window frame | `#121113` | scheme `background` | |
| 41 | | Window background | `#121113` | scheme `background` | |
| 42 | | Sidebars, troughs | `#171618` | derived | |
| 43 | | Entries, views, cards | `#1c1b1d` | derived | |
| 44 | | Hover | `#222222` | scheme `selection_bg` | |
| 45 | | Borders | `#2b2b2b` | derived | |
| 46 | | Strong borders | `#333333` | scheme bright black | |
| 47 | | Disabled text | `#888888` | scheme ansi 4 | |
| 48 | | Secondary text | `#999999` / `#aaaaaa` | scheme ansi 5–6 | |
| 49 | | Near-foreground | `#c1c1c1` | scheme ansi 7 | |
| 50 | | Foreground | `#ffffff` | scheme `foreground` | |
| 51 | | Success | `#5f8787` | scheme ansi 1 | |
| 52 | | Warning | `#fbcb97` | scheme ansi 2 | |
| 53 | | **Accent** | `#e78a53` | scheme ansi 3 | |
| 54 | | Error, destructive | `#e75353` | derived | |
| 55 | |
| 56 | |
| 57 | **Icons are untouched.** `index.theme` still names Nordic's `Zafiro-icons`; |
| 58 | pick an icon theme and change that line. |
| 59 | |
| 60 | ## Supported ports |
| 61 | |
| 62 | | Port | Notes | |
| 63 | | --- | --- | |
| 64 | | GTK 3 | Full stylesheet, incl. app-specific styling below | |
| 65 | | GTK 4 | Full stylesheet, incl. app-specific styling below | |
| 66 | | xfwm4 | Window decorations, with `hdpi` and `xhdpi` variants | |
| 67 | | Dunst | Notification daemon (`dunst/dunstrc`) | |
| 68 | | Rofi | Launcher theme (`rofi/darkmatter.rasi`) | |
| 69 | |
| 70 | App-specific styling is layered on top of the base GTK 3/4 stylesheets for: |
| 71 | |
| 72 | - Budgie (panel/Raven) |
| 73 | - Caja (MATE Files) |
| 74 | - Geary |
| 75 | - GNOME Shell / Nautilus |
| 76 | - LightDM GTK greeter |
| 77 | - MATE (OSD) |
| 78 | - Nemo |
| 79 | - Pantheon / Gala (elementary OS) |
| 80 | - Rnote (GTK 4 only) |
| 81 | - Terminator (GTK 3 only) |
| 82 | - Thunar |
| 83 | - Unity |
| 84 | - Xfce (panel) |
| 85 | |
| 86 | ## Building |
| 87 | |
| 88 | Needs `sassc` and `librsvg`: |
| 89 | |
| 90 | ```sh |
| 91 | doas apk add sassc librsvg # or your distro's equivalent |
| 92 | |
| 93 | sh src/build.sh # compile the stylesheets |
| 94 | sh src/render-xfwm4.sh # re-render the window decorations |
| 95 | sh src/install.sh # copy into ~/.themes |
| 96 | ``` |
| 97 | |
| 98 | |
| 99 | ## Acknowledgements |
| 100 | |
| 101 | Main structure and inspiration forked from [Nordic](https://github.com/EliverLara/Nordic) |
| 102 | |
| 103 | Color scheme: [darkmatter-nvim](https://github.com/stevedylandev/darkmatter-nvim) |
| 104 | |
| 105 | ## License |
| 106 | |
| 107 | GPL-3.0, inherited from Nordic. See `LICENSE`. |