Začetni commit projekta rezervacije

This commit is contained in:
Mark Poljanšek committed 2025-04-23 20:19:33 +02:00
commit 328731b32f
56062 files changed
+2485242

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
export { default } from "./typography.js";
export * from "./typography.js";
+2
View File
@@ -0,0 +1,2 @@
export { default } from "./typography.js";
export * from "./typography.js";
+12
View File
@@ -0,0 +1,12 @@
import { PropsFor, SimpleStyleFunction, typography } from "../Box/index.js";
export const typographyVariant: SimpleStyleFunction<'typography'>;
export const fontFamily: SimpleStyleFunction<'fontFamily'>;
export const fontSize: SimpleStyleFunction<'fontSize'>;
export const fontStyle: SimpleStyleFunction<'fontStyle'>;
export const fontWeight: SimpleStyleFunction<'fontWeight'>;
export const letterSpacing: SimpleStyleFunction<'letterSpacing'>;
export const lineHeight: SimpleStyleFunction<'lineHeight'>;
export const textAlign: SimpleStyleFunction<'textAlign'>;
export const textTransform: SimpleStyleFunction<'textTransform'>;
export type TypographyProps = PropsFor<typeof typography>;
export default typography;
+37
View File
@@ -0,0 +1,37 @@
import style from "../style/index.js";
import compose from "../compose/index.js";
export const fontFamily = style({
prop: 'fontFamily',
themeKey: 'typography'
});
export const fontSize = style({
prop: 'fontSize',
themeKey: 'typography'
});
export const fontStyle = style({
prop: 'fontStyle',
themeKey: 'typography'
});
export const fontWeight = style({
prop: 'fontWeight',
themeKey: 'typography'
});
export const letterSpacing = style({
prop: 'letterSpacing'
});
export const textTransform = style({
prop: 'textTransform'
});
export const lineHeight = style({
prop: 'lineHeight'
});
export const textAlign = style({
prop: 'textAlign'
});
export const typographyVariant = style({
prop: 'typography',
cssProperty: false,
themeKey: 'typography'
});
const typography = compose(typographyVariant, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, textTransform);
export default typography;