This commit is contained in:
Jeremy Thomas 2019-05-17 14:02:12 +01:00
parent 565af6ddd9
commit 86b7baa2ff
3 changed files with 17 additions and 0 deletions

View File

@ -4,6 +4,14 @@
### New features
You can now specify a different `font-family` for the `.title`, `.subtitle` and `.button` by using the variables `$title-family`, `$subtitle-family` and `$button-family` respectively.
Simply set a value when importing Bulma:
```scss
$title-family: "Georgia", serif;
```
* #2375 Add `.is-relative` helper
* #2321 Make `.navbar` focus behave like hover for the navigation
* #2290 Fix #1186 -> Reset the offset on columns

View File

@ -1,5 +1,6 @@
$button-color: $grey-darker !default
$button-background-color: $white !default
$button-family: false !default
$button-border-color: $grey-lighter !default
$button-border-width: $control-border-width !default
@ -50,6 +51,8 @@ $button-static-border-color: $grey-lighter !default
border-width: $button-border-width
color: $button-color
cursor: pointer
@if $button-family
font-family: $button-family
justify-content: center
padding-bottom: $button-padding-vertical
padding-left: $button-padding-horizontal

View File

@ -1,4 +1,5 @@
$title-color: $grey-darker !default
$title-family: false !default
$title-size: $size-3 !default
$title-weight: $weight-semibold !default
$title-line-height: 1.125 !default
@ -8,6 +9,7 @@ $title-sub-size: 0.75em !default
$title-sup-size: 0.75em !default
$subtitle-color: $grey-dark !default
$subtitle-family: false !default
$subtitle-size: $size-5 !default
$subtitle-weight: $weight-normal !default
$subtitle-line-height: 1.25 !default
@ -31,6 +33,8 @@ $subtitle-negative-margin: -1.25rem !default
.title
color: $title-color
@if $title-family
font-family: $title-family
font-size: $title-size
font-weight: $title-weight
line-height: $title-line-height
@ -49,6 +53,8 @@ $subtitle-negative-margin: -1.25rem !default
.subtitle
color: $subtitle-color
@if $subtitle-family
font-family: $subtitle-family
font-size: $subtitle-size
font-weight: $subtitle-weight
line-height: $subtitle-line-height