Skip to content

Commit

Permalink
Split favicon sections
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Apr 15, 2023
1 parent 98975a0 commit bde8f92
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 50 deletions.
50 changes: 0 additions & 50 deletions resources/fieldsets/globals_browser_appearance_favicons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,53 +44,3 @@ fields:
- 'required_if:use_favicons,true'
if:
use_favicons: 'equals true'
-
handle: section_overrides
field:
type: section
listable: hidden
display: Overrides
instructions: 'Override specific generated assets with your own.'
if:
use_favicons: 'equals true'
-
handle: safari_icon
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Safari icon'
instructions: 'A 32x32 PNG image used for Safari. Will be focal cropped to this dimension and 16x16.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'
validate:
- 'mimes:png'
-
handle: apple_touch_icon
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Apple touch icon'
instructions: 'A 180x180 PNG image used on iOS devices. Will be focal cropped to this dimension.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'
-
handle: android_chrome
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Android Chrome icon'
instructions: 'A 512x512 PNG image image used on Android devices. Will be focal cropped to this dimension.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
title: 'Globals Browser Appearance: Favicons - Overrides'
fields:
-
handle: safari_icon
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Safari icon'
instructions: 'A 32x32 PNG image used for Safari. Will be focal cropped to this dimension and 16x16.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'
validate:
- 'mimes:png'
-
handle: apple_touch_icon
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Apple touch icon'
instructions: 'A 180x180 PNG image used on iOS devices. Will be focal cropped to this dimension.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'
-
handle: android_chrome
field: common.image
config:
container: favicons
restrict: true
localizable: false
display: 'Android Chrome icon'
instructions: 'A 512x512 PNG image image used on Android devices. Will be focal cropped to this dimension.'
instructions_position: below
width: 33
if:
use_favicons: 'equals true'

0 comments on commit bde8f92

Please sign in to comment.