fix: none affinity damage styles

This commit is contained in:
cha0s 2019-05-26 11:59:11 -05:00
parent a0249b66b3
commit fbca08c5d4

View File

@ -4,6 +4,7 @@ import React from 'react';
import {compose} from '@avocado/core'; import {compose} from '@avocado/core';
import contempo from 'contempo'; import contempo from 'contempo';
import {AFFINITY_NONE} from '../../common/combat/constants';
import {AFFINITY_FIRE} from '../../common/combat/constants'; import {AFFINITY_FIRE} from '../../common/combat/constants';
const decorate = compose( const decorate = compose(
@ -23,6 +24,14 @@ const decorate = compose(
font-weight: bold; font-weight: bold;
text-shadow: 1px 1px 0px black; text-shadow: 1px 1px 0px black;
} }
.particle .text.affinity-${AFFINITY_NONE}.is-damage {
color: #FF0000;
text-shadow:
0.75px 0.75px black,
-0.125px -0.125px black,
-0px -0px 3px #FF2200
;
}
.particle .text.affinity-${AFFINITY_FIRE}.is-damage { .particle .text.affinity-${AFFINITY_FIRE}.is-damage {
color: #FFA500; color: #FFA500;
text-shadow: text-shadow: