From bb4e41cfef339a814520205bddfed4163cd3a03b Mon Sep 17 00:00:00 2001 From: Babak F Date: Sat, 24 Apr 2021 02:37:53 -0700 Subject: [PATCH] Better colors. Reduce 1 item. Format. --- .../04-logic/05-keyed-each-blocks/app-a/App.svelte | 13 ++++++------- .../04-logic/05-keyed-each-blocks/app-b/App.svelte | 13 ++++++------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/App.svelte b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/App.svelte index 969114428a..1c4a6f081a 100644 --- a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/App.svelte +++ b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/App.svelte @@ -2,11 +2,10 @@ import Thing from './Thing.svelte'; let things = [ - { id: 1, color: 'darkblue' }, - { id: 2, color: 'indigo' }, - { id: 3, color: 'deeppink' }, - { id: 4, color: 'salmon' }, - { id: 5, color: 'gold' } + { id: 1, color: '#3B82F6' }, + { id: 2, color: '#10B981' }, + { id: 3, color: '#EF4444' }, + { id: 4, color: '#EAB308' }, ]; function handleClick() { @@ -19,5 +18,5 @@ {#each things as thing} - -{/each} + +{/each} \ No newline at end of file diff --git a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/App.svelte b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/App.svelte index 37a19a67a8..6165bc8981 100644 --- a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/App.svelte +++ b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/App.svelte @@ -2,11 +2,10 @@ import Thing from './Thing.svelte'; let things = [ - { id: 1, color: 'darkblue' }, - { id: 2, color: 'indigo' }, - { id: 3, color: 'deeppink' }, - { id: 4, color: 'salmon' }, - { id: 5, color: 'gold' } + { id: 1, color: '#3B82F6' }, + { id: 2, color: '#10B981' }, + { id: 3, color: '#EF4444' }, + { id: 4, color: '#EAB308' }, ]; function handleClick() { @@ -19,5 +18,5 @@ {#each things as thing (thing.id)} - -{/each} + +{/each} \ No newline at end of file