Updated character counter color
This commit is contained in:
parent
7184b94a15
commit
807cfb8fa7
|
@ -18,7 +18,7 @@ export function countDownCharacters(params) {
|
|||
if (length > maxCharacters) {
|
||||
el.style.color = '#E25440';
|
||||
} else {
|
||||
el.style.color = '#9FBB58';
|
||||
el.style.color = '#30CF43';
|
||||
}
|
||||
|
||||
el.innerHTML = length;
|
||||
|
|
|
@ -3,7 +3,7 @@ import {describe, it} from 'mocha';
|
|||
import {expect} from 'chai';
|
||||
|
||||
describe('Unit: Helper: gh-count-down-characters', function () {
|
||||
let validStyle = 'color: rgb(159, 187, 88);';
|
||||
let validStyle = 'color: rgb(48, 207, 67);';
|
||||
let errorStyle = 'color: rgb(226, 84, 64);';
|
||||
|
||||
it('counts chars', function () {
|
||||
|
|
Loading…
Reference in New Issue