feat(console): codemirror code editor for actions (#2736)

* feat: codemirror code editor

* cleanup

* lint

* mat import

* lint
This commit is contained in:
Max Peintner
2021-12-08 10:48:23 +01:00
committed by GitHub
parent 211dc7c21f
commit 7bf7379a05
11 changed files with 492 additions and 571 deletions
@@ -1,3 +1,5 @@
@use '@angular/material' as mat;
.title {
font-size: 1.2rem;
margin-top: 0;
@@ -8,8 +10,11 @@
font-size: .9rem;
}
.script {
min-height: 200px;
@mixin action-dialog-theme($theme) {
$primary: map-get($theme, primary);
$primary-color: mat.get-color-from-palette($primary, 500);
$is-dark-theme: map-get($theme, is-dark);
$foreground: map-get($theme, foreground);
}
.action {