Skip to content

Commit f1b7c08

Browse files
changed to colour names instead of hex codes for readability (#5772)
1 parent 3561bf2 commit f1b7c08

File tree

1 file changed

+5
-5
lines changed
  • site/content/examples/03-logic/04-keyed-each-blocks

1 file changed

+5
-5
lines changed

site/content/examples/03-logic/04-keyed-each-blocks/App.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
import Thing from './Thing.svelte';
33
44
let things = [
5-
{ id: 1, color: '#0d0887' },
6-
{ id: 2, color: '#6a00a8' },
7-
{ id: 3, color: '#b12a90' },
8-
{ id: 4, color: '#e16462' },
9-
{ id: 5, color: '#fca636' }
5+
{ id: 1, color: 'darkblue' },
6+
{ id: 2, color: 'indigo' },
7+
{ id: 3, color: 'deeppink' },
8+
{ id: 4, color: 'salmon' },
9+
{ id: 5, color: 'gold' }
1010
];
1111
1212
function handleClick() {

0 commit comments

Comments
 (0)