ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Guna

by poucotm ST3 Trending

🍁 Most Innovative Theme for Sublime Text

Details

Installs

  • Total 56K
  • Win 35K
  • Mac 8K
  • Linux 13K
Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1
Windows 2 5 8 8 10 4 9 10 6 5 5 11 5 4 8 6 4 12 8 7 6 3 5 7 10 9 8 8 6 5 11 5 8 3 10 8 6 5 6 4 7 6 4 8 5 7
Mac 2 2 1 0 0 4 3 0 1 1 2 1 1 0 1 1 2 1 1 2 1 0 3 2 3 0 5 2 3 4 0 2 0 0 0 1 2 0 0 0 2 3 1 0 0 3
Linux 0 3 3 7 3 1 0 2 2 2 2 2 1 2 2 1 2 2 4 2 1 2 5 3 5 2 6 3 3 4 6 4 3 2 1 6 4 3 3 4 4 3 6 4 8 2

Readme

Source
raw.​githubusercontent.​com

Image of Guna

Package Control PayPal

Guna is an innovative theme for Sublime Text that offers a variety of features to enhance your coding experience. It includes prominent widgets such as a clock, weather updates, and date display on the sidebar. The theme colors are customizable, either manually or adaptively, allowing you to tweak them to your preference. Additionally, Guna supports font switching and provides an API to control the status bar label.

Activating the Theme

To activate Guna, open the command palette by pressing Cmd/Ctrl + Shift + P, then type and select “Guna.” If another color scheme has been selected in adaptive mode, it will revert to Guna's original color scheme. For an optimal view, it's recommended to navigate to View > Side Bar and select Hide Open Files. Upon removal of Guna, the theme and color scheme will automatically restore to their previous settings before Guna was activated.

Fonts

By default, Guna uses Dejavu Sans for the user interface and Roboto Condensed specifically for the status bar. However, you can change these fonts in the theme-tweak settings according to your preferences. In the provided screenshots, the editor font used is Menlo, specifically the Meslo variant.

Widgets

Clock / Date : The clock's color indicates the status of the 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 : Introduced in version 1.4.0, the weather widget utilizes data from Open Weather Map. To access this feature, obtain your own AppID from Open Weather Map and configure the weather settings in Guna.sublime-settings. The widget displays the current weather (1st icon) and forecasts for the next 3 and 6 hours (the 2nd, 3rd icon), updating every 30 minutes.

Image of Guna

✹ Widgets can be viewed on other themes

Image of Guna

Adaptive Theme

Guna automatically adjusts its theme colors to match the selected color scheme by aligning the background color. This allows seamless integration with various color schemes like Monokai, Mariana, Ayu, and others. For easy customization of theme colors and fonts, navigate to Preferences > Package Settings > Guna > Dark (Light) theme settings.

Adaptive Theme Testing Shot

Image of Guna

Syntax Color Scheme

Guna provides syntax color schemes for multiple programming languages, including Python, Java, C++, Systemverilog, Html, Markdown, Yaml, and more.

API

Guna offers APIs to control its interface, such as functions to display alert situations. For example, typing raise in the Sublime console can demonstrate status bar label alerts. For more details, refer to Guna's API documentation.

(example - status bar label)
Image of Guna

UI Scaling

Guna supports HiDPI with UI scaling. You can adjust the sizes of buttons, file icons, tabs, widgets, and switch panel icons in the 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

While Guna doesn't include its own file type icons (except for Verilog/SystemVerilog), it is compatible with icon packages like A File Icon, which is recommended for use with Guna.

Donate

Doate Image
If you find Guna helpful and would like to support its continued development, consider making a donation. Your contributions are appreciated and assist in the ongoing improvement of the plugin.

Credits

License

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