MATE's Appearance dialog skips any metatheme without IconTheme
(mate-control-center capplets/common/mate-theme-info.c), so Diehard4 was
applied but never listed: it showed as Custom, and switching away lost it.
menta and mate-black are MATE's defaults, so selecting the theme leaves
icons and cursor as they were.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The GTK3 sheets targeted GTK 3.18 and broke at 3.20, when the CSS class
model was replaced by element nodes. On 3.24 they parsed but matched almost
nothing: buttons, entries, tabs, scales and scrollbars rendered as bare
rectangles. Rewritten against the node model.
gtk-3.0/
gtk.css colour definitions only - recolour the theme here
widgets.css all widget rules, node-selector based
mate.css MATE panel, applets, window list, Caja, terminal
gtk-dark.css alias of gtk.css (the theme is already dark)
legacy/ the original 3.18 sheets, moved aside for reference
Palette retargeted to the WAR10CK window in Live Free or Die Hard:
bg #23425E, accent #BA6A07. Supporting shades derived with the original
theme's own ratios (raised x1.42, recessed x0.72). Text had to be lifted -
the old #868A8E scores 3.0:1 on #23425E, so normal text is #B4C4D2
(5.85:1) and bright text #E8F0F7 (9.06:1).
metacity-1/ pixmaps remapped by projecting each pixel onto the segment
between its two nearest source anchors and re-blending against the new
ones, so antialiased edges stay clean. Titlebar is ~7px taller, its text
is centred and no longer a hardcoded #6d7379 for both focus states, and
the idle window-button glyphs are white instead of a dim orange that
turned to mud on the lighter bar.
Scrollbars are deliberately not accent-coloured; @scrollbar_slider
(#454F5A) keeps them quiet at rest and findable on hover.
Fixes a transparent-body bug: GtkDialog and GtkAssistant do not use the
`window` CSS node in 3.20+, so every dialog, About box and file chooser
rendered as a hole through to the desktop.
Attribution and the GPL-3.0 modification notice added to README.md,
index.theme and metacity-theme-1.xml. Licence unchanged.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Verbatim contents of the upstream GitHub archive (Diehard4-master.zip,
commit 254ee204deebc64793123a9643c85b7d113c6c22, files dated 2019-05-21).
Imported unmodified so that every change in this fork is visible as a diff
against the original, which is what GPL-3.0 section 5(a) is asking for.
All code in this commit is obscurant's work, not mine.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>