Skip to content

Commit

Permalink
Merge pull request #1195 from alleyinteractive/fix/APPLE-193/cover-ph…
Browse files Browse the repository at this point in the history
…oto-show-caption

Enable caption on the Cover component by default
  • Loading branch information
dlh01 authored Nov 19, 2024
2 parents 6eedc79 + 69ffe36 commit f36ff4e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/themes/classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 19,
"caption_size": 14,
"caption_tracking": -1,
"cover_caption": true,
"cite_color": "#333333",
"cite_font": "Helvetica-Bold",
"cite_line_height": 19,
Expand Down
1 change: 1 addition & 0 deletions assets/themes/colorful.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 22,
"caption_size": 14,
"caption_tracking": -3,
"cover_caption": true,
"cite_color": "#3045ca",
"cite_font": "Georgia",
"cite_line_height": 22,
Expand Down
1 change: 1 addition & 0 deletions assets/themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 19,
"caption_size": 14,
"caption_tracking": -1,
"cover_caption": true,
"cite_color": "#999999",
"cite_font": "Helvetica-Light",
"cite_line_height": 19,
Expand Down
1 change: 1 addition & 0 deletions assets/themes/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 24,
"caption_size": 16,
"caption_tracking": 0,
"cover_caption": true,
"cite_color": "#4f4f4f",
"cite_font": "AvenirNext-Italic",
"cite_line_height": 24,
Expand Down
1 change: 1 addition & 0 deletions assets/themes/modern.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 17,
"caption_size": 14,
"caption_tracking": 0,
"cover_caption": true,
"cite_color": "#000000",
"cite_font": "AvenirNext-DemiBold",
"cite_line_height": 17,
Expand Down
1 change: 1 addition & 0 deletions assets/themes/pastel.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"caption_line_height": 19,
"caption_size": 14,
"caption_tracking": -1,
"cover_caption": true,
"cite_color": "#333333",
"cite_font": "AvenirNext-Regular",
"cite_line_height": 19,
Expand Down
2 changes: 1 addition & 1 deletion includes/apple-exporter/class-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ private static function initialize_options() {
'type' => 'integer',
],
'cover_caption' => [
'default' => false,
'default' => true,
'label' => __( 'Enable caption on the Cover component', 'apple-news' ),
'type' => 'boolean',
],
Expand Down

0 comments on commit f36ff4e

Please sign in to comment.