Skip to content

Instantly share code, notes, and snippets.

@ZhymabekRoman
Created October 27, 2023 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZhymabekRoman/2a27619a67fb33f97173dac79ac532e7 to your computer and use it in GitHub Desktop.
Save ZhymabekRoman/2a27619a67fb33f97173dac79ac532e7 to your computer and use it in GitHub Desktop.
Fixing Yandex Disk selected file highlight background
// ==UserScript==
// @name Fixing Yandex Disk selected file highlight background - override the --color-mg-tint-superlight CSS variable
// @namespace Violentmonkey Scripts
// @match https://disk.yandex.*/*/*
// @grant none
// @version 1.0
// @author ZhymabekRoman
// @description 10/27/2023, 8:48:27 AM
// ==/UserScript==
(function() {
'use strict';
// Select the root element
var root = document.documentElement;
// Override the --color-mg-tint-superlight variable
root.style.setProperty("--color-mg-tint-superlight", "#dfdede");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment