-
Notifications
You must be signed in to change notification settings - Fork 88
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
Support for customizing the font style and character edge color of subtitles/captions #679
Support for customizing the font style and character edge color of subtitles/captions #679
Conversation
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.
Code looks good just two minor questions.
+1 In the current UI, the Subtitle Styling Settings Panel is now very big. This is fixed in the upcoming UI layout but do we want to back-port the scrollable/height handling to the current UI?
src/scss/skin-modern/_mixins.scss
Outdated
@@ -144,3 +144,19 @@ | |||
outline: none; | |||
} | |||
} | |||
|
|||
/// Replace `$search` with `$replace` in `$string`. From https://css-tricks.com/snippets/sass/str-replace-function/ | |||
/// @author Kitty Giraudel |
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.
Do we want to keep this?
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.
I thought it would be nice to keep the attribution. But the link alone could also be sufficient. What's your preference?
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.
I don't have a strong opinion. Both works for me 👍
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.
Updated in 8c5bab4
src/ts/components/subtitlesettings/characteredgecolorselectbox.ts
Outdated
Show resolved
Hide resolved
Thanks!
That would be good if someone could do that 😉 |
Description
The current subtitle/caption styling did not allow for changing the font style (default, italic, bold) and the character edge color. These two options are now added as well.
Checklist (for PR submitter and reviewers)
CHANGELOG
entry