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