mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
Make legacy shadows more subtle (#629)
This commit is contained in:
parent
d1d415c9f0
commit
8540e84549
@ -221,27 +221,27 @@
|
|||||||
|
|
||||||
<schema path="/org/pantheon/desktop/gala/shadows/" id="org.pantheon.desktop.gala.shadows" gettext-domain="@GETTEXT_PACKAGE@">
|
<schema path="/org/pantheon/desktop/gala/shadows/" id="org.pantheon.desktop.gala.shadows" gettext-domain="@GETTEXT_PACKAGE@">
|
||||||
<key type="as" name="normal-focused">
|
<key type="as" name="normal-focused">
|
||||||
<default>['20', '-1', '0', '15', '220']</default>
|
<default>['20', '-1', '0', '15', '100']</default>
|
||||||
<summary>Defines the shadow of normal focused windows</summary>
|
<summary>Defines the shadow of normal focused windows</summary>
|
||||||
<description>The first value is the radius of the blur of the shadow, the second one the top fade (which is usually just -1), the third and fourth the x- and y-offset and the last the opacity. So [blur-radius, top-fade, x-offset, y-offset, opacity].</description>
|
<description>The first value is the radius of the blur of the shadow, the second one the top fade (which is usually just -1), the third and fourth the x- and y-offset and the last the opacity. So [blur-radius, top-fade, x-offset, y-offset, opacity].</description>
|
||||||
</key>
|
</key>
|
||||||
<key type="as" name="normal-unfocused">
|
<key type="as" name="normal-unfocused">
|
||||||
<default>['8', '-1', '0', '6', '150']</default>
|
<default>['6', '-1', '0', '4', '80']</default>
|
||||||
<summary>Defines the shadow of a normal unfocused window</summary>
|
<summary>Defines the shadow of a normal unfocused window</summary>
|
||||||
<description>See normal-focused.</description>
|
<description>See normal-focused.</description>
|
||||||
</key>
|
</key>
|
||||||
<key type="as" name="menu">
|
<key type="as" name="menu">
|
||||||
<default>['7', '-1', '0', '5', '130']</default>
|
<default>['6', '-1', '0', '4', '80']</default>
|
||||||
<summary>Defines the shadow of a menu</summary>
|
<summary>Defines the shadow of a menu</summary>
|
||||||
<description>See normal-focused.</description>
|
<description>See normal-focused.</description>
|
||||||
</key>
|
</key>
|
||||||
<key type="as" name="dialog-focused">
|
<key type="as" name="dialog-focused">
|
||||||
<default>['12', '-1', '0', '7', '190']</default>
|
<default>['12', '-1', '0', '4', '100']</default>
|
||||||
<summary>Defines the shadow of a focused dialog</summary>
|
<summary>Defines the shadow of a focused dialog</summary>
|
||||||
<description>See normal-focused.</description>
|
<description>See normal-focused.</description>
|
||||||
</key>
|
</key>
|
||||||
<key type="as" name="dialog-unfocused">
|
<key type="as" name="dialog-unfocused">
|
||||||
<default>['7', '-1', '0', '4', '130']</default>
|
<default>['6', '-1', '0', '4', '80']</default>
|
||||||
<summary>Defines the shadow of an unfocused dialog</summary>
|
<summary>Defines the shadow of an unfocused dialog</summary>
|
||||||
<description>See normal-focused.</description>
|
<description>See normal-focused.</description>
|
||||||
</key>
|
</key>
|
||||||
|
@ -63,7 +63,7 @@ namespace Gala
|
|||||||
factory.set_params ("modal_dialog", false, shadow);
|
factory.set_params ("modal_dialog", false, shadow);
|
||||||
|
|
||||||
//dialog unfocused
|
//dialog unfocused
|
||||||
shadow = settings.get_shadowparams ("normal_unfocused");
|
shadow = settings.get_shadowparams ("dialog_unfocused");
|
||||||
factory.set_params ("dialog", false, shadow);
|
factory.set_params ("dialog", false, shadow);
|
||||||
factory.set_params ("modal_dialog", false, shadow);
|
factory.set_params ("modal_dialog", false, shadow);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user