Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iocave/customize-ui
UI Customization plugin for vscode
https://github.com/iocave/customize-ui
Last synced: 13 days ago
JSON representation
UI Customization plugin for vscode
- Host: GitHub
- URL: https://github.com/iocave/customize-ui
- Owner: iocave
- License: mit
- Archived: true
- Created: 2019-06-06T00:14:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T07:17:21.000Z (over 1 year ago)
- Last Synced: 2024-08-01T19:56:27.932Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.61 MB
- Stars: 523
- Watchers: 20
- Forks: 36
- Open Issues: 94
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Customize UI README
This experimental extension allows customizing VSCode user interface beyond what's normally possible, such as
- Changing interface fonts
- Inline titlebar on macOS
- Activity bar below sidebar
- Custom stylesheet rules conveniently specified in settings.json
> Note: As of VSCode 1.74, this extension does not work, and will cause VSCode to crash. You can remain on 1.73.1 or prior to continue to use this extension. If you wish to move to a newer version of VSCode, you'll want to uninstall this extension before updating.
## Supported configuration options
### `customizeUI.activityBar`
When set to `top`, activity bar will be positioned over the sidebar.
When set to `bottom`, activity bar will be positioned below the sidebar.
When set to `wide`, activity bar will match the width of traffic lights (for macOS inline menu bar).
### `customizeUI.moveStatusbar`
When enabled move the statusbar below the panel (Terminal, Output, Problems). Useful to gain some space for the sidebar.
**WARNING:** don't works well if panel is set to left or right,
this setting was added to be able to disable the default behavior.### `customizeUI.activityBarHideSettings`
When enabled hides the Settings (and Accounts) icon in horizontal (`bottom`) activity bar. Useful when the activity bar gets too crowded.
### `customizeUI.titleBar`
macOS only. Setting this hides the titlebar, and the tab bar becomes draggable.
* `inline`: places window controls in the sidebar or tab bar.
* `frameless`: hides window controls.
Note that this setting requires that `"window.titleBarStyle": "native"` is also set.
### `customizeUI.fontSizeMap`
Mapping from hardcoded VSCode font size to custom font size. For example the following will change 13px and 12px UI fonts to 11px, which fixes huge sidebar font on OS X.
```jsonc
"customizeUI.fontSizeMap": {
"13px": "11px",
"12px": "11px",
"window-title": "12px", // Window title font when using custom titlebar
"tab-title": "12px", // Used for editor tab titles
"monospace": "10.5px", // Used for monospace fonts in user interface
"menu": "13px", // Used for menu items (windows only)
}
```### `customizeUI.listRowHeight`
Changes row height in various list and trees in user inteface. 22 by default
```jsonc
"customizeUI.listRowHeight": 20, // shrink rows to match XCode
```### `customizeUI.font.regular` and `customizeUI.font.monospace`
Allows changing font face for regular and monospace user interface fonts
```jsonc
"customizeUI.font.regular": "Helvetica Nueve",
"customizeUI.font.monospace": "Fira Code",
```### `customizeUI.stylesheet`
Allow adding custom stylesheet rules. It is in form of a map where selectors are keys.
```jsonc
"customizeUI.stylesheet": {
".search-view .search-widgets-container": "padding-top: 0px !important",
".suggest-input-container": "padding: 3px 4px 3px !important;"
}
```## How does it work
Customize UI relies on the [Monkey Patch Extension](https://marketplace.visualstudio.com/items?itemName=iocave.monkey-patch) to inject custom javascript in VSCode. After installation you should
be prompted to enable Monkey Patch. You can always trigger this manually by invoking the "Enable Monkey Patch" command.## Credits
Inline titlebar inspired by Jürg Lehni's Titlebar-less VSCode extension.
## Coffee
If you like this this extension, consider [buying me a coffee](https://www.buymeacoffee.com/matt1). Thank you!