Files
hash-wallet/lib/typography.dart
T
malik1004xandGitHub d38c748127 remove old ui (#3629)
* remove old ui

* remove imports to nonexistent files

* remove old buy/sell

* remove unreachable pages

* readd Routes.exchange

* remove broken di
2026-09-22 16:46:42 +02:00

63 lines
1.7 KiB
Dart

import 'package:cake_wallet/utils/feature_flag.dart';
import 'package:flutter/material.dart';
const wixFont = "Wix Madefor Text";
TextStyle textXxSmall({Color? color}) => _cakeRegular(10, color);
TextStyle textXxSmallSemiBold({Color? color}) => _cakeSemiBold(10, color);
TextStyle textXSmall({Color? color}) => _cakeRegular(12, color);
TextStyle textXSmallSemiBold({Color? color}) => _cakeSemiBold(12, color);
TextStyle textSmall({Color? color}) => _cakeRegular(14, color);
TextStyle textSmallSemiBold({Color? color}) => _cakeSemiBold(14, color);
TextStyle textMedium({Color? color}) => _cakeRegular(16, color);
TextStyle textMediumBold({Color? color}) => _cakeBold(16, color);
TextStyle textMediumSemiBold({Color? color}) => _cakeSemiBold(22, color);
TextStyle textLarge({Color? color}) => _cakeRegular(18, color);
TextStyle textLargeBold({Color? color}) => _cakeBold(18, color);
TextStyle textLargeSemiBold({Color? color}) => _cakeSemiBold(24, color);
TextStyle textXLarge({Color? color}) => _cakeRegular(32, color);
TextStyle textXLargeSemiBold({Color? color}) => _cakeSemiBold(32, color);
TextStyle _cakeRegular(double size, Color? color) => _textStyle(
size: size,
fontWeight: FontWeight.normal,
color: color,
);
TextStyle _cakeBold(double size, Color? color) => _textStyle(
size: size,
fontWeight: FontWeight.w900,
color: color,
);
TextStyle _cakeSemiBold(double size, Color? color) => _textStyle(
size: size,
fontWeight: FontWeight.w700,
color: color,
);
TextStyle _textStyle({
required double size,
required FontWeight fontWeight,
Color? color,
}) =>
TextStyle(
fontFamily: wixFont,
fontSize: size,
fontWeight: fontWeight,
color: color ?? Colors.white,
);