Skip to content

Commit 0740ab1

Browse files
ViniDevBRPKief
andauthored
feat: add folder and icon for skills (#3367)
Signed-off-by: Philipp Kief <philipp.kief@gmx.de> Co-authored-by: Philipp Kief <philipp.kief@gmx.de>
1 parent ff1e200 commit 0740ab1

6 files changed

Lines changed: 47 additions & 0 deletions

File tree

icons/folder-skills-open.svg

Lines changed: 8 additions & 0 deletions
Loading

icons/folder-skills.svg

Lines changed: 2 additions & 0 deletions
Loading

icons/skill.svg

Lines changed: 8 additions & 0 deletions
Loading

src/core/icons/fileIcons.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3452,5 +3452,16 @@ export const fileIcons: FileIcons = {
34523452
light: true,
34533453
},
34543454
{ name: 'macaulay2', fileExtensions: ['m2'] },
3455+
{
3456+
name: 'skill',
3457+
fileNames: ['skill.md'],
3458+
fileExtensions: ['skill.md', 'skills.md'],
3459+
},
3460+
{
3461+
name: 'instructions',
3462+
fileNames: ['instructions.md', 'instruction.md'],
3463+
fileExtensions: ['instructions.md', 'instruction.md'],
3464+
clone: { base: 'lib', color: 'cyan-A700' },
3465+
},
34553466
]),
34563467
};

src/core/icons/folderIcons.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,18 @@ export const folderIcons: FolderTheme[] = [
13881388
color: 'gray-700',
13891389
},
13901390
},
1391+
{
1392+
name: 'folder-skills',
1393+
folderNames: ['skill', 'skills'],
1394+
},
1395+
{
1396+
name: 'folder-instructions',
1397+
folderNames: ['instruction', 'instructions'],
1398+
clone: {
1399+
base: 'folder-meta',
1400+
color: 'cyan-A700',
1401+
},
1402+
},
13911403
],
13921404
},
13931405
{

src/core/icons/languageIcons.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,10 @@ export const languageIcons: LanguageIcon[] = [
207207
{ name: 'nginx', ids: ['nginx'] },
208208
{ name: 'cue', ids: ['cue'] },
209209
{ name: 'lean', ids: ['lean'] },
210+
{ name: 'skill', ids: ['skill'] },
211+
{
212+
name: 'instructions',
213+
ids: ['instructions'],
214+
clone: { base: 'lib', color: 'cyan-A700' },
215+
},
210216
];

0 commit comments

Comments
 (0)