Skip to content

Commit

Permalink
fix(module): move colors utils to runtime dir
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Feb 14, 2022
1 parent 4a64885 commit 93c9fe1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import defu from 'defu'
import type { TailwindConfig } from 'tailwindcss/tailwind-config'
import colors from 'tailwindcss/colors.js'
import { name, version } from '../package.json'
import { safeColorsAsRegex } from './utils'
import { safeColorsAsRegex } from './runtime/utils/colors'

interface ColorsOptions {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/presets/default.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { safeColors } from '../../utils'
import { safeColors } from '../utils/colors'

const button = {
base: 'font-medium focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 focus:ring-offset-white dark:focus:ring-offset-black',
Expand Down
File renamed without changes.

1 comment on commit 93c9fe1

@vercel
Copy link

@vercel vercel bot commented on 93c9fe1 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.