Browse Source
turn off stylable action until we can expose specific design settings
gh-pages
kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: 828D8FE4D235B551
1 changed files with
4 additions and
4 deletions
-
packages/standard-components/src/Icon.svelte
|
|
|
@ -1,8 +1,9 @@ |
|
|
|
<script> |
|
|
|
import { getContext } from "svelte" |
|
|
|
|
|
|
|
const { styleable } = getContext("sdk") |
|
|
|
const component = getContext("component") |
|
|
|
// Add this back once we can define specific design options to expose |
|
|
|
// const { styleable } = getContext("sdk") |
|
|
|
// const component = getContext("component") |
|
|
|
|
|
|
|
export let icon = "" |
|
|
|
export let size = "fa-lg" |
|
|
|
@ -11,5 +12,4 @@ |
|
|
|
|
|
|
|
<i |
|
|
|
style={`color: ${color};`} |
|
|
|
class={`${icon} ${size}`} |
|
|
|
use:styleable={$component.styles} /> |
|
|
|
class={`${icon} ${size}`} /> |
|
|
|
|