chore(ui): change default FilteringCounterBadge color to primary

This commit is contained in:
Łukasz Mierzwa
2019-10-30 15:41:00 +00:00
parent 96822e7f66
commit 68eecf363d
4 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ const FilteringCounterBadge = observer(
themed
? cs.className
: [
"badge-light badge-pill components-label-with-hover",
"badge-primary badge-pill components-label-with-hover",
...cs.baseClassNames
].join(" ")
}

View File

@@ -66,8 +66,8 @@ describe("<FilteringCounterBadge />", () => {
it("themed @state=suppressed counter badge should have className 'badge-secondary'", () => {
validateClassName("suppressed", "badge-success", true);
});
it("unthemed @state=suppressed counter badge should have className 'badge-light'", () => {
validateClassName("suppressed", "badge-light", false);
it("unthemed @state=suppressed counter badge should have className 'badge-primary'", () => {
validateClassName("suppressed", "badge-primary", false);
});
it("@state=unprocessed counter badge should have empty style", () => {

View File

@@ -43,7 +43,7 @@ exports[`<SilenceComment /> Matches snapshot when collapsed 1`] = `
aria-describedby=\\"tippy-tooltip-1\\"
data-original-title=\\"Click to only show @silence_id=04d37636-2350-4878-b382-e0b50353230f alerts or Alt+Click to hide them\\"
>
<span class=\\" badge-light badge-pill components-label-with-hover components-label badge\\"
<span class=\\" badge-primary badge-pill components-label-with-hover components-label badge\\"
style=\\"opacity: 1;\\"
>
123
@@ -106,7 +106,7 @@ exports[`<SilenceComment /> Matches snapshot when expanded 1`] = `
aria-describedby=\\"tippy-tooltip-2\\"
data-original-title=\\"Click to only show @silence_id=04d37636-2350-4878-b382-e0b50353230f alerts or Alt+Click to hide them\\"
>
<span class=\\" badge-light badge-pill components-label-with-hover components-label badge\\"
<span class=\\" badge-primary badge-pill components-label-with-hover components-label badge\\"
style=\\"opacity: 1;\\"
>
123

View File

@@ -55,7 +55,7 @@ exports[`<ManagedSilence /> matches snapshot when collapsed 1`] = `
aria-describedby=\\"tippy-tooltip-1\\"
data-original-title=\\"Click to only show @silence_id=04d37636-2350-4878-b382-e0b50353230f alerts or Alt+Click to hide them\\"
>
<span class=\\" badge-light badge-pill components-label-with-hover components-label badge\\"
<span class=\\" badge-primary badge-pill components-label-with-hover components-label badge\\"
style=\\"opacity: 1;\\"
>
123
@@ -122,7 +122,7 @@ exports[`<ManagedSilence /> matches snapshot with expaned details 1`] = `
aria-describedby=\\"tippy-tooltip-3\\"
data-original-title=\\"Click to only show @silence_id=04d37636-2350-4878-b382-e0b50353230f alerts or Alt+Click to hide them\\"
>
<span class=\\" badge-light badge-pill components-label-with-hover components-label badge\\"
<span class=\\" badge-primary badge-pill components-label-with-hover components-label badge\\"
style=\\"opacity: 1;\\"
>
123