A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _variables.scss

View raw Download
text/plain • 1.23 kiB
ASCII text
        
            
1
//
2
// Font families
3
//
4
5
$font-family: "M+ 1c", Roboto, Cantarell, Sans-Serif;
6
$font-family-large: Roboto, "M+ 1c", Cantarell, Sans-Serif;
7
8
//
9
// Font sizes
10
//
11
12
$font-size: 14px;
13
$font-size-subheading: 16px;
14
15
@if $compact {
16
$font-size: 14px; // or should be 13px?
17
$font-size-subheading: 15px;
18
}
19
20
//
21
// Override sizes
22
//
23
24
$menuitem-size: 32px;
25
$panel-button-hpadding: 12px;
26
27
@if $compact {
28
$menuitem-size: 28px;
29
$panel-button-hpadding: 8px;
30
}
31
32
//
33
// Override durations; since St does not support transition-timing-function
34
//
35
36
$duration: 100ms;
37
$duration-ripple: 200ms;
38
$duration-panel: 250ms;
39
40
//
41
// Override shadows
42
//
43
44
// This should be none, but it's creating some issues with borders, so to
45
// workaround it for now, use inset wich goes through a different code path.
46
// see https://bugzilla.gnome.org/show_bug.cgi?id=752934
47
$shadow-0: 0 0 transparent;
48
49
$shadow-1: 0 1px 1.5px rgba(black, 0.12), 0 1px 1px rgba(black, 0.24);
50
$shadow-2: 0 3px 3px rgba(black, 0.16 * 1.5), 0 3px 3px rgba(black, 0.23 * 1.5);
51
$shadow-3: 0 10px 10px rgba(black, 0.19 * 1.5), 0 6px 3px rgba(black, 0.23 * 1.5);
52
$shadow-4: 0 14px 14px rgba(black, 0.25 * 2), 0 10px 5px rgba(black, 0.22 * 2);
53
$shadow-5: 0 19px 19px rgba(black, 0.30 * 2), 0 15px 6px rgba(black, 0.22 * 2);
54