Color fix

This commit is contained in:
Joe 2020-05-28 09:23:36 +01:00
parent f8836b9876
commit fc73bb2341
4 changed files with 7 additions and 9 deletions

View File

@ -19,20 +19,20 @@
<style>
.flatbutton {
cursor: pointer;
padding: 8px 4px;
padding: 8px 2px;
text-align: center;
background: #ffffff;
color: var(--ink-light);
border-radius: 5px;
font-family: Roboto;
font-size: 13px;
font-weight: 500;
transition: background 0.5s, color 0.5s ease;
font-size: 14px;
font-weight: 400;
transition: all 0.3s;
text-rendering: optimizeLegibility;
}
.selected {
background: #808192;
background: var(--ink-light);
color: #ffffff;
}
</style>

View File

@ -1,6 +1,5 @@
<script>
import { onMount } from "svelte"
import FlatButton from "./FlatButton.svelte"
export let buttonProps = []
export let isMultiSelect = false

View File

@ -148,8 +148,7 @@ export const typography = [
{
label: "Color",
key: "color",
control: OptionSelect,
options: ["black", "white", "red", "blue", "green"],
control: Input,
},
{
label: "align",

View File

@ -295,7 +295,7 @@ export default {
description:
"This component is a placeholder for the rendering of a screen within a page.",
icon: "ri-crop-2-fill",
commonProps: {},
commonProps: { design: { ...all } },
children: [],
},
{