NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name VK non-contrasting dart theme
// @namespace http://vk.com/
// @version 1.1
// @author Flyink13
// @description VK non-contrasting dart theme
// @match https://*.vk.com/*
// @updateURL https://openuserjs.org/meta/flyink13/VK_non-contrasting_dart_theme.meta.js
// @downloadURL https://openuserjs.org/install/flyink13/VK_non-contrasting_dart_theme.user.js
// @copyright 2021, flyink13 (https://openuserjs.org/users/flyink13)
// @license MIT
// @run-at document-start
// @grant none
// ==/UserScript==
const style = `
body[scheme=vkcom_dark] {
--gray_960: #1a1a1a;
--separator_common: var(--gray_850);
--background_page: var(--gray_960);
--input_border: var(--gray_850);
--text_link: var(--blue_400);
--im_text_name: var(--blue_400);
--text_primary: var(--gray_200);
--search_bar_field_background: var(--gray_960);
--snippet_border: transparent;
}
body[scheme=vkcom_dark] .im-chat-input .im-chat-input--txt-wrap {
border-color: var(--gray_800);
}
body[scheme=vkcom_dark] #side_bar {
--text_primary: var(--gray_500);
--accent: var(--blue_420);
}
`
document.documentElement.appendChild(document.createElement("style")).innerHTML = style;