@sierra-95/svelte-scaffold 1.2.25 → 1.2.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,9 +30,9 @@
30
30
 
31
31
  const defaultTitle = {
32
32
  name: '',
33
- fontSize: "1.25rem",
33
+ fontSize: "1.2rem",
34
34
  fontWeight: "bold",
35
- color: "var(--text-primary)"
35
+ color: "var(--text)"
36
36
  };
37
37
 
38
38
  const defaultTable = {
@@ -81,7 +81,8 @@
81
81
 
82
82
  <main id="sierra-table" style="width: 100%;">
83
83
  {#if title.name}
84
- <h2>{title.name}</h2>
84
+ <h2 style="font-size: {title.fontSize}; font-weight: {title.fontWeight}; color: {title.color};"
85
+ >{title.name}</h2>
85
86
  {/if}
86
87
  <table style="font-size: {table.fontSize};">
87
88
  <thead>
@@ -45,7 +45,9 @@
45
45
  {/if}
46
46
 
47
47
  {#if url}
48
- <img style="width: {iconSize};" src={url} alt="Logo"/>
48
+ <div style="width: {iconSize};">
49
+ <img style="width: 100%;" src={url} alt="Logo"/>
50
+ </div>
49
51
  {/if}
50
52
  <h4 style="margin-left: {icon || url ? iconGap : '0'};">{@render children?.()}</h4>
51
53
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sierra-95/svelte-scaffold",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",