nixos/templates/vesktop-quickCss.css
ediblerope 8b9d3d86cc Collapse Midnight title bar grid row to remove 32px top gap in Vesktop
Override the base grid-template-rows to replace the 32px title bar
reservation with 12px padding that matches the bottom window edge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:11:20 +01:00

44 lines
1.5 KiB
CSS

/* Matugen wallpaper color overrides for Midnight theme */
:root {
/* Background surfaces — dark to light */
--bg-4: {{colors.surface.default.hex}};
--bg-3: {{colors.surface_container_low.default.hex}};
--bg-2: {{colors.surface_container.default.hex}};
--bg-1: {{colors.surface_container_high.default.hex}};
/* Text */
--text-0: {{colors.surface.default.hex}};
--text-1: {{colors.on_surface.default.hex}};
--text-2: {{colors.on_surface.default.hex}};
--text-3: {{colors.on_surface_variant.default.hex}};
--text-4: {{colors.outline.default.hex}};
--text-5: {{colors.outline_variant.default.hex}};
/* Accent */
--accent-1: {{colors.primary.default.hex}};
--accent-2: {{colors.primary.default.hex}};
--accent-3: {{colors.primary_container.default.hex}};
--accent-4: {{colors.primary_container.default.hex}};
--accent-5: {{colors.primary_container.default.hex}};
--accent-new: {{colors.primary.default.hex}};
}
/* Hide Midnight's custom title bar and trailing section — GNOME handles window decorations */
[class*="titleBar_"],
[class*="winButton_"],
[class*="wordmarkWindows_"],
[class*="trailing_"] {
display: none !important;
width: 0 !important;
overflow: hidden !important;
}
/* Remove Midnight's padding reserved for hidden window buttons */
[class*="toolbar_"] {
padding-right: 0 !important;
}
/* Collapse Midnight's 32px title bar grid row, keep 12px to match bottom window edge */
[class*="base__"] {
grid-template-rows: [top] 12px [titleBarEnd] 0px [noticeEnd] 1fr [end] !important;
}