mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-24 03:58:45 -06:00
omfg
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import React, { SetStateAction } from 'react';
|
||||
import { Input as TamaguiInput} from 'tamagui';
|
||||
import { styles } from './text';
|
||||
|
||||
interface InputProps {
|
||||
onChangeText: React.Dispatch<SetStateAction<string | undefined>>,
|
||||
@@ -13,7 +12,6 @@ export default function Input(props: InputProps): React.JSX.Element {
|
||||
|
||||
return (
|
||||
<TamaguiInput
|
||||
style={styles.text}
|
||||
placeholder={props.placeholder}
|
||||
onChangeText={props.onChangeText}
|
||||
value={props.value}
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
import { StyleSheet } from "react-native"
|
||||
import { H1, SizeTokens, Label as TamaguiLabel } from "tamagui"
|
||||
import { Fonts } from '../../enums/assets/fonts';
|
||||
|
||||
export const styles = StyleSheet.create({
|
||||
heading: {
|
||||
fontFamily: Fonts.Black
|
||||
},
|
||||
label: {
|
||||
fontFamily: Fonts.Heavy
|
||||
},
|
||||
text: {
|
||||
fontFamily: Fonts.Regular
|
||||
},
|
||||
});
|
||||
|
||||
interface LabelProps {
|
||||
htmlFor: string,
|
||||
@@ -28,6 +14,6 @@ export function Label(props: LabelProps): React.JSX.Element {
|
||||
|
||||
export function Heading({ children }: { children: string }): React.JSX.Element {
|
||||
return (
|
||||
<H1 marginVertical={30} size="$3" fontFamily={"$heading"}>{ children }</H1>
|
||||
<H1 marginVertical={30}>{ children }</H1>
|
||||
)
|
||||
}
|
||||
@@ -5,8 +5,8 @@ const aileronFace = {
|
||||
100: { normal: 'Aileron UltraLight', italic: 'Aileron-UltraLightItalic' },
|
||||
200: { normal: 'Aileron Thin', italic: 'Aileron-ThinItalic' },
|
||||
300: { normal: 'Aileron Light', italic: 'Aileron-LightItalic' },
|
||||
400: { normal: 'Aileron Regular', italic: 'Aileron-Italic'} ,
|
||||
500: { normal: 'Aileron Regular', italic: 'Aileron-Italic' },
|
||||
400: { normal: 'Aileron', italic: 'Aileron-Italic'} ,
|
||||
500: { normal: 'Aileron', italic: 'Aileron-Italic' },
|
||||
600: { normal: 'Aileron SemiBold', italic: 'Aileron-SemiBoldItalic' },
|
||||
700: { normal: 'Aileron Bold', italic: 'Aileron-BoldItalic' },
|
||||
800: { normal: 'Aileron Heavy', italic: 'Aileron-HeavyItalic' },
|
||||
|
||||
Reference in New Issue
Block a user