Browse Source

Transition fix, decoration added and dataform button font removed

master
Joe 6 years ago
parent
commit
a0a5074150
  1. 18
      packages/builder/src/components/userInterface/propertyCategories.js
  2. 2
      packages/standard-components/src/DataForm.svelte

18
packages/builder/src/components/userInterface/propertyCategories.js

@ -292,7 +292,19 @@ export const typography = [
}, },
], ],
}, },
{ label: "style", key: "font-style", control: Input }, {
label: "Decoration",
key: "text-decoration-line",
control: OptionSelect,
defaultValue: "Underline",
options: [
{ label: "Underline", value: "underline" },
{ label: "None", value: "none" },
{ label: "Overline", value: "overline" },
{ label: "Line-through", value: "line-through" },
{ label: "Under Over", value: "underline overline" },
],
},
] ]
export const background = [ export const background = [
@ -398,7 +410,7 @@ export const transitions = [
}, },
{ {
label: "Duration", label: "Duration",
key: "transition-timing-function", key: "transition-duration",
control: Input, control: Input,
width: "48px", width: "48px",
textAlign: "center", textAlign: "center",
@ -406,7 +418,7 @@ export const transitions = [
}, },
{ {
label: "Ease", label: "Ease",
key: "transition-ease", key: "transition-timing-function:",
control: OptionSelect, control: OptionSelect,
options: ["linear", "ease", "ease-in", "ease-out", "ease-in-out"], options: ["linear", "ease", "ease-in", "ease-out", "ease-in-out"],
}, },

2
packages/standard-components/src/DataForm.svelte

@ -125,7 +125,7 @@
} }
button { button {
font-family: Inter; font-family: roboto;
font-size: 16px; font-size: 16px;
padding: 0.4em; padding: 0.4em;
box-sizing: border-box; box-sizing: border-box;

Loading…
Cancel
Save