From f1ffe5e799c030672c7d4439901b0b43af567742 Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Tue, 20 Feb 2024 09:21:11 -0800 Subject: [PATCH] docs: fix contrast ratio on overview page (#3054) --- .storybook/preview.css | 9 ++++++++- packages/mgt-element/src/utils/version.ts | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.storybook/preview.css b/.storybook/preview.css index abd7e4d770..bdb2e1e67f 100644 --- a/.storybook/preview.css +++ b/.storybook/preview.css @@ -101,10 +101,17 @@ body { } /* fix attribute names in html rendering */ -.mtk4, .css-zj0253 * .token.attr-name { +.mtk4, +.language-html .token.attr-name, +span.token.script.language-javascript.literal-property.property { color: #e50000 !important; } +/* fix javascript class name */ +span.token.script.language-javascript.class-name { + color: #247b95; +} + /* fix number colors in monaco editor */ .mtk7 { color: #088155 !important; diff --git a/packages/mgt-element/src/utils/version.ts b/packages/mgt-element/src/utils/version.ts index 19794f158e..d5deec10c3 100644 --- a/packages/mgt-element/src/utils/version.ts +++ b/packages/mgt-element/src/utils/version.ts @@ -8,4 +8,4 @@ // THIS FILE IS AUTO GENERATED // ANY CHANGES WILL BE LOST DURING BUILD -export const PACKAGE_VERSION = '4.0.0'; +export const PACKAGE_VERSION = '4.0.1';