Arc-themed window controls for hyper
Arc-themed window controls for hyper
A plugin that makes the close, minimize, and maximize buttons look like the Arc Dark window controls, replacing the standard Windows 10-themed window controls. This plugin has been thoroughly tested in Ubuntu and Windows 10, and works with both v1.4.8
(old stable) and v2.0.0
canary and stable versions.
Based on the original Arc theme source, this plugin aims to match the theme as much as possible. You’re ~welcome~ encouraged to fork this project and modify it if you need to tinker with the colors, or create a PR if I missed something that needs fixing.
This plugin is designed to work perfectly with the hyperterm-atom-dark
-theme.
While it also integrates fine with vanilla-themed hyper, I cannot take every theme and plugin into account.
If the plugin doesn’t look great on xyz
-theme, then please do create an issue and I will look into it. But since I don’t own a Mac, I cannot test the plugin on every OS, although it’s been tested on Linux and Windows 10 which is what I have available.
1.2.0
$arcDarkConfig
variables for better configurabilityshowWindowControls
1.1.8
1.1.7
position: absolute
<li>
‘s and the svg
icons to match the Arc Dark theme1.1.6
1.1.4, 1.1.5
1.1.3
1.1.2
li
with the maximize and minimize icons, to compensate for the added border.1.1.1
1.1.0
div
with span
‘s into an ul
with inline svg
‘s residing inside its li
‘s. This allows for better control over the hover/active functions, and better control over the fill
-property of the svg
‘s. While using li
‘s we also get past the ugliness of positioning each icon with position: absolute
, and we now control the space between icons with margin instead. And we now also have the correct hover/active behaviour, since we now have the background
-property on the li
‘s available aswell.svg
‘s used are taking directly from the original Arc Theme repository. So all credit goes to horst3180. However, I’ve optimized them quite a bit by removing empty groups and useless InkScape/SodiPodi tags. It might even be worth a PR.svg
‘s, we can also get rid of the /icons
folder aswell, as there’s now no need for shipping the actual icons.1.0.0
Hyper store
hyper i hyper-arc-dark-controls
Manually:
Ctrl+,
(or manually at ~/.hyper.js
) with your editor.Update your list of plugins to include hyper-arc-dark-controls, like so:
plugins: [
'hyper-arc-dark-controls'
],
Reload (Ctrl+Shift+R
) or restart hyper and voila!
hpm (1.4.8):
hpm i hyper-arc-dark-controls
Ctrl+Shift+R
) or restart hyper and voila!You can configure the window controls like you would in your ~/.hyper.js
.
showWindowControls: true
- default, will display the window controls to the right.showWindowControls: 'left'
- will display the window controls to the left in reverse order, like on a Mac.showWindowControls: false
- will disable the window controls, and only theme the header.