Commit 3f5816e1 authored by Soldatoff's avatar Soldatoff

typo color changed

typo-card style changed typos text stylу changed
parent 849ac06c
......@@ -76,7 +76,7 @@ export default class Typo extends Component {
this.highlightedContext = context.replace(regex,
`<span class="typo-correction">
<del>${original}</del> ->
<span class="text-danger">${corrected}</span>
<span class="text-primary">${corrected}</span>
</span>`);
}
......@@ -88,8 +88,8 @@ export default class Typo extends Component {
const typo = this.typo;
const display = "d-block";
const textColor = "text-white";
const backgroundColor = "bg-primary";
const textColor = "text-black";
const backgroundColor = "bg-light";
const className = `TypoCard text-center ${display} ${backgroundColor} ${textColor}`;
......
......@@ -19,7 +19,7 @@
}
.TypoCard a {
color: white;
color: black;
}
.TypoCard #typo-id {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment