diff --git a/components/Typography/README.md b/components/Typography/README.md index eb5c48b0ec9..2d5c13ccf1c 100644 --- a/components/Typography/README.md +++ b/components/Typography/README.md @@ -1,15 +1,11 @@ - - # Typography +*Notice*: Much of this component, with exception of the UIFont and UIFontDescriptor APIs, will soon +be deprecated. Please consider using the [schemes/Typography](../schemes/Typography) component and +the [Material Theming](../../docs/theming) APIs instead. + +--- +
Typography
diff --git a/components/Typography/src/MDCTypography.h b/components/Typography/src/MDCTypography.h index 7902777eb99..2128f652325 100644 --- a/components/Typography/src/MDCTypography.h +++ b/components/Typography/src/MDCTypography.h @@ -16,12 +16,17 @@ #import +#pragma mark - Soon to be deprecated + /** MDCTypography uses this protocol to delegate responsibility of loading the custom fonts. The spec defines the Roboto font family and uses three fonts in the named styles. Use this protocol to define your own fonts if there is a brand need. + @warning This protocol will soon be deprecated. Consider using MDCTypographyScheme from the + schemes/Typography component instead. + @see https://material.io/go/design-typography#typography-styles */ @protocol MDCTypographyFontLoading @@ -71,6 +76,9 @@ To use these fonts, you must add MaterialTypography.bundle to your target. + @warning This class will soon be deprecated. Consider using MDCTypographyScheme from the + schemes/Typography component instead. + @see https://material.io/go/design-typography#typography-styles */ @interface MDCTypography : NSObject @@ -177,6 +185,9 @@ /** MDCSystemFontLoader allows you to use the system font for @c MDCTypography. + @warning This class will soon be deprecated. Consider using MDCTypographyScheme from the + schemes/Typography component instead. + #### Example ```