From 5a72652a01d44c06dd37dc176b15daca9e90a4f2 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Mon, 24 Apr 2023 15:38:37 +0200 Subject: [PATCH] adding overrides --- .../light.protanopia-deuteranopia.json5 | 78 ++++++++++++++++++- 1 file changed, 76 insertions(+), 2 deletions(-) diff --git a/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 b/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 index 6df014df2..2f53313e3 100644 --- a/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +++ b/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 @@ -27,6 +27,20 @@ }, }, bgColor: { + success: { + muted: { + $value: '{base.color.blue.0}', + $type: 'color', + }, + emphasis: { + $value: '{base.color.blue.4}', + $type: 'color', + mix: { + color: '{base.color.green.5}', + weight: 0.75, + }, + }, + }, open: { muted: { $value: '{base.color.orange.3}', @@ -38,6 +52,16 @@ $type: 'color', }, }, + danger: { + muted: { + $value: '{base.color.orange.0}', + $type: 'color', + }, + emphasis: { + $value: '{base.color.orange.5}', + $type: 'color', + }, + }, closed: { muted: { $value: '{base.color.gray.3}', @@ -73,6 +97,28 @@ $type: 'color', }, }, + success: { + muted: { + $value: '{base.color.blue.3}', + $type: 'color', + alpha: 0.4, + }, + emphasis: { + $value: '{base.color.blue.4}', + $type: 'color', + }, + }, + danger: { + muted: { + $value: '{base.color.orange.3}', + $type: 'color', + alpha: 0.4, + }, + emphasis: { + $value: '{base.color.orange.5}', + $type: 'color', + }, + }, }, diffBlob: { addition: { @@ -126,8 +172,8 @@ $value: '{base.color.orange.5}', $type: 'color', }, - } - } + }, + }, }, color: { ansi: { @@ -148,6 +194,34 @@ $type: 'color', }, }, + prettylights: { + syntax: { + keyword: { + $value: '{base.color.orange.5}', + $type: 'color', + }, + invalid: { + illegal: { + bg: { + $value: '{base.color.orange.7}', + $type: 'color', + }, + }, + }, + carriage: { + return: { + bg: { + $value: '{base.color.orange.5}', + $type: 'color', + }, + }, + }, + 'string-regexp': { + $value: '{base.color.blue.6}', + $type: 'color', + }, + }, + }, /** * @description All overwrites for color scales */