basantech89/awesome-ui

View on GitHub

Showing 35 of 49 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        <Box d={display} gap={gap}>
          {buttonColors.map(color => (
            <Button key={`${color}-${size}`} {...args} color={color} variant='solid' size={size}>
              {capitalize(color)}
            </Button>
Severity: Major
Found in src/components/form/button/button.stories.tsx and 1 other location - About 3 hrs to fix
src/components/form/button/button.stories.tsx on lines 148..160

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 103.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        <Box d={display} gap={gap}>
          {buttonColors.map(color => (
            <Button
              key={`${color}-${shape}`}
              {...args}
Severity: Major
Found in src/components/form/button/button.stories.tsx and 1 other location - About 3 hrs to fix
src/components/form/button/button.stories.tsx on lines 131..137

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 103.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  peach: {
    50: '#fffcfd',
    100: '#FDF7F8',
    200: '#FAF0F0',
    300: '#F8E8E9',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  blueGray: {
    50: '#f8fafc',
    100: '#f1f5f9',
    200: '#e2e8f0',
    300: '#cbd5e1',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  warmGray: {
    50: '#fafaf9',
    100: '#f5f5f4',
    200: '#e7e5e4',
    300: '#d6d3d1',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  sky: {
    50: '#f0f9ff',
    100: '#e0f2fe',
    200: '#bae6fd',
    300: '#7dd3fc',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  emerald: {
    50: '#ecfdf5',
    100: '#d1fae5',
    200: '#a7f3d0',
    300: '#6ee7b7',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  mango: {
    50: '#fffbeb',
    100: '#fef3c7',
    200: '#fde68a',
    300: '#fcd34d',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  purple: {
    50: '#faf5ff',
    100: '#f3e8ff',
    200: '#e9d5ff',
    300: '#d8b4fe',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  kesari: {
    50: '#fff7ed',
    100: '#ffedd5',
    200: '#fed7aa',
    300: '#fdba74',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  lime: {
    50: '#f7fee7',
    100: '#ecfccb',
    200: '#d9f99d',
    300: '#bef264',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  trueGray: {
    50: '#fafafa',
    100: '#f5f5f5',
    200: '#e5e5e5',
    300: '#d4d4d4',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  fuchsia: {
    50: '#fdf4ff',
    100: '#fae8ff',
    200: '#f5d0fe',
    300: '#f0abfc',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  teal: {
    50: '#f0fdfa',
    100: '#ccfbf1',
    200: '#99f6e4',
    300: '#5eead4',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  gray: {
    50: '#fafafa',
    100: '#f4f4f5',
    200: '#e4e4e7',
    300: '#d4d4d8',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  flamingo: {
    50: '#fdf2f8',
    100: '#fce7f3',
    200: '#fbcfe8',
    300: '#f9a8d4',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  blue: {
    50: '#eff6ff',
    100: '#dbeafe',
    200: '#bfdbfe',
    300: '#93c5fd',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  strawberry: {
    50: '#fef2f2',
    100: '#fee2e2',
    200: '#fecaca',
    300: '#fca5a5',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  violet: {
    50: '#f5f3ff',
    100: '#ede9fe',
    200: '#ddd6fe',
    300: '#c4b5fd',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 132..143
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 23 locations. Consider refactoring.
Open

  cyan: {
    50: '#ecfeff',
    100: '#cffafe',
    200: '#a5f3fc',
    300: '#67e8f9',
Severity: Major
Found in src/shared/theme/themeEngine/colors.ts and 22 other locations - About 1 hr to fix
src/shared/theme/themeEngine/colors.ts on lines 24..35
src/shared/theme/themeEngine/colors.ts on lines 36..47
src/shared/theme/themeEngine/colors.ts on lines 48..59
src/shared/theme/themeEngine/colors.ts on lines 60..71
src/shared/theme/themeEngine/colors.ts on lines 72..83
src/shared/theme/themeEngine/colors.ts on lines 84..95
src/shared/theme/themeEngine/colors.ts on lines 96..107
src/shared/theme/themeEngine/colors.ts on lines 108..119
src/shared/theme/themeEngine/colors.ts on lines 120..131
src/shared/theme/themeEngine/colors.ts on lines 144..155
src/shared/theme/themeEngine/colors.ts on lines 156..167
src/shared/theme/themeEngine/colors.ts on lines 168..179
src/shared/theme/themeEngine/colors.ts on lines 180..191
src/shared/theme/themeEngine/colors.ts on lines 192..203
src/shared/theme/themeEngine/colors.ts on lines 204..215
src/shared/theme/themeEngine/colors.ts on lines 216..227
src/shared/theme/themeEngine/colors.ts on lines 228..239
src/shared/theme/themeEngine/colors.ts on lines 240..251
src/shared/theme/themeEngine/colors.ts on lines 252..263
src/shared/theme/themeEngine/colors.ts on lines 264..275
src/shared/theme/themeEngine/colors.ts on lines 276..287
src/shared/theme/themeEngine/colors.ts on lines 288..299

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 56.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language