From 40e0a5ff945857a920574339d07644e22e25ffee Mon Sep 17 00:00:00 2001 From: aveline Date: Thu, 10 Feb 2022 15:09:42 -0800 Subject: [PATCH] Collapse `filter()` table --- documentation/guides/migrating-from-v8-to-v9.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index 64400410987..428388e0fd2 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -199,6 +199,9 @@ This function has been deprecated, but the definition can be copied and used loc We replaced a few of the following filter function instances with color tokens instead of their exact replacement values. However, this can break intended behavior so be careful if you take this approach as well. +
+Table of Replacement Values/Tokens + | Function | Replacement Value/Token | | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | | `filter('purple', 'text')` | `brightness(0) saturate(100%) invert(29%) sepia(3%) saturate(2843%) hue-rotate(223deg) brightness(92%) contrast(86%)` | @@ -262,6 +265,8 @@ We replaced a few of the following filter function instances with color tokens i | `filter('icon')`
`filter('icon', 'base')` | `brightness(0) saturate(100%) invert(36%) sepia(13%) saturate(137%) hue-rotate(169deg) brightness(95%) contrast(87%)` | | `filter('action')`
`filter('action', 'base')` | `brightness(0) saturate(100%) invert(20%) sepia(59%) saturate(5557%) hue-rotate(162deg) brightness(95%) contrast(101%)` | +
+ #### `font-family()` | Function | Replacement Value/Token |