• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🍁 Most Innovative Theme for Sublime Text

Image of Guna

Package Control PayPal

Guna is the most innovative theme for sublime text. It supports various functions : conspicuous widgets (clock, weather) on the sidebar, manually or adaptively tweakable theme colors, 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 as the default font for UI and Roboto Condensed 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) in the screenshots above.

Widgets

Clock / Date : The color of the clock expresses the status of active view.

Image of Guna : Normal state
Image of Guna : Dirty or scratch state
Image of Guna : Read-only state
Image of Guna : Alert state (only controlled by API)

Weather : The weather widget has been added (from v1.4.0). The widget uses https://openweathermap.org for weather information and you can access it after getting your own AppID. After getting it, fill out weather settings in Guna.sublime-settings. 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

✹ Widgets can be viewed on other themes

Image of Guna

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).

Adaptive Theme Testing Shot

Image of Guna

Syntax Color Scheme

Python, Java, C++, Systemverilog, Html, Markdown, Yaml, ...

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

Please, refer to Guna's API

UI Scaling

Guna supports HiDPI with UI scaling. Guna theme settings

{
	"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 is used and recommended.

Donate

Doate Image
Thank you for donating. It is helpful to continue to improve the plug-in.

Credits

License

Guna is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.