Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesBHuff committed Dec 15, 2023
1 parent 1c72466 commit 59f6dc9
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions frontend/app/src/content/color-inputs.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import {newRGBColor} from '$/functions/new-rgb-color.function';
import HexInput from '$/widgets/hex-input.vue'
import HSLInput from '$/widgets/hsl-input.vue'
import {newRGBColor} from '@/functions/new-rgb-color.function';
import HexInput from '@/widgets/hex-input.vue'
import HSLInput from '@/widgets/hsl-input.vue'
import type {RGBColor} from 'color-diff';
import {onMounted, reactive} from 'vue';
Expand Down
10 changes: 5 additions & 5 deletions frontend/app/src/content/wcag-results.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import {labToContrast} from '$/functions/labToContrast.function';
import {labToDifference} from '$/functions/labToDifference.function';
import {rgbToContrast} from '$/functions/rgbToContrast.function';
import {rgbToLab} from '$/functions/rgbToLab.function';
import {round} from '$/functions/round.function';
import {labToContrast} from '@/functions/labToContrast.function';
import {labToDifference} from '@/functions/labToDifference.function';
import {rgbToContrast} from '@/functions/rgbToContrast.function';
import {rgbToLab} from '@/functions/rgbToLab.function';
import {round} from '@/functions/round.function';
import type {RGBColor} from 'color-diff';
import {computed, ref, type Ref} from 'vue';
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/functions/stringToRgb.function.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {threeToSix} from '$/functions/threeToSix.function';
import {threeToSix} from '@/functions/threeToSix.function';
import type {RGBColor} from 'color-diff';

export const stringToRgb = (input: string): RGBColor => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {NoAutoInput} from '$/directives/no-auto-input.directive';
import Main from '$/main.vue';
import {NoAutoInput} from '@/directives/no-auto-input.directive';
import Main from '@/main.vue';
import {createApp} from 'vue';

const app = createApp(Main);
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import CalculatorPage from '$/pages/calculator.vue';
import CalculatorPage from '@/pages/calculator.vue';
</script>
<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
<template>
Expand Down
8 changes: 4 additions & 4 deletions frontend/app/src/pages/calculator.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import ColorInputs from '$/content/color-inputs.vue';
import Renderer from '$/content/renderer.vue';
import WCAGResults from '$/content/wcag-results.vue';
import {newRGBColor} from '$/functions/new-rgb-color.function';
import ColorInputs from '@/content/color-inputs.vue';
import Renderer from '@/content/renderer.vue';
import WCAGResults from '@/content/wcag-results.vue';
import {newRGBColor} from '@/functions/new-rgb-color.function';
import type {RGBColor} from 'color-diff';
import {reactive} from 'vue';
Expand Down
10 changes: 5 additions & 5 deletions frontend/app/src/widgets/hex-input.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import {isValidHex} from '$/functions/is-valid-hex.function';
import {rgbToString} from '$/functions/rgbToString.function copy';
import {stringToRgb} from '$/functions/stringToRgb.function';
import {newRGBColor} from '$/functions/new-rgb-color.function';
import type {ModelViewPair} from '$/types/model-view-pair.type';
import {isValidHex} from '@/functions/is-valid-hex.function';
import {rgbToString} from '@/functions/rgbToString.function copy';
import {stringToRgb} from '@/functions/stringToRgb.function';
import {newRGBColor} from '@/functions/new-rgb-color.function';
import type {ModelViewPair} from '@/types/model-view-pair.type';
import type {RGBColor} from 'color-diff';
import {capitalize, computed, reactive} from 'vue';
Expand Down
8 changes: 4 additions & 4 deletions frontend/app/src/widgets/hsl-input.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import {newRGBColor} from '$/functions/new-rgb-color.function';
import HueInput from '$/widgets/hue-input.vue';
import SatInput from '$/widgets/sat-input.vue';
import LumInput from '$/widgets/lum-input.vue';
import {newRGBColor} from '@/functions/new-rgb-color.function';
import HueInput from '@/widgets/hue-input.vue';
import SatInput from '@/widgets/sat-input.vue';
import LumInput from '@/widgets/lum-input.vue';
import type {RGBColor} from 'color-diff';
const props = withDefaults(defineProps<{
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/widgets/hue-input.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type {ModelViewPair} from '$/types/model-view-pair.type';
import type {ModelViewPair} from '@/types/model-view-pair.type';
import {computed, reactive} from 'vue';
const props = withDefaults(defineProps<{
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/widgets/lum-input.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type {ModelViewPair} from '$/types/model-view-pair.type';
import type {ModelViewPair} from '@/types/model-view-pair.type';
import {computed, reactive} from 'vue';
const props = withDefaults(defineProps<{
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/widgets/sat-input.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type {ModelViewPair} from '$/types/model-view-pair.type';
import type {ModelViewPair} from '@/types/model-view-pair.type';
import {computed, reactive} from 'vue';
const props = withDefaults(defineProps<{
Expand Down

0 comments on commit 59f6dc9

Please sign in to comment.