Add color options

This commit is contained in:
Travis Shivers 2020-07-31 19:20:35 -05:00
parent 957d0f3583
commit ee82d7b680
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
2 changed files with 13 additions and 5 deletions

View File

@ -3,9 +3,9 @@ export const subtitleSettings = {
};
export const subtitlePositions = {
Bottom: 2,
Middle: 5,
Top: 8,
Middle: 5,
Bottom: 2,
};
export const subtitleSizes = {
@ -18,6 +18,14 @@ export const subtitleSizes = {
export const subtitleColors = {
White: 'FFFFFF',
Yellow: 'FFEE00',
Black: '000000',
Cyan: '00FFFF',
Blue: '0000FF',
Green: '00FF00',
Magenta: 'EE00EE',
Red: 'FF0000',
Gray: '808080',
};
export const hexToLibjassColor = async (hex) => {

View File

@ -45,9 +45,9 @@ module.exports = {
// },
// },
// devServer: {
// disableHostCheck: true,
// },
devServer: {
disableHostCheck: true,
},
css: {
extract: process.env.NODE_ENV === 'production' ? {