From ed12246ae475faed3bf08a93a8e16c51de5b24be Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 17 Dec 2022 11:47:00 -0600 Subject: [PATCH] Remove unused sea-blue color --- app/soapbox/normalizers/soapbox/soapbox-config.ts | 1 - app/styles/themes.scss | 1 - tailwind.config.js | 1 - tailwind/__tests__/colors-test.js | 2 -- 4 files changed, 5 deletions(-) diff --git a/app/soapbox/normalizers/soapbox/soapbox-config.ts b/app/soapbox/normalizers/soapbox/soapbox-config.ts index c4246d8a0..b221afabe 100644 --- a/app/soapbox/normalizers/soapbox/soapbox-config.ts +++ b/app/soapbox/normalizers/soapbox/soapbox-config.ts @@ -43,7 +43,6 @@ const DEFAULT_COLORS = ImmutableMap({ 800: '#991b1b', 900: '#7f1d1d', }), - 'sea-blue': '#2feecc', 'greentext': '#789922', }); diff --git a/app/styles/themes.scss b/app/styles/themes.scss index 97a9b5f95..5efd0fc97 100644 --- a/app/styles/themes.scss +++ b/app/styles/themes.scss @@ -70,7 +70,6 @@ body, --dark-blue: #1d1953; --electric-blue: #5448ee; --electric-blue-contrast: #e8e7fd; - --sea-blue: #2feecc; // Sizes --border-radius-base: 4px; diff --git a/tailwind.config.js b/tailwind.config.js index aa09fb24c..c57acc16e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -58,7 +58,6 @@ module.exports = { 'accent-blue': true, 'gradient-start': true, 'gradient-end': true, - 'sea-blue': true, 'greentext': true, }), animation: { diff --git a/tailwind/__tests__/colors-test.js b/tailwind/__tests__/colors-test.js index 89836edb7..36bc2526c 100644 --- a/tailwind/__tests__/colors-test.js +++ b/tailwind/__tests__/colors-test.js @@ -42,12 +42,10 @@ describe('parseColorMatrix()', () => { accent: [300, 500], 'gradient-start': true, 'gradient-end': true, - 'sea-blue': true, }; const result = parseColorMatrix(colorMatrix); - expect(result['sea-blue']({})).toEqual('rgb(var(--color-sea-blue))'); expect(result['gradient-start']({ opacityValue: .7 })).toEqual('rgb(var(--color-gradient-start) / 0.7)'); }); });