Last active
September 23, 2021 17:02
-
-
Save ubuntuegor/6059d489002f0b429cca37abf371ecc3 to your computer and use it in GitHub Desktop.
VK Sans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name VK Sans Text | |
// @namespace Violentmonkey Scripts | |
// @match https://vk.com/* | |
// @grant none | |
// @version 1.0.1 | |
// @author - | |
// @description 5/15/2021, 6:44:30 PM | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function(){ | |
GM_addStyle(` | |
body { | |
font-family: 'VK Sans Text','Roboto','Helvetica Neue',Geneva,"Noto Sans Armenian","Noto Sans Bengali","Noto Sans Cherokee","Noto Sans Devanagari","Noto Sans Ethiopic","Noto Sans Georgian","Noto Sans Hebrew","Noto Sans Kannada","Noto Sans Khmer","Noto Sans Lao","Noto Sans Osmanya","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai",sans-serif !important; | |
} | |
:root { | |
--palette-vk-font: 'VK Sans Text','Roboto','Helvetica Neue',Geneva,"Noto Sans Armenian","Noto Sans Bengali","Noto Sans Cherokee","Noto Sans Devanagari","Noto Sans Ethiopic","Noto Sans Georgian","Noto Sans Hebrew","Noto Sans Kannada","Noto Sans Khmer","Noto Sans Lao","Noto Sans Osmanya","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai",sans-serif !important; | |
} | |
input[type=text], input[type=submit], input[type=button], input[type=search], input[type=password], input[type~=text], input[type~=search], input[type~=password], input[type~=email], input.text, input.search, .fakeinput, textarea, input.big_text, input.file, div[contenteditable=true] { | |
font-family: 'VK Sans Text','Roboto','Helvetica Neue',Geneva,"Noto Sans Armenian","Noto Sans Bengali","Noto Sans Cherokee","Noto Sans Devanagari","Noto Sans Ethiopic","Noto Sans Georgian","Noto Sans Hebrew","Noto Sans Kannada","Noto Sans Khmer","Noto Sans Lao","Noto Sans Osmanya","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai",sans-serif !important; | |
} | |
.im-page--chat-header, .audio_page_player_remove_ads, .ads_ad_box.redesign, .audio_page__shuffle_all .audio_page__shuffle_all_button, .CallWidget, .flat_button, .button_gray button, .button_blue button, .audio_pl_snippet2 .audio_pl_snippet__action_btn, .audio_row__more_actions .audio_row__more_action, .im-page--members, .im-mess .im-mess--btn, .nim-dialog .nim-dialog--daction, .nim-dialog .nim-dialog--close, .nim-dialog .nim-dialog--markre, .im-fwd .im-fwd--messages, .im-right-menu .im-right-menu--close, .im-invite-box .im-invite-box--reset, .im-replied, .im-replied--author-link, .im-replied--text, .im_cal_clear_lnk, .PodcastEpisodeLayer__actions .button_action_light, .thumbed_link--product_worki .thumbed_link__buttons .thumbed_link__button__verified_message, div.submit_post_field font,div.submit_post_field[contenteditable=true] font,#wpe_text.zoom_text font, .tt_w { | |
font-family: 'VK Sans Text','Roboto','Helvetica Neue',Geneva,"Noto Sans Armenian","Noto Sans Bengali","Noto Sans Cherokee","Noto Sans Devanagari","Noto Sans Ethiopic","Noto Sans Georgian","Noto Sans Hebrew","Noto Sans Kannada","Noto Sans Khmer","Noto Sans Lao","Noto Sans Osmanya","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai",sans-serif !important; | |
} | |
.vkui__root,.vkui__portal-root { | |
--font-common: 'VK Sans Text', -apple-system, system-ui, Helvetica Neue, Roboto, sans-serif !important; | |
} | |
.CallBanner { | |
--default-font: 'VK Sans Text','Roboto','Helvetica Neue',Geneva,"Noto Sans Armenian","Noto Sans Bengali","Noto Sans Cherokee","Noto Sans Devanagari","Noto Sans Ethiopic","Noto Sans Georgian","Noto Sans Hebrew","Noto Sans Kannada","Noto Sans Khmer","Noto Sans Lao","Noto Sans Osmanya","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai",sans-serif !important; | |
} | |
.MEConfig { | |
--font: 'VK Sans Text', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Geneva, 'Noto Sans Armenian', 'Noto Sans Bengali', 'Noto Sans Cherokee', 'Noto Sans Devanagari', 'Noto Sans Ethiopic', 'Noto Sans Georgian', 'Noto Sans Hebrew', 'Noto Sans Kannada', 'Noto Sans Khmer', 'Noto Sans Lao', 'Noto Sans Osmanya', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Thai', sans-serif, Arial, Tahoma, verdana !important; | |
} | |
`) | |
})() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment