[![Image of Guna][S1]][S1] [![Package Control](https://img.shields.io/packagecontrol/dt/Guna?logo=github&color=FF1919)][GUNA] [![PayPal](https://img.shields.io/badge/paypal-donate-blue.svg)][PM] Guna is the most innovative theme for sublime text. It supports various functions : conspicuous widgets (clock, weather, date) on the sidebar, manually or adaptively tweakable theme colors, font switching, controlling status bar label by its own API. ### Theme Activation Simply, run __*Guna*__ in __*command palette*__ (*cmd/ctrl+shift+p*). In case that other color scheme is selected on adaptive mode, it reverts to Guna's original color scheme. I recommend that you select __*View > Side Bar > Hide Open Files*__ for a better view. When Guna is removed, it automatically restores theme and color scheme as the last before activating Guna. ### Fonts Guna uses [__Dejavu Sans__][L1] as the default font for UI and [__Roboto Condensed__][L2] is used only for the status bar. But you can change them in the theme-tweak settings as you want. The editor font is __Menlo__ ([__Meslo__][L5]) in the screenshots above. ### Widgets __Clock__ / __Date__ : The color of the clock expresses the status of active view. ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-status-normal.png) : Normal state ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-status-dirty.png) : Dirty or scratch state ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-status-reado.png) : Read-only state ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-status-alert.png) : Alert state (only controlled by API) __Weather__ : The weather widget has been added (from v1.4.0). The widget uses [https://openweathermap.org](https://openweathermap.org) for weather information and you can access it after getting your own [__AppID__](http://openweathermap.org/appid). After getting it, fill out weather settings in [__Guna.sublime-settings__][L6]. The 1st icon means current weather, the 2nd icon means forecast in 3 hours, the 3rd icon means forecast in 6 hours. Normally, it will be updated every half an hour. ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-weather.png) __✹ Widgets can be viewed on other themes__ ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-widget-ayu.png) ### Adaptive Theme Guna automatically tweaks theme colors to match selected other color scheme. Basically, by matching background color, Guna can be combined with other color schemes, like Monokai, Mariana, Ayu, ... Some examples are below. Guna also supports an easy way to __customize theme colors and fonts__. In order to override colors and font faces, use __*Preferences > Package Settings > Guna > Dark (Light) theme settings*__ ([__Guna theme settings__][L11]). __*Adaptive Theme Testing Shot*__ [![Image of Guna][S5]][S5] ### Syntax Color Scheme [__Python__][L12], [__Java__][L13], [__C++__][L14], [__Systemverilog__][L15], [__Html__][L16], [__Markdown__][L17], [__Yaml__][L18], ... ### API You can control Guna's screen through Guna's APIs. Currently, there are two functions for displaying alert situation. If you want to see the example, simply type __*raise*__ in Sublime console. (example - status bar label) ![Image of Guna](https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-alert-0.png) Please, refer to [__Guna's API__][L10] ### UI Scaling Guna supports __HiDPI__ with UI scaling. [__Guna theme settings__][L11] ``` { "scale": 1.5, // control sizes of buttons, file icons, tab ... "widget_scale": 1.33, // control sizes of clock, weather widget ... "switch_icon_scale": 1, // control the size of switch panel icon } ``` ### File Type Icons Guna doesn't have its own file type icons except for Verilog/Systemverilog. In screenshots above, [A File Icon][L7] is used and recommended. ### Donate [![Doate Image](https://raw.githubusercontent.com/poucotm/Links/master/image/PayPal/donate-paypal.png)][PM] Thank you for donating. It is helpful to continue to improve the plug-in. ### Credits - Icons designed by [Freepik](http://www.freepik.com/), [Dave Gandy](https://www.flaticon.com/authors/dave-gandy), [Madebyoliver](https://www.flaticon.com/authors/madebyoliver), [Gregor Cresnar](https://www.flaticon.com/authors/gregor-cresnar), [Smartline](https://www.flaticon.com/authors/smartline), [Vectors Market](https://www.flaticon.com/authors/vectors-market), [Monkik](https://www.flaticon.com/kr/authors/monkik), [Linector](https://www.flaticon.com/authors/Linector) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/) ### License Guna is licensed under a [Creative Commons Attribution-NonCommercial 4.0 International License](https://creativecommons.org/licenses/by-nc/4.0/). [S1]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-screenshot.png "enlarge" [S4]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-screenshot-4.png "enlarge" [S5]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/guna-adaptive.gif "enlarge" [L1]:https://dejavu-fonts.github.io/ "Dejavu Sans" [L2]:https://fonts.google.com/specimen/Roboto "Roboto Family" [L3]:https://fonts.google.com/specimen/Source+Sans+Pro "Source Sans Pro" [L4]:https://fonts.google.com/specimen/Open+Sans "Open Sans" [L5]:https://github.com/andreberg/Meslo-Font "Meslo" [L6]:https://github.com/poucotm/Guna/blob/master/Guna.sublime-settings "Guna Settings" [L7]:https://packagecontrol.io/packages/A%20File%20Icon "A File Icon" [L8]:https://packagecontrol.io/packages/SublimeLinter "SublimeLinter" [L9]:https://github.com/poucotm/Guna/blob/master/themes/preset/theme-settings.md [L10]:https://github.com/poucotm/Guna/blob/master/README-API.md "Guna API" [L11]:https://github.com/poucotm/Guna/blob/master/themes/preset/Guna-dark.sublime-settings "Guna Dark(Light) theme Settings" [L12]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/python.png [L13]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/java.png [L14]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/cpp.png [L15]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/systemverilog.png [L16]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/html.png [L17]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/markdown.png [L18]:https://raw.githubusercontent.com/poucotm/Links/master/image/Guna/yaml.png [PP]:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=89YVNDSC7DZHQ "PayPal" [PM]:https://www.paypal.me/poucotm/1.0 "PayPal" [GUNA]:https://packagecontrol.io/packages/Guna "Guna"