Merge pull request #999 from Budibase/fix/icons-color-fix
Icon color fix
This commit is contained in:
commit
daddc774f5
|
@ -22,6 +22,7 @@
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<link rel="icon" type="image/png" href={favicon} />
|
<link rel="icon" type="image/png" href={favicon} />
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
<script>
|
<script>
|
||||||
import { getContext } from "svelte"
|
import { getContext } from "svelte"
|
||||||
|
|
||||||
const { styleable } = getContext("sdk")
|
// Add this back once we can define specific design options to expose
|
||||||
const component = getContext("component")
|
// const { styleable } = getContext("sdk")
|
||||||
|
// const component = getContext("component")
|
||||||
|
|
||||||
export let icon = ""
|
export let icon = ""
|
||||||
export let size = "fa-lg"
|
export let size = "fa-lg"
|
||||||
|
@ -11,5 +12,4 @@
|
||||||
|
|
||||||
<i
|
<i
|
||||||
style={`color: ${color};`}
|
style={`color: ${color};`}
|
||||||
class={`${icon} ${size}`}
|
class={`${icon} ${size}`} />
|
||||||
use:styleable={$component.styles} />
|
|
||||||
|
|
Loading…
Reference in New Issue