Update seti-ui icon theme
This commit is contained in:
Родитель
f3f4eebecb
Коммит
f3ec084d54
|
@ -0,0 +1,32 @@
|
|||
# theme-seti
|
||||
|
||||
This is an icon theme that uses the icons from [`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).
|
||||
|
||||
To run this script, run `npm run update` from the `theme-seti` directory.
|
||||
|
||||
This can be run in one of two ways: looking at a local copy of `seti-ui` for icons, or getting them straight from GitHub.
|
||||
|
||||
If you want to run it from a local copy of `seti-ui`, first clone [`seti-ui`](https://github.com/jesseweed/seti-ui) to the folder next to your `vscode` repo (from the `theme-seti` directory, `../../`).
|
||||
Then, inside the `set-ui` directory, run `npm install` followed by `npm run prepublishOnly`. This will generate updated icons.
|
||||
|
||||
If you want to download the icons straight from GitHub, change the `FROM_DISK` variable to `false` inside of `update-icon-theme.js`.
|
||||
|
||||
### Languages not shipped with `vscode`
|
||||
|
||||
Languages that are not shipped with `vscode` must be added to the `nonBuiltInLanguages` object inside of `update-icon-theme.js`.
|
||||
|
||||
These should match [the file mapping in `seti-ui`](https://github.com/jesseweed/seti-ui/blob/master/styles/components/icons/mapping.less).
|
||||
|
||||
Please try and keep this list in alphabetical order! Thank you.
|
||||
|
||||
## Previewing icons
|
||||
|
||||
There is a [`./icons/preview.html`](./icons/preview.html) file that can be opened to see all of the icons included in the theme.
|
||||
Note that to view this, it needs to be hosted by a web server.
|
||||
|
||||
When updating icons, it is always a good idea to make sure that they work properly by looking at this page.
|
||||
When submitting a PR that updates these icons, a screenshot of the preview page should accompany it.
|
|
@ -11,29 +11,31 @@ let https = require('https');
|
|||
let url = require('url');
|
||||
|
||||
// list of languagesId not shipped with VSCode. The information is used to associate an icon with a language association
|
||||
// Please try and keep this list in alphabetical order! Thank you.
|
||||
let nonBuiltInLanguages = { // { fileNames, extensions }
|
||||
"r": { extensions: ['r', 'rhistory', 'rprofile', 'rt'] },
|
||||
"argdown": { extensions: ['ad', 'adown', 'argdown', 'argdn'] },
|
||||
"elm": { extensions: ['elm'] },
|
||||
"ocaml": { extensions: ['ml', 'mli'] },
|
||||
"nunjucks": { extensions: ['nunjucks', 'nunjs', 'nunj', 'nj', 'njk', 'tmpl', 'tpl'] },
|
||||
"mustache": { extensions: ['mustache', 'mst', 'mu', 'stache'] },
|
||||
"erb": { extensions: ['erb', 'rhtml', 'html.erb'] },
|
||||
"terraform": { extensions: ['tf', 'tfvars', 'hcl'] },
|
||||
"vue": { extensions: ['vue'] },
|
||||
"sass": { extensions: ['sass'] },
|
||||
"puppet": { extensions: ['puppet'] },
|
||||
"kotlin": { extensions: ['kt'] },
|
||||
"jinja": { extensions: ['jinja'] },
|
||||
"haxe": { extensions: ['hx'] },
|
||||
"haskell": { extensions: ['hs'] },
|
||||
"gradle": { extensions: ['gradle'] },
|
||||
"elixir": { extensions: ['ex'] },
|
||||
"haml": { extensions: ['haml'] },
|
||||
"stylus": { extensions: ['styl'] },
|
||||
"vala": { extensions: ['vala'] },
|
||||
"elm": { extensions: ['elm'] },
|
||||
"erb": { extensions: ['erb', 'rhtml', 'html.erb'] },
|
||||
"github-issues": { extensions: ['github-issues'] },
|
||||
"todo": { fileNames: ['todo'] }
|
||||
"gradle": { extensions: ['gradle'] },
|
||||
"godot": { extensions: ['gd', 'godot', 'tres', 'tscn'] },
|
||||
"haml": { extensions: ['haml'] },
|
||||
"haskell": { extensions: ['hs'] },
|
||||
"haxe": { extensions: ['hx'] },
|
||||
"jinja": { extensions: ['jinja'] },
|
||||
"kotlin": { extensions: ['kt'] },
|
||||
"mustache": { extensions: ['mustache', 'mst', 'mu', 'stache'] },
|
||||
"nunjucks": { extensions: ['nunjucks', 'nunjs', 'nunj', 'nj', 'njk', 'tmpl', 'tpl'] },
|
||||
"ocaml": { extensions: ['ml', 'mli'] },
|
||||
"puppet": { extensions: ['puppet'] },
|
||||
"r": { extensions: ['r', 'rhistory', 'rprofile', 'rt'] },
|
||||
"sass": { extensions: ['sass'] },
|
||||
"stylus": { extensions: ['styl'] },
|
||||
"terraform": { extensions: ['tf', 'tfvars', 'hcl'] },
|
||||
"todo": { fileNames: ['todo'] },
|
||||
"vala": { extensions: ['vala'] },
|
||||
"vue": { extensions: ['vue'] }
|
||||
};
|
||||
|
||||
// list of languagesId that inherit the icon from another language
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"git": {
|
||||
"name": "seti-ui",
|
||||
"repositoryUrl": "https://github.com/jesseweed/seti-ui",
|
||||
"commitHash": "9c1c29d6e9358f9ae99bd3a4bf0d2fa804dca686"
|
||||
"commitHash": "4c16086852e7559cc23f63c45cce00c983ce36db"
|
||||
}
|
||||
},
|
||||
"version": "0.1.0"
|
||||
|
|
Двоичные данные
extensions/theme-seti/icons/seti.woff
Двоичные данные
extensions/theme-seti/icons/seti.woff
Двоичный файл не отображается.
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче