mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Deprecation message has been added above @mixin H1 (#20500)
This commit is contained in:
parent
8df77ed93d
commit
7f157cabf9
@ -111,6 +111,15 @@ $font-size-h9: map-get($typography-variants, 'h9');
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated The typography mixins `@include H1` - `@include H9` have been deprecated in favor of the `<Text>` component from the component-library.
|
||||||
|
* Please update your code to use the `<Text>` component instead, which can be found in ui/components/component-library/text/text.tsx.
|
||||||
|
* You can find documentation for the new `<Text>` component in the MetaMask Storybook:
|
||||||
|
* {@link https://metamask.github.io/metamask-storybook/?path=/docs/components-componentlibrary-text--docs}
|
||||||
|
* If you would like to help with the replacement of the old mixins `@include H1` - `@include H9`, please submit a pull request against this GitHub issue:
|
||||||
|
* {@link https://github.com/MetaMask/metamask-extension/issues/19533}
|
||||||
|
*/
|
||||||
|
|
||||||
// Typography
|
// Typography
|
||||||
@mixin H1 {
|
@mixin H1 {
|
||||||
@include typography('h1');
|
@include typography('h1');
|
||||||
|
Loading…
Reference in New Issue
Block a user