File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,18 @@ const CodeEditor: React.FC<CodeEditorInterface> & CodeEditorComposition = React.
126
126
} ,
127
127
} )
128
128
129
+ monaco . editor . defineTheme ( CodeEditorThemesKeys . networkStatusInterface , {
130
+ base : 'vs-dark' ,
131
+ inherit : true ,
132
+ rules : [
133
+ // @ts -ignore
134
+ { background : '#1A1A1A' } ,
135
+ ] ,
136
+ colors : {
137
+ 'editor.background' : '#1A1A1A' ,
138
+ } ,
139
+ } )
140
+
129
141
monaco . editor . defineTheme ( CodeEditorThemesKeys . deleteDraft , {
130
142
base : 'vs' ,
131
143
inherit : true ,
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ export enum CodeEditorThemesKeys {
84
84
deleteDraft = 'delete-draft' ,
85
85
unpublished = 'unpublished' ,
86
86
vs = 'vs' ,
87
+ networkStatusInterface = 'network-status-interface' ,
87
88
}
88
89
89
90
export interface CodeEditorInitialValueType {
Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ export const ROUTES = {
96
96
CONFIG_CD_PIPELINE : 'config/cd-pipeline' ,
97
97
MODULE_CONFIGURED : 'module/config' ,
98
98
RESOURCE_HISTORY_DEPLOYMENT : 'resource/history/deployment' ,
99
+ ATTRIBUTES : 'attributes' ,
100
+ ATTRIBUTES_CREATE : 'attributes/create' ,
101
+ ATTRIBUTES_UPDATE : 'attributes/update' ,
99
102
}
100
103
101
104
export enum KEY_VALUE {
You can’t perform that action at this time.
0 commit comments