Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ client/node_modules/**
# Server node modules
server/node_modules/**

# Icons node modules
icons/**/node_modules/**

# Extension bundle
!dist/**
4 changes: 2 additions & 2 deletions icons/theme-seti/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# theme-seti

This is an icon theme that uses the icons from a fork of [`seti-ui`](https://github.com/jesseweed/seti-ui).
This is an icon theme that uses the icons from a [VBA-specific fork](https://github.com/DecimalTurn/seti-ui) of [`seti-ui`](https://github.com/jesseweed/seti-ui).

## Updating icons

There is script that can be used to update icons, [./build/update-icon-theme.js](build/update-icon-theme.js).
There is a script that can be used to update icons, [./build/update-icon-theme.js](build/update-icon-theme.js), it is almost identical to the script used by VS Code to import seti-ui ([here](https://github.com/microsoft/vscode/blob/main/extensions/theme-seti/build/update-icon-theme.js)).

To run this script, run `npm run update` from the `theme-seti` directory.

Expand Down
19 changes: 18 additions & 1 deletion icons/theme-seti/build/update-icon-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,19 @@ const inheritIconFromLanguage = {
"jsonl": 'json',
"postcss": 'css',
"django-html": 'html',
"blade": 'php'
"blade": 'php',
"prompt": 'markdown',
"instructions": 'markdown',
"chatagent": 'markdown',
"skill": 'markdown'
};

const languageFallbackExtensions = {
"css": ['css'],
"html": ['html', 'htm'],
"json": ['json'],
"markdown": ['md', 'markdown'],
"php": ['php']
};

const ignoreExtAssociation = {
Expand Down Expand Up @@ -255,6 +267,11 @@ function getLanguageMappings() {
for (const languageId in nonBuiltInLanguages) {
langMappings[languageId] = nonBuiltInLanguages[languageId];
}
for (const languageId in languageFallbackExtensions) {
if (!langMappings[languageId]) {
langMappings[languageId] = { extensions: languageFallbackExtensions[languageId] };
}
}
return langMappings;
}

Expand Down
2 changes: 1 addition & 1 deletion icons/theme-seti/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "seti-ui",
"repositoryUrl": "https://github.com/DecimalTurn/seti-ui",
"commitHash": "7a8d51ccb32737be812549fe1c31fae8276b284f"
"commitHash": "69db5b5bde90d2660c20f82314702ca8bb51e8b8"
}
},
"version": "0.1.0"
Expand Down
Binary file modified icons/theme-seti/icons/seti.woff
Binary file not shown.
Loading