https://ns.fiber-gate.ru/uploads/images/img_1781431648258_ec2dad4c.png
https://ns.fiber-gate.ru/uploads/images/img_1781431652771_6955b2af.png
Я конечно себе сейчас лично поравлю, но собственно просыпаюсь, а тут такое.
Ага… Контейнеры прозрачные все, не только шрифты сменились.
<aggregation>
<removeIncluded>false</removeIncluded>
<insertNewLine>true</insertNewLine>
<output>${project.build.directory}/${project.build.finalName}/black/combined.css</output>
<includes>
<include>${project.build.directory}/${project.build.finalName}/js/META-INF/resources/webjars/swiffy-slider/${swiffy-slider.version}/dist/css/swiffy-slider.min.css</include>
<include>${project.build.directory}/${project.build.finalName}/js/META-INF/resources/webjars/tippy.js/${tippy.version}/dist/tippy.css</include>
<include>${project.build.directory}/${project.build.finalName}/black/main.css</include>
<include>${project.build.directory}/${project.build.finalName}/black/ir_black.css</include>
<include>${project.build.directory}/${project.build.finalName}/js/META-INF/resources/webjars/swiffy-slider/${swiffy-slider.version}/dist/css/swiffy-slider.min.css</include>
</includes>
</aggregation>
Вот, нашел.
Коммит: Commit 705ca02
https://github.com/maxcom/lorsource/commit/705ca024cf1c141b3a55ba189099ce875a58ce4d
CSS-переменные для темы Black (–text-color, –link-color, –article-background и др.) не попали в скомпилированный combined.css на сайте — все они пустые.
Временный фикс в юзерскрипты:
// ==UserScript==
// @name LOR Black Theme Fix
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Восстанавливает CSS-переменные для тёмной темы Black на linux.org.ru
// @author You
// @match https://www.linux.org.ru/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
function fixTheme() {
const root = document.documentElement;
const articleBg = getComputedStyle(root).getPropertyValue('--article-background').trim();
if (articleBg === '') {
root.style.setProperty('--text-color', '#c8c8c8');
root.style.setProperty('--link-color', '#fefefe');
root.style.setProperty('--table-border-color', 'white');
root.style.setProperty('--table-link-color', '#fefefe');
root.style.setProperty('--table-hover-background', '#000060');
root.style.setProperty('--table-background-color', '#000080');
root.style.setProperty('--tracker-tag-color', 'grey');
root.style.setProperty('--unread-marker-color', '#fefefe');
root.style.setProperty('--code-background', '#000020');
root.style.setProperty('--article-background', '#000040');
root.style.setProperty('--button-selected-text-color', '#ffffff');
}
}
fixTheme();
document.addEventListener('DOMContentLoaded', fixTheme);
})();
