Files
8ab03985-8c13-457b-bcfe-1e2…/src/providers/themeProvider/config/baseVw.ts
2026-02-09 16:34:59 +00:00

45 lines
1.0 KiB
TypeScript

import type { SizingPreset } from "./types";
export const baseVwMap: Record<SizingPreset, { desktop: string; mobile: string }> = {
medium: {
desktop: "clamp(0.5rem, 0.8vw, 1rem)",
mobile: "3vw",
},
mediumLarge: {
desktop: "clamp(0.5rem, 0.84vw, 1rem)",
mobile: "3.15vw",
},
largeSmall: {
desktop: "clamp(0.5rem, 0.88vw, 1rem)",
mobile: "3.30vw",
},
large: {
desktop: "clamp(0.5rem, 0.92vw, 1rem)",
mobile: "3.45vw",
},
mediumSizeLargeTitles: {
desktop: "clamp(0.5rem, 0.8vw, 1rem)",
mobile: "3vw",
},
largeSizeMediumTitles: {
desktop: "clamp(0.5rem, 0.92vw, 1rem)",
mobile: "3.45vw",
},
mediumLargeSizeLargeTitles: {
desktop: "clamp(0.5rem, 0.84vw, 1rem)",
mobile: "3.15vw",
},
largeSmallSizeLargeTitles: {
desktop: "clamp(0.5rem, 0.88vw, 1rem)",
mobile: "3.30vw",
},
mediumLargeSizeMediumTitles: {
desktop: "clamp(0.5rem, 0.84vw, 1rem)",
mobile: "3.15vw",
},
largeSmallSizeMediumTitles: {
desktop: "clamp(0.5rem, 0.88vw, 1rem)",
mobile: "3.30vw",
},
};