From 1608af9c6f0b35cb6ab25a75c674fd98e58d9c97 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 30 Nov 2024 05:31:33 +0100 Subject: [PATCH] added new yarn: West Yorkshire Spinners - The Croft DK --- src/lib/yarns/brands.ts | 2 + .../the-croft-dk/colorways.ts | 114 ++++++++++++++++++ .../the-croft-dk/yarn.ts | 9 ++ .../yarns/west-yorkshire-spinners/yarns.ts | 8 ++ src/routes/changelog/changelog.ts | 5 + 5 files changed, 138 insertions(+) create mode 100644 src/lib/yarns/west-yorkshire-spinners/the-croft-dk/colorways.ts create mode 100644 src/lib/yarns/west-yorkshire-spinners/the-croft-dk/yarn.ts create mode 100644 src/lib/yarns/west-yorkshire-spinners/yarns.ts diff --git a/src/lib/yarns/brands.ts b/src/lib/yarns/brands.ts index 6504ea0..6c77706 100644 --- a/src/lib/yarns/brands.ts +++ b/src/lib/yarns/brands.ts @@ -46,6 +46,7 @@ import { brand as svartaFaret } from './svarta-faret/yarns'; import { brand as tricotCafe } from './tricot-cafe/yarns'; import { brand as valleyYarns } from './valley-yarns/yarns'; import { brand as weLoveYarn } from './we-love-yarn/yarns'; +import { brand as westYorkshireSpinners } from './west-yorkshire-spinners/yarns'; import { brand as willowYarns } from './willow-yarns/yarns'; import { brand as yarnAndColors } from './yarn-and-colors/yarns'; import { brand as yarnart } from './yarnart/yarns'; @@ -99,6 +100,7 @@ export const brands: Brand[] = [ tricotCafe, valleyYarns, weLoveYarn, + westYorkshireSpinners, willowYarns, yarnAndColors, yarnart, diff --git a/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/colorways.ts b/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/colorways.ts new file mode 100644 index 0000000..8e5629c --- /dev/null +++ b/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/colorways.ts @@ -0,0 +1,114 @@ +import type { Colorway } from '$lib/types'; + +const colorways: Colorway[] = [ + { + source: { + name: 'wyspinners.com', + href: 'https://www.wyspinners.com/the-croft-dk-yarn', + accessed: '2024-11-30', + }, + colors: [ + { + hex: '#5a2d34', + name: 'Skelberry 580', + }, + { + hex: '#b37f8e', + name: 'Bressay 1150', + }, + { + hex: '#c6a29e', + name: 'Maywick 512', + }, + { + hex: '#bd6136', + name: 'Challister 1019', + }, + { + hex: '#dfab52', + name: 'Harkland 226', + }, + { + hex: '#2a404e', + name: 'Norby 353', + }, + { + hex: '#57737e', + name: 'Nista 348', + }, + { + hex: '#8097b1', + name: 'Whalsay 1151', + }, + { + hex: '#8ab8a4', + name: 'Sampfrey 1153', + }, + { + hex: '#4d5c32', + name: 'Greenbank 404', + }, + { + hex: '#948f4d', + name: 'Graven 1018', + }, + { + hex: '#676766', + name: 'Cova 450', + }, + { + hex: '#a4a59f', + name: 'Colsay 212', + }, + { + hex: '#c6c4cb', + name: 'Clate 1152', + }, + { + hex: '#3a2a1d', + name: 'Burnside 690', + }, + { + hex: '#b8a377', + name: 'Sandvoe 135', + }, + { + hex: '#efe9cc', + name: 'Langa 010', + }, + { + hex: '#1a1a1a', + name: 'Lunnister 099', + }, + { + hex: '#e4c6a5', + name: 'Tangwick 1021', + }, + { + hex: '#beb1aa', + name: 'Mailand 813', + }, + { + hex: '#a3b1b2', + name: 'Northdale 808', + }, + { + hex: '#c9c8b8', + name: 'Eastshore 1165', + }, + { + hex: '#c4c8b0', + name: 'Hoswick 1164', + }, + { + hex: '#cac3a2', + name: 'Scalloway 1020', + }, + { + hex: '#797f59', + name: 'Hillside 809', + }, + ], + }, +]; +export default colorways; diff --git a/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/yarn.ts b/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/yarn.ts new file mode 100644 index 0000000..4cf8cb7 --- /dev/null +++ b/src/lib/yarns/west-yorkshire-spinners/the-croft-dk/yarn.ts @@ -0,0 +1,9 @@ +import type { Yarn } from '$lib/types'; +import colorways from './colorways'; + +export const yarn: Yarn = { + colorways, + id: 'the_croft_dk', + name: 'The Croft DK', + weightId: 'd', +}; diff --git a/src/lib/yarns/west-yorkshire-spinners/yarns.ts b/src/lib/yarns/west-yorkshire-spinners/yarns.ts new file mode 100644 index 0000000..d921464 --- /dev/null +++ b/src/lib/yarns/west-yorkshire-spinners/yarns.ts @@ -0,0 +1,8 @@ +import type { Brand } from '$lib/types'; +import { yarn as theCroftDK } from './the-croft-dk/yarn'; + +export const brand: Brand = { + name: 'West Yorkshire Spinners', + id: 'west_yorkshire_spinners', + yarns: [theCroftDK], +}; diff --git a/src/routes/changelog/changelog.ts b/src/routes/changelog/changelog.ts index 2e3027a..0c813a5 100644 --- a/src/routes/changelog/changelog.ts +++ b/src/routes/changelog/changelog.ts @@ -26,6 +26,11 @@ export const entries: ChangelogItem[] = [ text: `14 colorways`, title: 'Added Yarn: Hobbii - Udon', }, + { + icon: ICONS.checkCircle, + text: `25 colorways`, + title: 'Added Yarn: West Yorkshire Spinners - The Croft DK', + }, ], version: '4.7.0', },