Skip to content

AI-native design editor. Open-source Figma alternative.

chore(text): align font face module naming

Danila Poyarkov0f58b3eb377b
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 195595fbc..f8c0ece59 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -183,7 +183,7 @@ export {
parseFontStyle,
type FontFaceRef,
type ParsedFontStyle
-} from './text/font-face'
+} from './text/face'
export {
ARABIC_LOCAL_FALLBACK_FAMILIES,
ARABIC_REMOTE_FALLBACK_FAMILIES,
diff --git a/packages/core/src/text/font-face.ts b/packages/core/src/text/face.ts
similarity index 100%
rename from packages/core/src/text/font-face.ts
rename to packages/core/src/text/face.ts
diff --git a/packages/core/src/text/fonts.ts b/packages/core/src/text/fonts.ts
index 1ee77c260..28888480a 100644
--- a/packages/core/src/text/fonts.ts
+++ b/packages/core/src/text/fonts.ts
@@ -4,7 +4,7 @@ import { DEFAULT_FONT_FAMILY, IS_BROWSER, GOOGLE_FONTS_API_KEY } from '#core/con
import type { SceneGraph } from '#core/scene-graph'
import { fontFallbackEntry } from '#core/text/fallbacks'
import type { FontFallbackScript } from '#core/text/fallbacks'
-import { fontFaceRenderFamily, parseFontStyle } from '#core/text/font-face'
+import { fontFaceRenderFamily, parseFontStyle } from '#core/text/face'
export interface FontInfo {
family: string