Skip to content

Commit

Permalink
fix(style): Better default styling of toolbar
Browse files Browse the repository at this point in the history
Fixes #16
  • Loading branch information
RomRider committed Jan 29, 2021
1 parent 0a38778 commit 4d0ef1c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export const styles: CSSResult = css`
width: 20px;
height: 20px;
line-height: 24px;
color: #6e8192;
color: var(--primary-text-color);
text-align: center;
}
Expand All @@ -512,7 +512,7 @@ export const styles: CSSResult = css`
.apexcharts-zoomout-icon svg,
.apexcharts-reset-icon svg,
.apexcharts-menu-icon svg {
fill: #6e8192;
fill: var(--primary-text-color);
}
.apexcharts-selection-icon svg {
Expand All @@ -534,7 +534,7 @@ export const styles: CSSResult = css`
.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
fill: #008ffb;
fill: var(--primary-color);
}
.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
Expand All @@ -543,7 +543,7 @@ export const styles: CSSResult = css`
.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,
.apexcharts-theme-light .apexcharts-reset-icon:hover svg,
.apexcharts-theme-light .apexcharts-menu-icon:hover svg {
fill: #333;
fill: var(--primary-color);
}
.apexcharts-selection-icon,
Expand Down Expand Up @@ -578,17 +578,17 @@ export const styles: CSSResult = css`
}
.apexcharts-pan-icon svg {
fill: #fff;
stroke: #6e8192;
fill: var(--primary-text-color);
stroke: rgba(0, 0, 0, 0);
stroke-width: 2;
}
.apexcharts-pan-icon.apexcharts-selected svg {
stroke: #008ffb;
fill: var(--primary-color);
}
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
stroke: #333;
stroke: var(--primary-color);
}
.apexcharts-toolbar {
Expand All @@ -601,10 +601,11 @@ export const styles: CSSResult = css`
display: flex;
justify-content: space-between;
align-items: center;
opacity: 0.5;
}
.apexcharts-menu {
background: #fff;
background: var(--primary-background-color);
position: absolute;
top: 100%;
border: 1px solid #ddd;
Expand All @@ -630,7 +631,7 @@ export const styles: CSSResult = css`
}
.apexcharts-theme-light .apexcharts-menu-item:hover {
background: #eee;
background: var(--primary-color);
}
.apexcharts-theme-dark .apexcharts-menu {
Expand Down

0 comments on commit 4d0ef1c

Please sign in to comment.