diff --git a/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.scss b/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.scss index 28b32db8..d4f61b56 100644 --- a/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.scss +++ b/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.scss @@ -126,19 +126,12 @@ section { } .legend-chip { - --mdc-chip-elevated-container-color: color-mix( - in srgb, - var(--legend-color) 10%, - var(--sg-surface) - ); - --mdc-chip-label-text-color: var(--legend-color); - --mdc-chip-outline-color: color-mix( - in srgb, - var(--legend-color) 28%, - transparent - ); + --mdc-chip-elevated-container-color: var(--sg-surface-soft); + --mdc-chip-label-text-color: var(--sg-text); + --mdc-chip-outline-color: var(--sg-border); - border: 1px solid color-mix(in srgb, var(--legend-color) 28%, transparent); + border: 1px solid var(--sg-border); + color: var(--sg-text); } .legend-color { diff --git a/webapp/src/app/modules/compare-authors/compare-authors.component.ts b/webapp/src/app/modules/compare-authors/compare-authors.component.ts index 0105d3f8..98fa4b6c 100644 --- a/webapp/src/app/modules/compare-authors/compare-authors.component.ts +++ b/webapp/src/app/modules/compare-authors/compare-authors.component.ts @@ -471,7 +471,11 @@ export class CompareAuthorsComponent implements OnInit { return `${params[0]?.name ?? ''}
${lines.join('
')}`; }, }, - legend: { type: 'scroll', top: 0 }, + legend: { + type: 'scroll', + top: 0, + textStyle: { color: this.chartTheme.colors().text }, + }, grid: { left: 16, right: 24, top: 56, bottom: 8, containLabel: true }, xAxis: { type: 'value', @@ -508,7 +512,7 @@ export class CompareAuthorsComponent implements OnInit { return `${params[0]?.name ?? ''}
${lines.join('
')}`; }, }, - legend: { top: 0 }, + legend: { top: 0, textStyle: { color: this.chartTheme.colors().text } }, grid: { left: 16, right: 40, top: 32, bottom: 8, containLabel: true }, xAxis: { type: 'value', @@ -555,7 +559,7 @@ export class CompareAuthorsComponent implements OnInit { return { tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, - legend: { top: 0 }, + legend: { top: 0, textStyle: { color: this.chartTheme.colors().text } }, grid: { left: 16, right: 40, top: 32, bottom: 8, containLabel: true }, xAxis: { type: 'value' }, yAxis: { diff --git a/webapp/src/app/modules/keywords-search/search-results/search-results.component.html b/webapp/src/app/modules/keywords-search/search-results/search-results.component.html index 758b2d1c..4f16bd57 100644 --- a/webapp/src/app/modules/keywords-search/search-results/search-results.component.html +++ b/webapp/src/app/modules/keywords-search/search-results/search-results.component.html @@ -57,7 +57,10 @@ -