]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | $enable-font-open-sans: dynamic(true);\r |
2 | @if $enable-font-open-sans {\r | |
3 | $triton-font-path: get-resource-path('fonts', 'shared');\r | |
4 | @font-face {\r | |
5 | font-family: 'Open Sans';\r | |
6 | src: url('#{$triton-font-path}/OpenSans-Light.ttf');\r | |
7 | font-weight: 300;\r | |
8 | font-style: normal;\r | |
9 | }\r | |
10 | \r | |
11 | @font-face {\r | |
12 | font-family: 'Open Sans';\r | |
13 | src: url('#{$triton-font-path}/OpenSans-LightItalic.ttf');\r | |
14 | font-weight: 300;\r | |
15 | font-style: italic;\r | |
16 | }\r | |
17 | \r | |
18 | @font-face {\r | |
19 | font-family: 'Open Sans';\r | |
20 | src: url('#{$triton-font-path}/OpenSans-Regular.ttf');\r | |
21 | font-weight: 400;\r | |
22 | font-style: normal;\r | |
23 | }\r | |
24 | \r | |
25 | @font-face {\r | |
26 | font-family: 'Open Sans';\r | |
27 | src: url('#{$triton-font-path}/OpenSans-Italic.ttf');\r | |
28 | font-weight: 400;\r | |
29 | font-style: italic;\r | |
30 | }\r | |
31 | \r | |
32 | @font-face {\r | |
33 | font-family: 'Open Sans';\r | |
34 | src: url('#{$triton-font-path}/OpenSans-Semibold.ttf');\r | |
35 | font-weight: 600;\r | |
36 | font-style: normal;\r | |
37 | }\r | |
38 | \r | |
39 | @font-face {\r | |
40 | font-family: 'Open Sans';\r | |
41 | src: url('#{$triton-font-path}/OpenSans-SemiboldItalic.ttf');\r | |
42 | font-weight: 600;\r | |
43 | font-style: italic;\r | |
44 | }\r | |
45 | \r | |
46 | @font-face {\r | |
47 | font-family: 'Open Sans';\r | |
48 | src: url('#{$triton-font-path}/OpenSans-Bold.ttf');\r | |
49 | font-weight: 700;\r | |
50 | font-style: normal;\r | |
51 | }\r | |
52 | \r | |
53 | @font-face {\r | |
54 | font-family: 'Open Sans';\r | |
55 | src: url('#{$triton-font-path}/OpenSans-BoldItalic.ttf');\r | |
56 | font-weight: 700;\r | |
57 | font-style: italic;\r | |
58 | }\r | |
59 | \r | |
60 | @font-face {\r | |
61 | font-family: 'Open Sans';\r | |
62 | src: url('#{$triton-font-path}/OpenSans-ExtraBold.ttf');\r | |
63 | font-weight: 800;\r | |
64 | font-style: normal;\r | |
65 | }\r | |
66 | \r | |
67 | @font-face {\r | |
68 | font-family: 'Open Sans';\r | |
69 | src: url('#{$triton-font-path}/OpenSans-ExtraBoldItalic.ttf');\r | |
70 | font-weight: 800;\r | |
71 | font-style: italic;\r | |
72 | }\r | |
73 | }\r | |
74 | \r | |
75 | @import 'functions';\r |