Skip to content

Commit

Permalink
refactor: update isPro property for multiple features
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ng-d committed Sep 5, 2024
1 parent 857e669 commit 9e62077
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const features: Array<Feature> = [
name: 'SYNC_LOCAL_STYLES',
description: 'Styles local sychronization',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT'],
Expand All @@ -87,7 +87,7 @@ export const features: Array<Feature> = [
name: 'SYNC_LOCAL_VARIABLES',
description: 'Variable local sychronization',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT'],
Expand All @@ -97,7 +97,7 @@ export const features: Array<Feature> = [
description: 'Publish palette to the community and self',
isActive: true,
isPro: false,
isNew: false,
isNew: true,
type: 'ACTION',
service: ['EDIT'],
},
Expand Down Expand Up @@ -240,7 +240,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_MATERIAL_3',
description: 'Material 3 color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand All @@ -249,7 +249,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_TAILWIND',
description: 'Tailwind color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand All @@ -267,7 +267,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_ADS',
description: 'ADS Foundation color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand All @@ -276,7 +276,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_ADS_NEUTRAL',
description: 'ADS Foundation Neutral color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand All @@ -285,7 +285,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_CARBON',
description: 'IBM Carbon color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand All @@ -294,7 +294,7 @@ export const features: Array<Feature> = [
name: 'PRESETS_BASE',
description: 'Uber Base color system',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE'],
Expand Down Expand Up @@ -375,16 +375,16 @@ export const features: Array<Feature> = [
name: 'COLORS_HUE_SHIFTING',
description: 'Source color hue shifting number',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT'],
},
{
name: 'COLORS_CHROMA_SHIFTING',
description: 'Source color chroma shifting number',
isActive: true,
isPro: false,
isActive: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT'],
Expand All @@ -402,7 +402,7 @@ export const features: Array<Feature> = [
name: 'THEMES',
description: 'Color themes configuration',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'CONTEXT',
service: ['EDIT'],
Expand Down Expand Up @@ -465,7 +465,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_TOKENS_JSON_AMZN_STYLE_DICTIONARY',
description: 'Palette export for the Amazon Style Dictionary',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -474,7 +474,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_TOKENS_JSON_TOKENS_STUDIO',
description: 'Palette export to the Tokens Studio plugin',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand Down Expand Up @@ -537,7 +537,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_TAILWIND',
description: 'Palette export to Tailwind',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -555,7 +555,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_APPLE_SWIFTUI',
description: 'Palette export to SwiftUI (Apple)',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -564,7 +564,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_APPLE_UIKIT',
description: 'Palette export to UIkit (Apple)',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -582,7 +582,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_ANDROID_COMPOSE',
description: 'Palette export to Compose (Android)',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -591,7 +591,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_ANDROID_XML',
description: 'Palette export to XML (Android)',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand All @@ -600,7 +600,7 @@ export const features: Array<Feature> = [
name: 'EXPORT_CSV',
description: 'Palette LCH values export to CSV',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['EDIT', 'TRANSFER'],
Expand Down Expand Up @@ -663,7 +663,7 @@ export const features: Array<Feature> = [
name: 'VIEWS_SHEET',
description: 'Detailed color sheet view',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand Down Expand Up @@ -753,7 +753,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_PROTANOMALY',
description: 'Protanomaly vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -762,7 +762,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_PROTANOPIA',
description: 'Protanopia vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -771,7 +771,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_DEUTERANOMALY',
description: 'Deuteranomaly vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -780,7 +780,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_DEUTERANOPIA',
description: 'Deuteranopia vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -789,7 +789,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_TRITANOMALY',
description: 'Tritanomaly vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -798,7 +798,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_TRITANOPIA',
description: 'Tritanopia vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -807,7 +807,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_ACHROMATOMALY',
description: 'Achromatomaly vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand All @@ -816,7 +816,7 @@ export const features: Array<Feature> = [
name: 'SETTINGS_VISION_SIMULATION_MODE_ACHROMATOPSIA',
description: 'Achromatopsia vision simulation mode',
isActive: true,
isPro: false,
isPro: true,
isNew: false,
type: 'ACTION',
service: ['CREATE', 'EDIT'],
Expand Down

0 comments on commit 9e62077

Please sign in to comment.