y200subcontrols 0.0.358 → 0.0.359
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.
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
<script>export let theme = "teal";
|
|
2
2
|
export let size = "md";
|
|
3
3
|
</script>
|
|
4
|
+
|
|
4
5
|
<span
|
|
5
|
-
class="inline-block
|
|
6
|
-
{size === 'sm' ? 'text-sm rounded px-
|
|
6
|
+
class="inline-block text-center
|
|
7
|
+
{size === 'sm' ? 'text-sm rounded px-3 py-1.5' : ''}
|
|
7
8
|
{size === 'md' ? 'text-base rounded-md px-4 py-2' : ''}
|
|
8
9
|
{size === 'lg' ? 'text-lg rounded-lg px-6 py-3' : ''}
|
|
9
10
|
{theme === 'teal' ? 'bg-teal-500 text-teal-50' : ''}
|
|
10
|
-
{theme === 'slate' ? 'bg-slate-
|
|
11
|
+
{theme === 'slate' ? 'bg-slate-400 text-slate-50' : ''}
|
|
11
12
|
{theme === 'blue' ? 'bg-blue-600 text-blue-50' : ''}
|
|
12
13
|
{theme === 'indigo' ? 'bg-indigo-600 text-indigo-50' : ''}
|
|
13
14
|
{theme === 'red' ? 'bg-red-600 text-red-50' : ''}
|