From 7dd84432f63c7319bff75111e0f8c425719f8579 Mon Sep 17 00:00:00 2001 From: vednoc Date: Wed, 1 Jun 2022 21:56:16 +0200 Subject: [PATCH] release: 2.9.3 --- instagram.user.css | 46 +++++++++++++++++++++++++++++++++------------ instagram.user.styl | 4 ++-- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/instagram.user.css b/instagram.user.css index f57d687..841873e 100644 --- a/instagram.user.css +++ b/instagram.user.css @@ -6,13 +6,13 @@ @homepageURL https://gitlab.com/vednoc/dark-instagram @supportURL https://gitlab.com/vednoc/dark-instagram/issues @updateURL https://gitlab.com/vednoc/dark-instagram/raw/master/instagram.user.css -@version 2.9.2 +@version 2.9.3 @license MIT ==/UserStyle== */ @-moz-document regexp('^https?://(www\.)?instagram\.com(/.*)?$') { - :root { - --note: 'Switching @updateURL to https://userstyles.world platform!\A\A🌚 Dark-Instagram v2.9.2'; + *:not(#z) { + --note: 'Switching @updateURL to https://userstyles.world platform!\A\A🌚 Dark-Instagram v2.9.3'; --bshadow: 0 2px 4px var(--shadow); --t: transparent !important; --avatar: a_radius; @@ -61,6 +61,25 @@ --jb7: var(--shadow-rgb); --fa7: var(--darken-rgb); --de5: var(--white-rgb); + --ig-link: var(--accent-rgb); + --ig-primary-text: 233,233,233; + --ig-secondary-text: var(--lighter-rgb); + --ig-tertiary-text: var(--lighter-rgb); + --ig-text-on-color: var(--white-rgb); + --ig-text-on-media: var(--dark-rgb); + --ig-primary-background: var(--darken-rgb); + --ig-secondary-background: var(--dark-rgb); + --ig-highlight-background: var(--darker-rgb); + --ig-elevated-background: var(--darken-rgb); + --ig-elevated-separator: var(--darker-rgb); + --ig-primary-text: var(--light-rgb); + --ig-primary-button: var(--accent-rgb); + --ig-secondary-button: var(--light-rgb); + --ig-badge: var(--accent-rgb); + --ig-separator: var(--darker-rgb); + --post-separator: var(--darker-rgb); + --ig-stroke: var(--darker-rgb); + --font-family-system: var(--ui-font) !important; } ::-webkit-scrollbar { width: 0.5em; @@ -87,12 +106,6 @@ body ::-webkit-input-placeholder { color: var(--lighter) !important; } - body, - body button, - body input, - body textarea { - font-family: var(--ui-font) !important; - } body[style *= 'background: white'] { background-color: var(--dark) !important; } @@ -173,8 +186,12 @@ body ._2Lks6 { color: var(--accent) !important; } - body nav a[href = '/'] img, - [src *= 'logo.png'] { + body a[href='/'] > div > div > i[role='img'], + body a[href='/'] > div > div img[src*='logo.png'] { + filter: invert(0.8); + } + body i[role='img'], + body img[src*='out_wordmark.png'] { filter: invert(0.8); } body .HZ802, @@ -332,6 +349,10 @@ body .fXIG0 { bottom: 40px !important; } + body ._a3gq ._aaqh { + color: var(--red) !important; + background-color: var(--lighter) !important; + } body .GBPOY { border-radius: 3px; border-color: var(--darker) !important; @@ -388,8 +409,9 @@ } body footer > div::after { content: var(--note); + white-space: pre-wrap; text-align: center; - margin-top: 2rem; + margin-top: 1rem; } @keyframes Loader { 0% { diff --git a/instagram.user.styl b/instagram.user.styl index 4cd8c01..c277c51 100644 --- a/instagram.user.styl +++ b/instagram.user.styl @@ -7,7 +7,7 @@ @supportURL https://gitlab.com/vednoc/dark-instagram/issues @updateURL https://userstyles.world/api/style/30.user.css @preprocessor stylus -@version 2.9.2 +@version 2.9.3 @license MIT @var text ui_font 'Custom UI font' '"font_name"' @@ -69,7 +69,7 @@ rad() { border-radius: arguments } @-moz-document regexp('^https?://(www\.)?instagram\.com(/.*)?$') { note ?= 'Switching @updateURL to https://userstyles.world platform!\A\A' - note += '🌚 Dark-Instagram v2.9.2' + note += '🌚 Dark-Instagram v2.9.3' /// Theme variables. *:not(#z) {