A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _variables.scss

View raw Download
text/plain • 1.82 kiB
ASCII text
        
            
1
$asset_suffix: if($variant == 'dark', '-dark', '');
2
$extra_background_clip: if($variant == 'light', padding-box, border-box);
3
4
$panel-corner-radius: 0;
5
6
// font families
7
$font-family: "M+ 1c", Roboto, Cantarell, Sans-Serif;
8
$large-font-family: Roboto, "M+ 1c", Cantarell, Sans-Serif;
9
10
// font sizes
11
$root-font-size: if($compact == 'false', 14px, 13px);
12
$subheading-size: if($compact == 'false', 16px, 15px);
13
14
// sizes
15
$small_size: if($compact == 'false', 24px, 20px);
16
$medium_size: if($compact == 'false', 36px, 32px);
17
$large_size: if($compact == 'false', 48px, 44px);
18
19
$container_padding: 6px;
20
21
$bar_size: 4px;
22
$menuitem_size: if($compact == 'false', 32px, 28px);
23
24
// radiuses
25
$material_radius: 2px;
26
$circular_radius: 9999px;
27
28
// durations
29
$shorter_duration: 200ms / 2;
30
$longer_duration: 300ms / 2;
31
$ripple_duration: 500ms / 2;
32
33
// timing functions
34
$standard_curve: cubic-bezier(0.4, 0.0, 0.2, 1);
35
$deceleration_curve: cubic-bezier(0.0, 0.0, 0.2, 1);
36
$acceleration_curve: cubic-bezier(0.4, 0.0, 1, 1);
37
$sharp_curve: cubic-bezier(0.4, 0.0, 0.6, 1);
38
39
// transition shorthands
40
$shorter_transition: all $shorter_duration $deceleration_curve;
41
$longer_transition: all $longer_duration $deceleration_curve;
42
$shadow_transition: box-shadow $shorter_duration $deceleration_curve;
43
44
// shadows
45
// based shadow values:
46
// https://material-design.storage.googleapis.com/images/layout-principles-dimensionality-shadows-08_large_mdpi.png
47
48
$shadow_0: 0 0 transparent;
49
$shadow_1: 0 1px 1.5px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.24);
50
$shadow_2: 0 3px 3px rgba(0, 0, 0, 0.16 * 1.5), 0 3px 3px rgba(0, 0, 0, 0.23 * 1.5);
51
$shadow_3: 0 10px 10px rgba(0, 0, 0, 0.19 * 1.5), 0 6px 3px rgba(0, 0, 0, 0.23 * 1.5);
52
$shadow_4: 0 14px 14px rgba(0, 0, 0, 0.25 * 2), 0 10px 5px rgba(0, 0, 0, 0.22 * 2);
53
$shadow_5: 0 19px 19px rgba(0, 0, 0, 0.30 * 2), 0 15px 6px rgba(0, 0, 0, 0.22 * 2);
54