Browse Source
Merge pull request #999 from Budibase/fix/icons-color-fix
Icon color fix
pull/1001/head
Kevin Åberg Kultalahti
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
4 deletions
-
packages/server/src/api/controllers/static/templates/BudibaseApp.svelte
-
packages/standard-components/src/Icon.svelte
|
|
|
@ -22,6 +22,7 @@ |
|
|
|
<title>{title}</title> |
|
|
|
<link rel="icon" type="image/png" href={favicon} /> |
|
|
|
<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> |
|
|
|
html, |
|
|
|
body { |
|
|
|
|
|
|
|
@ -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}`} /> |
|
|
|
|