kibana/x-pack/plugins/lens/public/app_plugin/app.scss
Michael Marcialis 6b9ff48306
[Lens] Fix Chart Switcher Icon Color Contrast (#96146)
* add new lns prefixed classes to target icon colors

* correct groupPosition prop on visual options

* account for icon accent color contrast

* switch to ternary operator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 14:51:15 -04:00

45 lines
696 B
SCSS

.lnsAppWrapper {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.lnsApp {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.lnsApp__header {
border-bottom: $euiBorderThin;
}
.lnsApp__frame {
position: relative;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.lensChartIcon__subdued {
fill: $euiTextSubduedColor;
.lnsLayerChartSwitch__item-isSelected & {
fill: currentColor;
}
}
.lensChartIcon__accent {
fill: $euiColorVis0;
.lnsLayerChartSwitch__item-isSelected & {
fill: makeGraphicContrastColor($euiColorVis0, $euiColorDarkShade);
}
}