librewolf and services fix
This commit is contained in:
1 parent
08d30a3976
commit
e11250c4a1
13 files changed
+250
-25
No files matched your search
@@ -0,0 +1,13 @@
|
||||
const filter = { urls: ["*://*.youtube.com/*", "*://youtu.be/*"] };
|
||||
|
||||
// Full page loads (address bar, external links, new tabs).
|
||||
browser.webRequest.onBeforeRequest.addListener(({ url }) => {
|
||||
const redirectUrl = redirectFor(url);
|
||||
if (redirectUrl) return { redirectUrl };
|
||||
}, { ...filter, types: ["main_frame"] }, ["blocking"]);
|
||||
|
||||
// SPAs (e.g. YouTube) navigate via history.pushState, no request.
|
||||
browser.webNavigation.onHistoryStateUpdated.addListener(({ tabId, frameId, url }) => {
|
||||
const target = frameId === 0 && redirectFor(url);
|
||||
if (target) browser.tabs.update(tabId, { url: target });
|
||||
}, { url: [{ hostSuffix: "youtube.com" }] });
|
||||
@@ -0,0 +1,17 @@
|
||||
// Rewrite links just before they're used (click, middle-click, context menu),
|
||||
// so "open in new tab" / "copy link" already point at the redirect target.
|
||||
const rewrite = (e) => {
|
||||
const a = e.target.closest?.("a[href]");
|
||||
if (!a) return;
|
||||
const target = redirectFor(new URL(a.href, location.href).href);
|
||||
if (!target) return;
|
||||
a.href = target;
|
||||
if (e.type === "click" && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
|
||||
e.preventDefault();
|
||||
e.stopImmediatePropagation();
|
||||
location.href = target;
|
||||
}
|
||||
};
|
||||
|
||||
for (const t of ["mousedown", "auxclick", "contextmenu", "click"])
|
||||
document.addEventListener(t, rewrite, true);
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Redirect",
|
||||
"version": "2.0",
|
||||
"browser_specific_settings": { "gecko": { "id": "redirect@local" } },
|
||||
"permissions": ["webRequest", "webRequestBlocking", "webNavigation", "tabs", "*://*.youtube.com/*", "*://youtu.be/*"],
|
||||
"background": { "scripts": ["rules.js", "background.js"] },
|
||||
"content_scripts": [{
|
||||
"matches": ["*://*.youtube.com/*"],
|
||||
"js": ["rules.js", "content.js"],
|
||||
"run_at": "document_start",
|
||||
"all_frames": true
|
||||
}]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Site rules: each returns a redirect URL or nothing. Add new sites here
|
||||
// (and their hosts to manifest.json permissions/matches).
|
||||
const rules = [
|
||||
// YouTube -> Invidious
|
||||
(u) => {
|
||||
const q = u.search.slice(1);
|
||||
if (/^(www\.|m\.)?youtube\.com$/.test(u.hostname) && u.pathname === "/watch")
|
||||
return `https://@domain@/watch?${q}`;
|
||||
if (u.hostname === "youtu.be" && u.pathname.length > 1)
|
||||
return `https://@domain@/watch?v=${u.pathname.slice(1)}${q ? "&" + q : ""}`;
|
||||
},
|
||||
];
|
||||
|
||||
const redirectFor = (url) => {
|
||||
const u = new URL(url);
|
||||
for (const r of rules) { const t = r(u); if (t) return t; }
|
||||
};
|
||||
@@ -0,0 +1,263 @@
|
||||
{ lib, inputs, ... }: {
|
||||
flake-file.inputs.catppuccin-userstyles-nix = {
|
||||
url = "git+https://git.bug.tools/bug/userstyles";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-file.inputs.bugpass = {
|
||||
url = "git+https://git.bug.tools/bug/bugpass";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
den.aspects.software.browsers = {
|
||||
homeManager = { host, pkgs, ... }: let
|
||||
mkExtension = src: vars: extra: rec {
|
||||
id = (builtins.fromJSON (builtins.readFile "${src}/manifest.json")).browser_specific_settings.gecko.id;
|
||||
xpi = pkgs.runCommand "${lib.head (lib.splitString "@" id)}.xpi" { nativeBuildInputs = [ pkgs.zip ]; } ''
|
||||
cp -r ${src} src && chmod -R u+w src && cd src
|
||||
for f in $(find . -type f); do
|
||||
substituteInPlace "$f" ${lib.concatStringsSep " " (lib.mapAttrsToList (k: v: "--replace-quiet @${k}@ ${lib.escapeShellArg v}") vars)}
|
||||
done
|
||||
${lib.optionalString (extra != null) "cp -r ${extra}/. ."}
|
||||
zip -r -X $out .
|
||||
'';
|
||||
};
|
||||
|
||||
bugpass = import "${inputs.bugpass}/build" { inherit pkgs; };
|
||||
|
||||
localExtensions = [
|
||||
(mkExtension ./_extensions/redirect { domain = "tube.${host.domain}"; } null)
|
||||
(mkExtension "${inputs.bugpass}/extension" { } bugpass.lib)
|
||||
];
|
||||
in {
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
||||
nativeMessagingHosts = [ bugpass.host ];
|
||||
|
||||
settings = {
|
||||
"browser.startup.homepage" = "https://search.${host.domain}";
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
||||
"toolkit.telemetry.enabled" = false;
|
||||
"toolkit.telemetry.unified" = false;
|
||||
"toolkit.telemetry.archive.enabled" = false;
|
||||
"toolkit.telemetry.newProfilePing.enabled" = false;
|
||||
"toolkit.telemetry.shutdownPingSender.enabled" = false;
|
||||
"toolkit.telemetry.updatePing.enabled" = false;
|
||||
"toolkit.telemetry.bhrPing.enabled" = false;
|
||||
"toolkit.telemetry.firstShutdownPing.enabled" = false;
|
||||
"toolkit.telemetry.coverage.opt-out" = true;
|
||||
"toolkit.coverage.opt-out" = true;
|
||||
"app.shield.optoutstudies.enabled" = false;
|
||||
"app.normandy.enabled" = false;
|
||||
"app.normandy.api_url" = "";
|
||||
"breakpad.reportURL" = "";
|
||||
"browser.tabs.crashReporting.sendReport" = false;
|
||||
"browser.crashReports.unsubmittedCheck.enabled" = false;
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
||||
|
||||
"privacy.resistFingerprinting.letterboxing" = false;
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
"privacy.globalprivacycontrol.enabled" = true;
|
||||
"privacy.resistFingerprinting" = false;
|
||||
"privacy.fingerprintingProtection" = true;
|
||||
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme";
|
||||
|
||||
"browser.search.separatePrivateDefault" = false;
|
||||
|
||||
"browser.download.autohideButton" = true;
|
||||
"browser.quitShortcut.disabled" = true;
|
||||
"browser.sessionstore.resume_session_once" = true;
|
||||
|
||||
"browser.cache.memory.capacity" = 65536;
|
||||
"browser.sessionstore.interval" = 60000;
|
||||
"browser.sessionstore.max_tabs_undo" = 10;
|
||||
"browser.sessionstore.max_windows_undo" = 1;
|
||||
"browser.tabs.unloadOnLowMemory" = true;
|
||||
|
||||
"gfx.webrender.all" = true;
|
||||
"gfx.canvas.accelerated" = true;
|
||||
"media.hardware-video-decoding.force-enabled" = true;
|
||||
|
||||
"network.http.max-connections" = 1500;
|
||||
"network.http.max-persistent-connections-per-server" = 10;
|
||||
"network.prefetch-next" = false;
|
||||
|
||||
"browser.tabs.animate" = false;
|
||||
"browser.fullscreen.animate" = false;
|
||||
|
||||
"ui.systemUsesDarkTheme" = 1;
|
||||
"browser.theme.content-theme" = 0;
|
||||
|
||||
"layout.css.prefers-color-scheme.content-override" = 0;
|
||||
|
||||
"xpinstall.signatures.required" = false;
|
||||
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
|
||||
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
|
||||
"privacy.clearOnShutdown.cookies" = false;
|
||||
"privacy.clearOnShutdown.offlineApps" = false;
|
||||
"privacy.clearOnShutdown.sessions" = false;
|
||||
};
|
||||
|
||||
profiles.default = {
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
userContent = builtins.readFile ./userContent.css;
|
||||
|
||||
search = {
|
||||
force = true;
|
||||
|
||||
default = "search.${host.domain}";
|
||||
|
||||
engines = {
|
||||
"search.${host.domain}" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.${host.domain}/search";
|
||||
params = [
|
||||
{ name = "q"; value = "{searchTerms}"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
icon = "https://search.${host.domain}/favicon.ico";
|
||||
definedAliases = [ "@s" "@sq" ];
|
||||
};
|
||||
|
||||
"NixOS Packages" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
icon = "https://search.nixos.org/favicon.png";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
|
||||
"NixOS Options" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/options";
|
||||
params = [
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
icon = "https://search.nixos.org/favicon.png";
|
||||
definedAliases = [ "@no" ];
|
||||
};
|
||||
|
||||
"Home Manager Options" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://home-manager-options.extranix.com/";
|
||||
params = [
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
{ name = "release"; value = "master"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
icon = "https://home-manager-options.extranix.com/images/favicon.png";
|
||||
definedAliases = [ "@hm" ];
|
||||
};
|
||||
|
||||
google.metaData.hidden = true;
|
||||
bing.metaData.hidden = true;
|
||||
amazondotcom-us.metaData.hidden = true;
|
||||
ebay.metaData.hidden = true;
|
||||
|
||||
wikipedia.metaData = {
|
||||
hidden = false;
|
||||
alias = "@w";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extensions = {
|
||||
force = true;
|
||||
settings = {
|
||||
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" = {
|
||||
force = true;
|
||||
settings = inputs.catppuccin-userstyles-nix.stylusSettings.${pkgs.stdenv.hostPlatform.system} {
|
||||
global = {
|
||||
lightFlavor = "mocha";
|
||||
darkFlavor = "mocha";
|
||||
accentColor = "mauve";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
"{3c078156-979c-498b-8990-85f7987dd929}" = {
|
||||
force = true;
|
||||
settings.sidebarCSS = builtins.readFile ./sidebery.css;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
policies = {
|
||||
OverrideFirstRunPage = "";
|
||||
OverridePostUpdatePage = "";
|
||||
|
||||
BlockAboutConfig = true;
|
||||
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisableFeedbackCommands = true;
|
||||
DisableCrashReporter = true;
|
||||
|
||||
DisablePocket = true;
|
||||
|
||||
DisableFirefoxAccounts = false;
|
||||
|
||||
ExtensionSettings = let
|
||||
mkExtensions = ids: lib.genAttrs ids (id: {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/${id}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
private_browsing = true;
|
||||
});
|
||||
in {
|
||||
"*".installation_mode = "blocked";
|
||||
} // (mkExtensions [
|
||||
"{cb31ec5d-c49a-4e5a-b240-16c767444f62}" # indie-wiki-buddy
|
||||
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" # catppuccin-mocha-no-borders
|
||||
|
||||
|
||||
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" # styl-us
|
||||
|
||||
"{3c078156-979c-498b-8990-85f7987dd929}" # sidebery
|
||||
|
||||
"{60f82f00-9ad5-4de5-b31c-b16a47c51558}" # cookie-quick-manager
|
||||
|
||||
"{88ebde3a-4581-4c6b-8019-2a05a9e3e938}" # hide-youtube-shorts
|
||||
|
||||
"firefox@tampermonkey.net" # tampermonkey
|
||||
|
||||
"deArrow@ajay.app" # dearrow
|
||||
|
||||
"sponsorBlocker@ajay.app" # sponsorblock
|
||||
|
||||
"uBlock0@raymondhill.net" # ublock-origin
|
||||
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" # user-agent-string-switcher
|
||||
|
||||
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}" # return-youtube-dislikes
|
||||
]) // lib.listToAttrs (map (e: lib.nameValuePair e.id {
|
||||
install_url = "file://${e.xpi}";
|
||||
installation_mode = "force_installed";
|
||||
}) localExtensions);
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
* { border-radius: 0px !important; }
|
||||
#root.root {--tabs-height: 36px;}
|
||||
#root.root {--tabs-inner-gap: 8px;}
|
||||
#root.root {--tabs-margin: 4px;}
|
||||
#root.root {--tabs-font: 16px sans-serif;}
|
||||
#root.root {--tabs-count-font: 16px sans-serif;}
|
||||
#root.root {--general-margin: 4px;}
|
||||
#root.root {--general-border-radius: 0px;}
|
||||
|
||||
.Tab[data-active="true"] .body {
|
||||
border: 2px solid #cba6f7 !important;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.NavigationBar .main-items .nav-item[data-class="panel"] .name-box {
|
||||
border-width: 2px !important;
|
||||
}
|
||||
|
||||
#root[data-act-el-color-scheme="dark"] {
|
||||
--active-el-shadow: none;
|
||||
}
|
||||
|
||||
.NavigationBar .nav-item[data-active="true"] {
|
||||
border: 1px solid #cba6f7 !important;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
#TabsToolbar { display: none !important; }
|
||||
#sidebar-panel-header { display: none !important; }
|
||||
#sidebar-box { padding-inline-start: 0px !important; }
|
||||
|
||||
:root {
|
||||
--border-radius-small: 0px !important;
|
||||
--border-radius-medium: 0px !important;
|
||||
--border-radius-large: 0px !important;
|
||||
--border-radius-xlarge: 0px !important;
|
||||
--border-radius-circle: 0px !important;
|
||||
--toolbarbutton-border-radius: 0px !important;
|
||||
--tab-border-radius: 0px !important;
|
||||
--arrowpanel-border-radius: 0px !important;
|
||||
--urlbar-container-border-radius: 0px !important;
|
||||
}
|
||||
* { border-radius: 0px !important; }
|
||||
@@ -0,0 +1,165 @@
|
||||
|
||||
@-moz-document url-prefix("about:") {
|
||||
body {
|
||||
background-color: #1e1e2e !important;
|
||||
color: #cdd6f4 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
border-radius: 0px !important;
|
||||
}
|
||||
|
||||
button:hover, .button:hover {
|
||||
background-color: #cba6f7 !important;
|
||||
color: #11111b !important;
|
||||
}
|
||||
|
||||
* {
|
||||
--text-color: #cdd6f4 !important;
|
||||
--color-accent-primary: light-dark(#cba6f755, #cba6f7) !important;
|
||||
--color-accent-secondary: light-dark(#b4befe55, #b4befe) !important;
|
||||
}
|
||||
|
||||
* {
|
||||
--color-blue-0: #89b4fa !important;
|
||||
--color-blue-10: #89b4fa !important;
|
||||
--color-blue-20: #89b4fa !important;
|
||||
--color-blue-30: #89b4fa !important;
|
||||
--color-blue-40: #89b4fa !important;
|
||||
--color-blue-50: #89b4fa !important;
|
||||
--color-blue-60: #89b4fa !important;
|
||||
--color-blue-70: #89b4fa !important;
|
||||
--color-blue-80: #89b4fa !important;
|
||||
--color-blue-90: #89b4fa !important;
|
||||
--color-cyan-0: #94e2d5 !important;
|
||||
--color-cyan-10: #94e2d5 !important;
|
||||
--color-cyan-20: #94e2d5 !important;
|
||||
--color-cyan-30: #94e2d5 !important;
|
||||
--color-cyan-40: #94e2d5 !important;
|
||||
--color-cyan-50: #94e2d5 !important;
|
||||
--color-cyan-60: #94e2d5 !important;
|
||||
--color-cyan-70: #94e2d5 !important;
|
||||
--color-cyan-80: #94e2d5 !important;
|
||||
--color-cyan-90: #94e2d5 !important;
|
||||
--color-gray-0: #cdd6f4 !important;
|
||||
--color-gray-05: #bac2de !important;
|
||||
--color-gray-10: #a6adc8 !important;
|
||||
--color-gray-15: #9399b2 !important;
|
||||
--color-gray-20: #7f849c !important;
|
||||
--color-gray-25: #6c7086 !important;
|
||||
--color-gray-30: #6c7086 !important;
|
||||
--color-gray-35: #585b70 !important;
|
||||
--color-gray-40: #585b70 !important;
|
||||
--color-gray-45: #45475a !important;
|
||||
--color-gray-50: #45475a !important;
|
||||
--color-gray-55: #313244 !important;
|
||||
--color-gray-60: #313244 !important;
|
||||
--color-gray-65: #1e1e2e !important;
|
||||
--color-gray-70: #1e1e2e !important;
|
||||
--color-gray-75: #181825 !important;
|
||||
--color-gray-80: #181825 !important;
|
||||
--color-gray-85: #11111b !important;
|
||||
--color-gray-90: #11111b !important;
|
||||
--color-green-0: #a6e3a1 !important;
|
||||
--color-green-10: #a6e3a1 !important;
|
||||
--color-green-20: #a6e3a1 !important;
|
||||
--color-green-30: #a6e3a1 !important;
|
||||
--color-green-40: #a6e3a1 !important;
|
||||
--color-green-50: #a6e3a1 !important;
|
||||
--color-green-60: #a6e3a1 !important;
|
||||
--color-green-70: #a6e3a1 !important;
|
||||
--color-green-80: #a6e3a1 !important;
|
||||
--color-green-90: #a6e3a1 !important;
|
||||
--color-orange-0: #fab387 !important;
|
||||
--color-orange-10: #fab387 !important;
|
||||
--color-orange-20: #fab387 !important;
|
||||
--color-orange-30: #fab387 !important;
|
||||
--color-orange-40: #fab387 !important;
|
||||
--color-orange-50: #fab387 !important;
|
||||
--color-orange-60: #fab387 !important;
|
||||
--color-orange-70: #fab387 !important;
|
||||
--color-orange-80: #fab387 !important;
|
||||
--color-orange-90: #fab387 !important;
|
||||
--color-pink-0: #f5c2e7 !important;
|
||||
--color-pink-10: #f5c2e7 !important;
|
||||
--color-pink-20: #f5c2e7 !important;
|
||||
--color-pink-30: #f5c2e7 !important;
|
||||
--color-pink-40: #f5c2e7 !important;
|
||||
--color-pink-50: #f5c2e7 !important;
|
||||
--color-pink-60: #f5c2e7 !important;
|
||||
--color-pink-70: #f5c2e7 !important;
|
||||
--color-pink-80: #f5c2e7 !important;
|
||||
--color-pink-90: #f5c2e7 !important;
|
||||
--color-purple-0: #cba6f7 !important;
|
||||
--color-purple-10: #cba6f7 !important;
|
||||
--color-purple-20: #cba6f7 !important;
|
||||
--color-purple-30: #cba6f7 !important;
|
||||
--color-purple-40: #cba6f7 !important;
|
||||
--color-purple-50: #cba6f7 !important;
|
||||
--color-purple-60: #cba6f7 !important;
|
||||
--color-purple-70: #cba6f7 !important;
|
||||
--color-purple-80: #cba6f7 !important;
|
||||
--color-purple-90: #cba6f7 !important;
|
||||
--color-red-0: #f38ba8 !important;
|
||||
--color-red-10: #f38ba8 !important;
|
||||
--color-red-20: #f38ba8 !important;
|
||||
--color-red-30: #f38ba8 !important;
|
||||
--color-red-40: #f38ba8 !important;
|
||||
--color-red-50: #f38ba8 !important;
|
||||
--color-red-60: #f38ba8 !important;
|
||||
--color-red-70: #f38ba8 !important;
|
||||
--color-red-80: #f38ba8 !important;
|
||||
--color-red-90: #f38ba8 !important;
|
||||
--color-violet-0: #cba6f7 !important;
|
||||
--color-violet-10: #cba6f7 !important;
|
||||
--color-violet-20: #cba6f7 !important;
|
||||
--color-violet-30: #cba6f7 !important;
|
||||
--color-violet-40: #cba6f7 !important;
|
||||
--color-violet-50: #cba6f7 !important;
|
||||
--color-violet-60: #cba6f7 !important;
|
||||
--color-violet-70: #cba6f7 !important;
|
||||
--color-violet-80: #cba6f7 !important;
|
||||
--color-violet-90: #cba6f7 !important;
|
||||
--color-violet-desaturated-0: #b4befe !important;
|
||||
--color-violet-desaturated-10: #b4befe !important;
|
||||
--color-violet-desaturated-20: #b4befe !important;
|
||||
--color-violet-desaturated-30: #b4befe !important;
|
||||
--color-violet-desaturated-40: #b4befe !important;
|
||||
--color-violet-desaturated-50: #b4befe !important;
|
||||
--color-violet-desaturated-60: #b4befe !important;
|
||||
--color-violet-desaturated-70: #b4befe !important;
|
||||
--color-violet-desaturated-80: #b4befe !important;
|
||||
--color-violet-desaturated-90: #b4befe !important;
|
||||
--color-yellow-0: #f9e2af !important;
|
||||
--color-yellow-10: #f9e2af !important;
|
||||
--color-yellow-20: #f9e2af !important;
|
||||
--color-yellow-30: #f9e2af !important;
|
||||
--color-yellow-40: #f9e2af !important;
|
||||
--color-yellow-50: #f9e2af !important;
|
||||
--color-yellow-60: #f9e2af !important;
|
||||
--color-yellow-70: #f9e2af !important;
|
||||
--color-yellow-80: #f9e2af !important;
|
||||
--color-yellow-90: #f9e2af !important;
|
||||
}
|
||||
|
||||
* {
|
||||
--background-color-box: #181825 !important;
|
||||
--background-color-box-info: #181825 !important;
|
||||
--background-color-information: #313244 !important;
|
||||
--background-color-canvas: #1e1e2e !important;
|
||||
--border-color: #45475a !important;
|
||||
--border-color-deemphasized: #45475a !important;
|
||||
--button-background-color-muted: #313244 !important;
|
||||
--button-text-color-ghost-disabled: #7f849c !important;
|
||||
--button-border: 2px solid var(--border-color) !important;
|
||||
--table-row-background-color-alternate: #181825 !important;
|
||||
--text-color-accent-primary-selected: var(--text-color) !important;
|
||||
}
|
||||
|
||||
* {
|
||||
--table-background-color: var(--background-color-box) !important;
|
||||
--table-border-color: var(--border-color) !important;
|
||||
--table-header-background-color: var(--color-accent-primary) !important;
|
||||
--table-row-background-color: var(--background-color-canvas) !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user