CLASSROOMIO-T-190: Improve template experience

This commit is contained in:
Rotimi Best
2023-10-04 10:26:11 +01:00
parent 5703a1b784
commit 9c671bce87
2 changed files with 5 additions and 6 deletions
@@ -21,8 +21,8 @@
AI = 2
}
let step = 1;
let type: Type = Type.TEMPLATE;
let step = 0;
let type: Type = Type.SCRATCH;
const options = [
{
@@ -132,8 +132,7 @@
<div class="mb-5 flex items-center gap-2">
{#each tags as tag}
<Tag
type={selectedTag === tag ? undefined : 'outline'}
class={selectedTag === tag ? 'bg-primary-500 text-white dark:text-black' : ''}
type={selectedTag === tag ? 'cool-gray' : 'outline'}
interactive
on:click={() => {
selectedTag = tag;
+2 -2
View File
@@ -36,9 +36,9 @@
role="presentation"
>
<div class="flex items-center justify-between mb-4">
<h3 class="dark:text-white text-md font-medium m-0">
<p class="dark:text-white text-md font-medium m-0">
{modalHeading}
</h3>
</p>
<div class="rounded-full">
<CloseButton onClick={onClose} contained={true} size="small" />
</div>