0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Updated admin darkmode background color to be consistent with global … (#17101)

…colors

No ref
This commit is contained in:
Sanne de Vries 2023-06-22 16:35:03 +02:00 committed by GitHub
parent 2c067aa1bb
commit f2d35c6a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -90,7 +90,7 @@ export default class SourceAttributionChart extends Component {
} }
get chartData() { get chartData() {
let borderColor = this.feature.nightShift ? '#101114' : '#fff'; let borderColor = this.feature.nightShift ? '#15171A' : '#fff';
return { return {
labels: this.allSources.map(source => source.source), labels: this.allSources.map(source => source.source),

View file

@ -79,7 +79,7 @@ export default class FeedbackEventsChart extends Component {
} }
get chartData() { get chartData() {
let borderColor = this.feature.nightShift ? '#101114' : '#fff'; let borderColor = this.feature.nightShift ? '#15171A' : '#fff';
return { return {
labels: this.args.data.labels, labels: this.args.data.labels,

View file

@ -76,7 +76,7 @@
:root { :root {
/* Primary colours */ /* Primary colours */
--black: #fafafb; --black: #fafafb;
--white: #101114; --white: #15171A;
--lime: #B5FF18; --lime: #B5FF18;
--darkgrey: #E3E6E8; --darkgrey: #E3E6E8;
@ -87,8 +87,8 @@
--whitegrey: #17191C; --whitegrey: #17191C;
--blue: color-mod(#3eb0ef l(+5%) s(+5%)); --blue: color-mod(#3eb0ef l(+5%) s(+5%));
--main-bg-color: #101114; --main-bg-color: #15171A;
--dark-main-bg-color: #101114; --dark-main-bg-color: #15171A;
--hairline-color-1: #22252A; --hairline-color-1: #22252A;
--hairline-color-2: #5E6874; --hairline-color-2: #5E6874;
@ -1428,12 +1428,12 @@ kbd {
.feature-audienceFeedback .gh-post-analytics-box.gh-post-analytics-source-attribution, .feature-audienceFeedback .gh-post-analytics-box.gh-post-analytics-source-attribution,
.gh-post-analytics-box.gh-post-analytics-mentions .gh-post-analytics-box.gh-post-analytics-mentions
{ {
background: #101114; background: var(--white);
border-color: #26282b; border-color: #26282b;
} }
.gh-tabs-analytics { .gh-tabs-analytics {
background: #101114; background: var(--white);
border-color: #26282b; border-color: #26282b;
} }
@ -1443,7 +1443,7 @@ kbd {
.gh-tabs-analytics .tab-panel-selected, .gh-tabs-analytics .tab-panel-selected,
.gh-tabs-analytics .tab-selected { .gh-tabs-analytics .tab-selected {
background: #101114; background: var(--white);
border-color: transparent; border-color: transparent;
} }