Add global styles

This commit is contained in:
Ketchetwahmeegwun T. Southall 2022-01-30 14:13:32 -08:00
parent 7cf4bd875a
commit 283e439edb

31
Engine/src/styles.ts Normal file
View File

@ -0,0 +1,31 @@
import * as PIXI from 'pixi.js'
export const bodyTextStyle = () => {
return new PIXI.TextStyle({
fontFamily: 'Arial',
fontSize: 30,
dropShadow: true,
fill: ['#ffffff'],
stroke: '#99ff99',
})
}
export const buttonHoverStyle = () => {
return new PIXI.TextStyle({
fontFamily: 'Arial',
fontSize: 50,
dropShadow: true,
stroke: '#ffffff',
fill: '#9999dd',
})
}
export const buttonBlurStyle = () => {
return new PIXI.TextStyle({
fontFamily: 'Arial',
fontSize: 50,
dropShadow: true,
fill: ['#ffffff'],
stroke: '#000000',
})
}