custom-editor-style-bootstrap4.scss
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$bootstrap4: true; // <--- Do not delete this variable. It is used in theme/_blocks.scss and theme/_understrap.scss.
// Add your own editor styles here or import additional files
// Grab our child theme variables
@import "theme/theme_variables";
// Grab a few bootstrap assets so we can use mixins, variables, etc
@import "assets/bootstrap4/functions";
@import "assets/bootstrap4/variables";
@import "assets/bootstrap4/mixins";
@import "assets/bootstrap4/reboot";
@import "assets/bootstrap4/root";
@import "assets/bootstrap4/tables";
@import "assets/bootstrap4/images";
// Set up basic typography
@import "assets/bootstrap4/type";
// Set up bootstrap utilities
@import "assets/bootstrap4/utilities";
// Start bringing in colors and styles.
@import "theme/colors";
@import "theme/blocks";
// Fixes Gutenberg's cover block color picker.
.components-circular-option-picker__option {
border-radius: 50%;
}
// Matches the page title font weight.
.editor-post-title .editor-post-title__input{
font-size: $h1-font-size;
font-weight: $headings-font-weight;
}