Mercurial > nebulaweb3
comparison default/assets/scss/vendors/bourbon/settings/_settings.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 @charset "UTF-8"; | |
2 | |
3 /// Default global Bourbon settings. Values in this map are overwritten by any | |
4 /// values set in the `$bourbon` map. | |
5 /// | |
6 /// @type map | |
7 /// | |
8 /// @property {color} contrast-switch-dark-color [#000] | |
9 /// Global dark color for the `contrast-switch` function. | |
10 /// | |
11 /// @property {color} contrast-switch-light-color [#fff] | |
12 /// Global light color for the `contrast-switch` function. | |
13 /// | |
14 /// @property {list} global-font-file-formats [("ttf", "woff2", "woff")] | |
15 /// Global font file formats for the `font-face` mixin. | |
16 /// | |
17 /// @property {number (with unit)} modular-scale-base [1em] | |
18 /// Global base value for the `modular-scale` function. | |
19 /// | |
20 /// @property {number (unitless)} modular-scale-ratio [$major-third (1.25)] | |
21 /// Global base ratio for the `modular-scale` function. | |
22 /// | |
23 /// @property {boolean} rails-asset-pipeline [false] | |
24 /// Set this to `true` when using the Rails Asset Pipeline and Bourbon will | |
25 /// write asset paths using | |
26 /// [sass-rails’ asset helpers](https://github.com/rails/sass-rails#asset-helpers). | |
27 /// | |
28 /// @access private | |
29 | |
30 $_bourbon-defaults: ( | |
31 "contrast-switch-dark-color": #000, | |
32 "contrast-switch-light-color": #fff, | |
33 "global-font-file-formats": ("ttf", "woff2", "woff"), | |
34 "modular-scale-base": 1em, | |
35 "modular-scale-ratio": $major-third, | |
36 "rails-asset-pipeline": false, | |
37 ); | |
38 | |
39 /// Global Bourbon settings. | |
40 /// | |
41 /// @name Settings | |
42 /// | |
43 /// @type map | |
44 /// | |
45 /// @property {color} contrast-switch-dark-color [#000] | |
46 /// Global dark color for the `contrast-switch` function. | |
47 /// | |
48 /// @property {color} contrast-switch-light-color [#fff] | |
49 /// Global light color for the `contrast-switch` function. | |
50 /// | |
51 /// @property {list} global-font-file-formats [("ttf", "woff2", "woff")] | |
52 /// Global font file formats for the `font-face` mixin. | |
53 /// | |
54 /// @property {number (with unit)} modular-scale-base [1em] | |
55 /// Global base value for the `modular-scale` function. | |
56 /// | |
57 /// @property {number (unitless)} modular-scale-ratio [$major-third (1.25)] | |
58 /// Global base ratio for the `modular-scale` function. | |
59 /// | |
60 /// @property {boolean} rails-asset-pipeline [false] | |
61 /// Set this to `true` when using the Rails Asset Pipeline and Bourbon will | |
62 /// write asset paths using | |
63 /// [sass-rails’ asset helpers](https://github.com/rails/sass-rails#asset-helpers). | |
64 /// | |
65 /// @example scss | |
66 /// $bourbon: ( | |
67 /// "contrast-switch-dark-color": #000, | |
68 /// "contrast-switch-light-color": #fff, | |
69 /// "global-font-file-formats": ("ttf", "woff2", "woff"), | |
70 /// "modular-scale-base": 1em, | |
71 /// "modular-scale-ratio": $major-third, | |
72 /// "rails-asset-pipeline": false, | |
73 /// ); | |
74 | |
75 $bourbon: () !default; |