diff --git a/.changeset/poor-numbers-reflect.md b/.changeset/poor-numbers-reflect.md new file mode 100644 index 0000000000..4830ff7a54 --- /dev/null +++ b/.changeset/poor-numbers-reflect.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/perseus": patch +--- + +[Numeric Input] - BUGFIX - Adjust color contrast of tooltip text diff --git a/packages/perseus/src/styles/perseus-renderer.less b/packages/perseus/src/styles/perseus-renderer.less index 3e02cc2162..e19530ae4e 100644 --- a/packages/perseus/src/styles/perseus-renderer.less +++ b/packages/perseus/src/styles/perseus-renderer.less @@ -544,7 +544,7 @@ .perseus-formats-tooltip { background: #fff; - color: #777; + color: @textSecondary; padding: 5px 10px; width: 240px; } diff --git a/packages/perseus/src/styles/variables.less b/packages/perseus/src/styles/variables.less index df1ca00076..0467ef6230 100644 --- a/packages/perseus/src/styles/variables.less +++ b/packages/perseus/src/styles/variables.less @@ -21,6 +21,8 @@ @gray25: #3b3e40; @gray17: #21242c; +@textSecondary: #717378; + // Media query breakpoints // --------------------------------------------------