...
 
Commits (3)
......@@ -11,7 +11,7 @@
outline: 0;
&.green {
@include m-theme() {
background-color: #5dbac0;
background-color: themed($m-btn--primary);
color: themed($m-white);
}
.m-shadowboxSubmitButton__status--saving {
......@@ -24,7 +24,7 @@
}
&.red {
@include m-theme() {
background-color: themed($m-red-dark);
background-color: themed($m-alert);
color: themed($m-white);
}
.m-shadowboxSubmitButton__status--saving {
......@@ -38,7 +38,7 @@
&.grey {
@include m-theme() {
background-color: themed($m-grey-100);
color: themed($m-grey-500);
color: themed($m-textColor--secondary);
}
.m-shadowboxSubmitButton__status--saving {
span {
......@@ -59,12 +59,12 @@
}
&.green {
@include m-theme() {
background-color: #55ccb2;
background-color: themed($m-btn--primary);
}
}
&.red {
@include m-theme() {
background-color: rgba(themed($m-red), 0.9);
background-color: rgba(themed($m-alert), 0.9);
}
}
&.grey {
......@@ -84,7 +84,7 @@
}
&.green {
@include m-theme() {
background-color: #5dbac0;
background-color: themed($m-btn--primary);
}
}
&.red {
......
......@@ -2,7 +2,7 @@ import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule as NgCommonModule } from '@angular/common';
import { CommonModule } from '../../common/common.module';
import { Client } from '../../common/api/client.service';
import { Storage } from '../../services/storage';
import { CookieService } from '../../common/services/cookie.service';
import { ExperimentDirective } from './experiment.directive';
import { ExperimentsService } from './experiments.service';
......@@ -14,9 +14,9 @@ import { ExperimentsService } from './experiments.service';
providers: [
{
provide: ExperimentsService,
useFactory: (_client, _storage) =>
new ExperimentsService(_client, _storage),
deps: [Client, Storage],
useFactory: (_client, cookieService) =>
new ExperimentsService(_client, cookieService),
deps: [Client, CookieService],
},
],
})
......