|
1 | 1 | @charset "utf-8"; |
2 | | -// Define defaults for each variable. |
3 | | -$base-font-family: -apple-system, |
4 | | -BlinkMacSystemFont, |
5 | | -"Segoe UI", |
6 | | -Roboto, |
7 | | -Helvetica, |
8 | | -Arial, |
9 | | -sans-serif, |
10 | | -"Apple Color Emoji", |
11 | | -"Segoe UI Emoji", |
12 | | -"Segoe UI Symbol" !default; |
13 | | -$base-font-size : 16px !default; |
14 | | -$base-font-weight: 400 !default; |
15 | | -$small-font-size : $base-font-size * 0.875 !default; |
16 | | -$base-line-height: 1.5 !default; |
17 | | -$spacing-unit : 30px !default; |
18 | | -$text-color : #111 !default; |
19 | | -$background-color: #fdfdfd !default; |
20 | | -$brand-color : #2a7ae2 !default; |
21 | | -$grey-color : #828282 !default; |
22 | | -$grey-color-light: lighten($grey-color, 40%) !default; |
23 | | -$grey-color-dark : darken($grey-color, 25%) !default; |
24 | | -$orange-color : #f66a0a !default; |
25 | | -$table-text-align: left !default; |
26 | | -// Width of the content area |
27 | | -$content-width : 800px !default; |
28 | | -$on-palm : 600px !default; |
29 | | -$on-laptop : 800px !default; |
30 | | -$on-medium : $on-palm !default; |
31 | | -$on-large : $on-laptop !default; |
32 | | -// Use media queries like this: |
33 | | -// @include media-query($on-palm) { |
34 | | -// .wrapper { |
35 | | -// padding-right: calc($spacing-unit / 2); |
36 | | -// padding-left: calc($spacing-unit / 2); |
37 | | -// } |
38 | | -// } |
39 | | -// Notice the following mixin uses max-width, in a deprecated, desktop-first |
40 | | -// approach, whereas media queries used elsewhere now use min-width. |
41 | | -@mixin media-query($device) { |
42 | | - @media screen and (max-width: $device) { |
43 | | - @content; |
44 | | - } |
45 | | -} |
46 | 2 |
|
47 | | -@mixin relative-font-size($ratio) { |
48 | | - font-size: $base-font-size * $ratio; |
49 | | -} |
50 | | - |
51 | | -// Import partials. |
52 | | -@import "minima/base", |
53 | | -"minima/layout", |
54 | | -"minima/syntax-highlighting", |
55 | | -"minima/extras"; |
| 3 | +@use "minima/base" as *; |
| 4 | +@use "minima/layout" as *; |
| 5 | +@use "minima/syntax-highlighting" as *; |
| 6 | +@use "minima/extras" as *; |
0 commit comments