eletrotupi / tcc/ commit / d57731d

frontend: keep cardHint's fontStyle literal so it spreads as a TextStyle

Pedro Lucas Porcellis porcellis@eletrotupi.com · 12 days ago d57731d0080fd5cc009a8c02cc3f6bf4631c75a8 Browse files
Parents d1263e1
Changed files
1
Additions
+1
Deletions
-1
frontend/constants/theme.ts
1 1
/**
2 2
 * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
3 3
 * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
4 4
 */
5 5

152 152

153 153
  cardHint: {
154 154
    fontFamily: "Inter",
155 155
    fontSize: 11,
156 156
    lineHeight: 13.8,
157 -
    fontStyle: "italic",
157 +
    fontStyle: "italic" as const,
158 158
  },
159 159
};
160 160

161 161
export const Spacing = {
162 162
  containerPadding: 16, // 1rem
210 210
  typography: Typography,
211 211
  spacing: Spacing,
212 212
  shadows: Shadows,
213 213
  borderRadius: BorderRadius,
214 214
};