mirror of https://github.com/Kylart/KawAnime.git
Forgot bold
This commit is contained in:
parent
39961d371f
commit
13ed585d98
|
@ -26,6 +26,7 @@ export default function (styles, name) {
|
|||
_.each(styles, (style) => {
|
||||
const isItalic = +style.Italic ? 'italic' : 'none'
|
||||
const isUnderline = -+style.Underline ? 'underline' : null
|
||||
const bold = -+style.Bold ? 'font-weight: bold;' : ''
|
||||
const fontSize = +style.Fontsize
|
||||
const strikeOut = +style.Strikeout ? 'line-through' : null
|
||||
const primaryColor = vbToRGBA(style.PrimaryColour)
|
||||
|
@ -41,6 +42,7 @@ export default function (styles, name) {
|
|||
text-decoration: ${(isUnderline || strikeOut) || 'none'};
|
||||
color: ${primaryColor};
|
||||
text-shadow: 1px 1px 2px ${outlineColor}, 1px -1px 2px ${outlineColor}, -1px 1px 2px ${outlineColor}, -1px -1px 2px ${outlineColor};
|
||||
${bold}
|
||||
${outline}
|
||||
-webkit-font-smoothing: antialiased;
|
||||
${defStyle}
|
||||
|
|
Loading…
Reference in New Issue