Skip to content

Commit b3c65d5

Browse files
committed
Remove highlights to make codify config easier to see
1 parent 7bebafd commit b3c65d5

File tree

2 files changed

+7
-41
lines changed

2 files changed

+7
-41
lines changed

src/Form.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const Form: React.FC<FormProps> = props => {
158158
{!editingField && (
159159
<Box flexDirection='column'>
160160
<Box marginLeft={1} marginTop={1}>
161-
<Text bold backgroundColor='magentaBright'>{sections[currentTab].title}</Text>
161+
<Text bold>{sections[currentTab].title}</Text>
162162
</Box>
163163
<Text>{' {'}</Text>
164164
</Box>
@@ -203,11 +203,11 @@ export const Form: React.FC<FormProps> = props => {
203203
<Box flexDirection="row">
204204
<SubmitButton canSubmit={canSubmitForm} onSubmit={onSubmitForm}/>
205205
</Box>
206-
<Text color='gray'> Up/down: navigate between parameters.</Text>
207-
<Text color='gray'> Left/right: navigate between resources.</Text>
208-
<Text color='gray'> Enter: select or edit.</Text>
209-
<Text color='gray'> [A]: add an additional instance.</Text>
210-
<Text color='gray'> [R]: remove import.</Text>
206+
<Text color='gray' dimColor> Up/down: navigate between parameters.</Text>
207+
<Text color='gray' dimColor> Left/right: navigate between resources.</Text>
208+
<Text color='gray' dimColor> Enter: select or edit.</Text>
209+
<Text color='gray' dimColor> [A]: add an additional instance.</Text>
210+
<Text color='gray' dimColor> [R]: remove import.</Text>
211211
</Box>
212212

213213
// </Box>

src/demo/Test.tsx

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -76,41 +76,7 @@ export function Test() {
7676
{ type: 'string', name: 'versions', label: 'version'},
7777
{ type: 'string', name: 'gitUrl', label: 'gitUrl' },
7878
]
79-
},
80-
{
81-
title: "asdf-global2",
82-
fields: [
83-
{ type: 'string', name: 'plugin', label: 'plugin', required: true, description: 'The plugin to install' },
84-
{ type: 'string', name: 'version', label: 'version', required: true, description: 'The version to install' },
85-
],
86-
description: 'Asdf global sets the global version of a asdf installed plugin.'
87-
},
88-
{
89-
title: "asdf-install2",
90-
description: 'Asdf install is responsible for installing an asdf resource',
91-
fields: [
92-
{ type: 'string', name: 'directory', label: 'directory', required: true, description: 'The directory to install.' },
93-
]
94-
},
95-
{
96-
title: "asdf-local2",
97-
description: 'Asdf global sets the local version of a asdf installed plugin.',
98-
fields: [
99-
{ type: 'string', name: 'plugin', label: 'plugin', required: true },
100-
{ type: 'string', name: 'version', label: 'version', required: true },
101-
{ type: 'string', name: 'directory', label: 'directory' },
102-
{ type: 'array', name: 'directories', label: 'directories' },
103-
]
104-
},
105-
{
106-
title: "asdf-plugin2",
107-
// description: 'Asdf plugin installs a plugin.',
108-
fields: [
109-
{ type: 'string', name: 'plugin', label: 'plugin', required: true },
110-
{ type: 'string', name: 'versions', label: 'version'},
111-
{ type: 'string', name: 'gitUrl', label: 'gitUrl' },
112-
]
113-
},
79+
}
11480
]
11581
}}
11682
/>

0 commit comments

Comments
 (0)