This commit is contained in:
Niccolo Borgioli 2023-11-03 00:30:01 +01:00
parent a4b9ed64fa
commit 368ad996bd
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
3 changed files with 2 additions and 33 deletions

BIN
files/omp/colors/bun.lockb Executable file

Binary file not shown.

View File

@ -14,8 +14,8 @@ for (const { properties, options } of colors) {
} }
const configFile = '../main.omp.yaml' const configFile = '../main.omp.yaml'
const config = await fs.readFileSync(configFile, 'utf8') const config = fs.readFileSync(configFile, 'utf8')
// config.palette = palette // config.palette = palette
const output = yaml.stringify({ palette }) const output = yaml.stringify({ palette })
await fs.writeFileSync(configFile, config.replace(/palette:(.|\s)*$/, output)) fs.writeFileSync(configFile, config.replace(/palette:(.|\s)*$/, output))

View File

@ -1,31 +0,0 @@
lockfileVersion: 5.4
specifiers:
'@k-vyn/coloralgorithm': ^1.0.0
yaml: ^2.2.1
dependencies:
'@k-vyn/coloralgorithm': 1.0.0
yaml: 2.2.1
packages:
/@k-vyn/coloralgorithm/1.0.0:
resolution: {integrity: sha512-a9aAOXxQ+c2Mw5sMC39elT0wYkPa3qktFjtxVkfY3mQEFBr7NMQEczCARVdkmIKo1dIrgNSx3z12sTXohzSZDg==}
dependencies:
bezier-easing: 2.1.0
chroma-js: 2.4.2
dev: false
/bezier-easing/2.1.0:
resolution: {integrity: sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==}
dev: false
/chroma-js/2.4.2:
resolution: {integrity: sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==}
dev: false
/yaml/2.2.1:
resolution: {integrity: sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==}
engines: {node: '>= 14'}
dev: false