Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default-decoration style class constant #434

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions data/granite.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<p>New Constants:</p>
<ul>
<li>STYLE_CLASS_WARMTH and STYLE_CLASS_TEMPERATURE for scales</li>
<li>STYLE_CLASS_DEFAULT_DECORATION for slim headerbars</li>
<li>TRANSITION_DURATION_OPEN and TRANSITION_DURATION_CLOSE for consistent animations</li>
</ul>
<p>Other Changes:</p>
Expand Down
4 changes: 4 additions & 0 deletions lib/Constants.vala
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ namespace Granite {
* Style class for color chooser buttons to be applied to {@link Gtk.CheckButton} or {@link Gtk.RadioButton}
*/
public const string STYLE_CLASS_COLOR_BUTTON = "color-button";
/**
* Style class for slim headerbars, like in Terminal
*/
public const string STYLE_CLASS_DEFAULT_DECORATION = "default-decoration";
/**
* Style class for large primary text as seen in {@link Granite.Widgets.Welcome}
*/
Expand Down