|
71 | 71 | //@font-family-monospace: "Nova Mono", Menlo, Monaco, Consolas, monospace; |
72 | 72 | //@font-family-base: @font-family-serif; |
73 | 73 |
|
| 74 | +@mag1: sqrt(sqrt(2)); |
| 75 | +@mag2: @mag1 * @mag1; |
| 76 | +@mag3: @mag2 * @mag1; |
| 77 | +@mag4: @mag3 * @mag1; |
74 | 78 |
|
| 79 | +@maghalf: sqrt(@mag1); |
75 | 80 |
|
76 | 81 | @font-size-base: 15px; |
77 | | -@font-size-large: ceil((@font-size-base * 1.189)); // ~18px |
78 | | -@font-size-small: ceil((@font-size-base * 0.841)); // ~12px |
79 | | - |
80 | | -@font-size-h1: ceil((@font-size-base * 2.000)); // ~28px |
81 | | -@font-size-h2: ceil((@font-size-base * 1.681)); // ~24px |
82 | | -@font-size-h3: ceil((@font-size-base * 1.414)); // ~20px |
83 | | -@font-size-h4: ceil((@font-size-base * 1.189)); // ~16px |
84 | | -@font-size-h5: @font-size-base; |
| 82 | +@font-size-large: ((@font-size-base * @mag1)); // 18px |
| 83 | +@font-size-small: ((@font-size-base / @mag1)); // 13px |
| 84 | + |
| 85 | +@font-size-h1: ceil((@font-size-base * @mag4)); // 31px |
| 86 | +@font-size-h2: ceil((@font-size-base * @mag3)); // 26px |
| 87 | +@font-size-h3: ceil((@font-size-base * @mag2)); // 22px |
| 88 | +@font-size-h4: ceil((@font-size-base * @mag1)); // 18px |
| 89 | +@font-size-h5: ceil((@font-size-base * @maghalf));// 16px |
85 | 90 | @font-size-h6: @font-size-base; |
86 | 91 |
|
87 | 92 | //** Unit-less `line-height` for use in components like buttons. |
|
594 | 599 | //** Success label background color |
595 | 600 | @label-success-bg: @brand-success; |
596 | 601 | //** Info label background color |
597 | | -@label-info-bg: @brand-info; |
| 602 | +@label-info-bg: darken(saturate(@brand-info, 5%), 12%); |
598 | 603 | //** Warning label background color |
599 | 604 | @label-warning-bg: @brand-warning; |
600 | 605 | //** Danger label background color |
|
879 | 884 | //** Blockquote small color |
880 | 885 | @blockquote-small-color: @gray-light; |
881 | 886 | //** Blockquote font size |
882 | | -@blockquote-font-size: (@font-size-base * 1.189); |
| 887 | +@blockquote-font-size: (@font-size-base * @mag1); |
883 | 888 | //** Blockquote border color |
884 | 889 | @blockquote-border-color: @gray-lighter; |
885 | 890 | //** Page header border color |
|
0 commit comments