Add logo color transition
This commit is contained in:
parent
9cd82101c8
commit
dac525b4a6
9 changed files with 101 additions and 10 deletions
29
site/blueprints/files/full_screen_image.yml
Normal file
29
site/blueprints/files/full_screen_image.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
title: Image
|
||||
accept:
|
||||
mime: image/jpeg, image/png
|
||||
fields:
|
||||
alt_text:
|
||||
label:
|
||||
en: Alternative text
|
||||
fr: Texte alternatif
|
||||
type: text
|
||||
help:
|
||||
en: "Short description displayed if the image can't be loaded and used by screen readers."
|
||||
fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran."
|
||||
logo_color:
|
||||
label:
|
||||
en: Logo color
|
||||
fr: Couleur du logo
|
||||
type: select
|
||||
options:
|
||||
black:
|
||||
en: Black
|
||||
fr: Noir
|
||||
white:
|
||||
en: White
|
||||
fr: Blanc
|
||||
default: black
|
||||
help:
|
||||
en: "Favor a black logo for a light image, and a white logo for a dark image."
|
||||
fr: "Privilégier un logo noir pour une image claire, et un logo blanc pour une image sombre."
|
||||
width: 1/4
|
|
@ -7,8 +7,14 @@ fields:
|
|||
en: Alternative text
|
||||
fr: Texte alternatif
|
||||
type: text
|
||||
help:
|
||||
en: "Short description displayed if the image can't be loaded and used by screen readers."
|
||||
fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran."
|
||||
caption:
|
||||
label:
|
||||
en: Caption
|
||||
fr: Légende
|
||||
type: text
|
||||
help:
|
||||
en: "Informative text displayed below the image."
|
||||
fr: "Texte informatif affiché sous l'image."
|
||||
|
|
|
@ -9,6 +9,9 @@ fields:
|
|||
en: Alternative text
|
||||
fr: Texte alternatif
|
||||
type: text
|
||||
help:
|
||||
en: "Short description displayed if the image can't be loaded and used by screen readers."
|
||||
fr: "Courte description affichée si l'image ne peut être chargée et utilisée par les lecteurs d'écran."
|
||||
poster:
|
||||
when:
|
||||
file_type: video
|
||||
|
@ -32,3 +35,6 @@ fields:
|
|||
en: Caption
|
||||
fr: Légende
|
||||
type: text
|
||||
help:
|
||||
en: "Informative text displayed below the image."
|
||||
fr: "Texte informatif affiché sous l'image."
|
|
@ -2,7 +2,7 @@ headline:
|
|||
en: Artworks
|
||||
fr: Œuvres
|
||||
type: files
|
||||
template: image
|
||||
template: full_screen_image
|
||||
min: 2
|
||||
layout: cards
|
||||
size: small
|
|
@ -3,4 +3,4 @@ label:
|
|||
fr: Contenu
|
||||
icon: text
|
||||
sections:
|
||||
artworks: sections/gallery_content_artworks
|
||||
artworks: sections/gallery_content_images
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue