Skip to content

Commit

Permalink
added new yarn: Ice Yarns - Lorena Worsted
Browse files Browse the repository at this point in the history
  • Loading branch information
jdvlpr committed Nov 13, 2024
1 parent b8df8eb commit 9a7787d
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/types/color-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

export interface Brand {
name: string;
/** snake_case version of the name */
id: string;
yarns: Yarn[];
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/yarns/brands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { brand as hobbii } from './hobbii/yarns';
import { brand as hobbyLobby } from './hobby-lobby/yarns';
import { brand as hobbyStore } from './hobby-store/yarns';
import { brand as holst } from './holst/yarns';
import { brand as iceYarns } from './ice-yarns/yarns';
import { brand as katia } from './katia/yarns';
import { brand as knitPicks } from './knit-picks/yarns';
import { brand as lilySugarNCream } from './lily-sugar-n-cream/yarns';
Expand Down Expand Up @@ -69,6 +70,7 @@ export const brands: Brand[] = [
hobbyLobby,
hobbyStore,
holst,
iceYarns,
katia,
knitPicks,
lilySugarNCream,
Expand Down
194 changes: 194 additions & 0 deletions src/lib/yarns/ice-yarns/lorena-worsted/colorways.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
import type { Colorway } from '$lib/types';

const colorways: Colorway[] = [
{
source: {
name: 'iceyarns.net',
href: 'https://www.iceyarns.net/lorena-worsted',
accessed: '2024-11-13',
},
colors: [
{
hex: '#523726',
name: 'Brown',
},
{
hex: '#da88ba',
name: 'Candy Pink',
},
{
hex: '#8d7dae',
name: 'Lilac',
},
{
hex: '#9ec992',
name: 'Mint Green',
},
{
hex: '#e6d864',
name: 'Light Yellow',
},
{
hex: '#c69285',
name: 'Powder Pink',
},
{
hex: '#b19470',
name: 'Beige',
},
{
hex: '#bd2c22',
name: 'Tomato Red',
},
{
hex: '#c03b23',
name: 'Orange',
},
{
hex: '#e5dec2',
name: 'Ecru',
},
{
hex: '#2a2d31',
name: 'Anthracite Black',
},
{
hex: '#ab2928',
name: 'Red',
},
{
hex: '#ddb1b2',
name: 'Baby Pink',
},
{
hex: '#8caec9',
name: 'Light Blue',
},
{
hex: '#84d2d8',
name: 'Light Turquoise',
},
{
hex: '#ac91ab',
name: 'Light Lilac',
},
{
hex: '#e1beb8',
name: 'Baby Pink',
},
{
hex: '#e3b985',
name: 'Light Salmon',
},
{
hex: '#d1d573',
name: 'Light Green',
},
{
hex: '#b59a69',
name: 'Light Brown',
},
{
hex: '#beb8a6',
name: 'Light Grey',
},
{
hex: '#7e5da2',
name: 'Lilac',
},
{
hex: '#8c5762',
name: 'Rose Pink',
},
{
hex: '#ca6f87',
name: 'Light Pink',
},
{
hex: '#c43959',
name: 'Candy Pink',
},
{
hex: '#4390b9',
name: 'Turquoise',
},
{
hex: '#5a85b9',
name: 'Baby Blue',
},
{
hex: '#1e3e98',
name: 'Royal Blue',
},
{
hex: '#4b5b77',
name: 'Jeans Blue',
},
{
hex: '#264a84',
name: 'Blue',
},
{
hex: '#13264e',
name: 'Dark Blue',
},
{
hex: '#e6af3e',
name: 'Dark Yellow',
},
{
hex: '#531317',
name: 'Burgundy',
},
{
hex: '#617736',
name: 'Green',
},
{
hex: '#214947',
name: 'Teal',
},
{
hex: '#efe7c7',
name: 'Cream',
},
{
hex: '#cbb895',
name: 'Light Beige',
},
{
hex: '#ac7f51',
name: 'Cafe Latte',
},
{
hex: '#7c604f',
name: 'Camel',
},
{
hex: '#4e3427',
name: 'Brown',
},
{
hex: '#e5e1d8',
name: 'White',
},
{
hex: '#6f706d',
name: 'Grey',
},
{
hex: '#242629',
name: 'Black',
},
{
hex: '#dfb951',
name: 'Yellow',
},
{
hex: '#295632',
name: 'Dark Green',
},
],
},
];
export default colorways;
9 changes: 9 additions & 0 deletions src/lib/yarns/ice-yarns/lorena-worsted/yarn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { Yarn } from '$lib/types';
import colorways from './colorways';

export const yarn: Yarn = {
colorways,
name: 'Lorena Worsted',
id: 'lorena_worsted',
weightId: 'a',
};
8 changes: 8 additions & 0 deletions src/lib/yarns/ice-yarns/yarns.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import type { Brand } from '$lib/types';
import { yarn as lorenaWorsted } from './lorena-worsted/yarn';

export const brand: Brand = {
name: 'Ice Yarns',
id: 'ice_yarns',
yarns: [lorenaWorsted],
};
10 changes: 10 additions & 0 deletions src/routes/changelog/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ import type { ChangelogItem } from '$lib/types';
export const entries: ChangelogItem[] = [
{
date: 'November, 2024',
notes: [
{
icon: ICONS.checkCircle,
text: `45 colorways`,
title: 'Added Yarn: Ice Yarns - Lorena Worsted',
},
],
version: '4.6.0',
},
{
notes: [
{
icon: ICONS.checkCircle,
Expand Down

0 comments on commit 9a7787d

Please sign in to comment.