Skip to content

Commit

Permalink
fix: smarthr-ui-preset.ts を src ディレクトリ内に移動 (#3873)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokky0425 authored Oct 24, 2023
1 parent 69b3d20 commit c5cfe06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions smarthr-ui-preset.ts → src/smarthr-ui-preset.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defaultColor } from './src/themes/createColor'
import { defaultFontSize, defaultHtmlFontSize } from './src/themes/createFontSize'
import { defaultShadow } from './src/themes/createShadow'
import { createSpacingByChar, primitiveTokens as spacingSizes } from './src/themes/createSpacing'
import { defaultZIndex } from './src/themes/createZIndex'
import { defaultColor } from './themes/createColor'
import { defaultFontSize, defaultHtmlFontSize } from './themes/createFontSize'
import { defaultShadow } from './themes/createShadow'
import { createSpacingByChar, primitiveTokens as spacingSizes } from './themes/createSpacing'
import { defaultZIndex } from './themes/createZIndex'

import type { Config } from 'tailwindcss'

Expand Down
2 changes: 1 addition & 1 deletion src/themes/tailwind/TailwindThemeProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren, createContext } from 'react'

import presetConfig from '../../../smarthr-ui-preset'
import presetConfig from '../../smarthr-ui-preset'

type PresetConfig = typeof presetConfig

Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import preset from './smarthr-ui-preset'
import preset from './src/smarthr-ui-preset'

import type { Config } from 'tailwindcss'

Expand Down

0 comments on commit c5cfe06

Please sign in to comment.