-
-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Brush Script fonts and apply them to the YouTube page #2796
base: master
Are you sure you want to change the base?
Conversation
These are Cursive fonts. Youtube uses Roboto (AFAIK) which is a Sans Serif font. |
thank you and welcome! @rishipandey2 |
Thank you for the feedback! @4yman-0 I agree with your suggestion about making this an optional feature. I’ll work on adding a toggle or setting to apply the font changes and update the PR soon. |
check our feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. Your code editor started formatting on its own :)
This comment was marked as outdated.
This comment was marked as outdated.
|
||
// Call the function on load and when the setting changes | ||
extension.features.applyCustomFonts(); | ||
browser.storage.onChanged.addListener(function (changes, area) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
browser.storage.onChanged.addListener(function (changes, area) { | |
extension.storage.onChanged.addListener(function (changes, area) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay @4yman-0 I have changed it according to your suggestion.
Fixes #2793
Summary of Changes:
Details:
BrushScriptMT.ttf
,BrushScriptStd.ttf
) in thefonts
directory.@font-face
rules in the CSS for proper loading and usage of the fonts.