Skip to content
/ Guna Public

๐Ÿ Most Innovative Theme for Sublime Text

License

Notifications You must be signed in to change notification settings

poucotm/Guna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

About

๐Ÿ Most Innovative Theme for Sublime Text

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published