textTheme property
Text theme for the Kohler brand.
Uses DM Sans for the font family.
Implementation
static TextTheme get textTheme => const TextTheme(
displayLarge: TextStyle(
debugLabel: 'kohler displayLarge',
fontFamily: dmSansFamily,
package: 'kohler_providers',
),
displayMedium: TextStyle(
debugLabel: 'kohler displayMedium',
fontFamily: dmSansFamily,
package: 'kohler_providers',
),
displaySmall: TextStyle(
debugLabel: 'kohler displaySmall',
fontFamily: dmSansFamily,
package: 'kohler_providers',
),
headlineLarge: TextStyle(
debugLabel: 'kohler headlineLarge',
fontFamily: dmSansFamily,
package: 'kohler_providers',
),
headlineMedium: TextStyle(
debugLabel: 'kohler headlineMedium',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 26.0,
letterSpacing: 0.02 * 26.0,
fontWeight: FontWeight.w700,
),
headlineSmall: TextStyle(
debugLabel: 'kohler headlineSmall',
fontFamily: dmSansFamily,
package: 'kohler_providers',
),
titleLarge: TextStyle(
debugLabel: 'kohler titleLarge',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 22.0,
fontWeight: FontWeight.w700,
),
titleMedium: TextStyle(
debugLabel: 'kohler titleMedium',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 20.0,
fontWeight: FontWeight.w700,
),
titleSmall: TextStyle(
debugLabel: 'kohler titleSmall',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 16.0,
fontWeight: FontWeight.w400,
),
bodyLarge: TextStyle(
debugLabel: 'kohler bodyLarge',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 20.0,
fontWeight: FontWeight.w700,
),
bodyMedium: TextStyle(
debugLabel: 'kohler bodyMedium',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 14.0,
fontWeight: FontWeight.w500,
),
bodySmall: TextStyle(
debugLabel: 'kohler bodySmall',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 13.0,
fontWeight: FontWeight.w400,
),
labelLarge: TextStyle(
debugLabel: 'kohler labelLarge',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 13.0,
fontWeight: FontWeight.w700,
),
labelMedium: TextStyle(
debugLabel: 'kohler labelMedium',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 11.0,
fontWeight: FontWeight.w700,
),
labelSmall: TextStyle(
debugLabel: 'kohler labelSmall',
fontFamily: dmSansFamily,
package: 'kohler_providers',
fontSize: 11.0,
fontWeight: FontWeight.w400,
),
);