Add global styles
This commit is contained in:
parent
7cf4bd875a
commit
283e439edb
31
Engine/src/styles.ts
Normal file
31
Engine/src/styles.ts
Normal 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',
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user