Merge pull request #693 from Budibase/design-props---font-family-and-image-background---tidy-up
Typography, background, and transition props fix
This commit is contained in:
commit
cde757e670
|
@ -361,19 +361,18 @@ export const typography = [
|
||||||
label: "Font",
|
label: "Font",
|
||||||
key: "font-family",
|
key: "font-family",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
defaultValue: "initial",
|
defaultValue: "Arial",
|
||||||
options: [
|
options: [
|
||||||
"initial",
|
|
||||||
"Arial",
|
"Arial",
|
||||||
"Arial Black",
|
"Arial Black",
|
||||||
"Cursive",
|
"Cursive",
|
||||||
"Courier",
|
"Courier",
|
||||||
"Comic Sans MS",
|
"Comic Sans MS",
|
||||||
"Helvetica",
|
"Helvetica",
|
||||||
|
"Helvetica Neue",
|
||||||
"Impact",
|
"Impact",
|
||||||
"Inter",
|
"Inter",
|
||||||
"Lucida Sans Unicode",
|
"Lucida Sans Unicode",
|
||||||
"Open Sans",
|
|
||||||
"Roboto",
|
"Roboto",
|
||||||
"Roboto Mono",
|
"Roboto Mono",
|
||||||
"Times New Roman",
|
"Times New Roman",
|
||||||
|
@ -467,9 +466,9 @@ export const background = [
|
||||||
label: "Gradient",
|
label: "Gradient",
|
||||||
key: "background-image",
|
key: "background-image",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
defaultValue: "None",
|
defaultValue: "",
|
||||||
options: [
|
options: [
|
||||||
{ label: "None", value: "None" },
|
{ label: "Select option", value: "" },
|
||||||
{
|
{
|
||||||
label: "Warm Flame",
|
label: "Warm Flame",
|
||||||
value: "linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);",
|
value: "linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);",
|
||||||
|
@ -518,9 +517,9 @@ export const background = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Image",
|
label: "Image",
|
||||||
key: "background-image",
|
key: "background",
|
||||||
control: Input,
|
control: Input,
|
||||||
placeholder: "Src",
|
placeholder: "url",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -665,7 +664,7 @@ export const transitions = [
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
placeholder: "sec",
|
placeholder: "sec",
|
||||||
options: ["0.2ms", "0.4ms", "0.8ms", "1s", "2s", "4s"],
|
options: ["0.4s", "0.6s", "0.8s", "1s", "2s", "4s"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Ease",
|
label: "Ease",
|
||||||
|
|
Loading…
Reference in New Issue