-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support background colors for text (#8435)
## Describe your changes Adds support for background colors for markdown text -- just as #5774 added support for colored text. ## Testing Plan - Added JS unit and e2e tests ### Misc - [Product spec](https://www.notion.so/snowflake-corp/Spec-ff1deb2ea79740b08d65e188f32adaa4) - [Figma](https://www.figma.com/file/8swM6twk1gcrXtapAL2UgI/Colored-Text?type=design&node-id=215-1140&mode=design&t=A3eGLALZ4yg7tzBU-0) --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
- Loading branch information
1 parent
2b3b22c
commit 940bd5d
Showing
79 changed files
with
243 additions
and
248 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
-42 Bytes
(100%)
...ux/st_markdown_test/st_markdown-heading_and_markdown_combinations[chromium].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...nux/st_markdown_test/st_markdown-heading_and_markdown_combinations[firefox].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8 Bytes
(100%)
...nux/st_markdown_test/st_markdown-long-markdown-header-above-table[chromium].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-334 Bytes
(99%)
...inux/st_markdown_test/st_markdown-long-markdown-header-above-table[firefox].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+31.5 KB
(200%)
...ux/st_markdown_test/st_markdown-num_elements_displayed[dark_theme-chromium].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+38.1 KB
(190%)
...nux/st_markdown_test/st_markdown-num_elements_displayed[dark_theme-firefox].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+25.7 KB
(190%)
...inux/st_markdown_test/st_markdown-num_elements_displayed[dark_theme-webkit].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+30.1 KB
(190%)
...x/st_markdown_test/st_markdown-num_elements_displayed[light_theme-chromium].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+38.5 KB
(190%)
...ux/st_markdown_test/st_markdown-num_elements_displayed[light_theme-firefox].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+24.7 KB
(180%)
...nux/st_markdown_test/st_markdown-num_elements_displayed[light_theme-webkit].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-26.4 KB
...ts/linux/2x/st_markdown.spec.js/heading-and-markdown-combinations-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-26 KB
...apshots/linux/2x/st_markdown.spec.js/heading-and-markdown-combinations.snap.png
Binary file not shown.
Binary file removed
BIN
-143 KB
...ots/linux/2x/st_markdown.spec.js/long-markdown-header-above-table-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-141 KB
...napshots/linux/2x/st_markdown.spec.js/long-markdown-header-above-table.snap.png
Binary file not shown.
Binary file removed
BIN
-3.33 KB
...ess/snapshots/linux/2x/st_markdown.spec.js/markdown-table-visuals-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-3.3 KB
.../cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-table-visuals.snap.png
Binary file not shown.
Binary file removed
BIN
-4.37 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-0-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-4.36 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-0.snap.png
Binary file not shown.
Binary file removed
BIN
-4.25 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-1-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-4.24 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-1.snap.png
Binary file not shown.
Binary file removed
BIN
-4.62 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-10-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-4.63 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-10.snap.png
Binary file not shown.
Binary file removed
BIN
-3.77 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-11-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-3.74 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-11.snap.png
Binary file not shown.
Binary file removed
BIN
-20.9 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-12-dark.snap.png
Binary file not shown.
Binary file removed
BIN
-20.7 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-12.snap.png
Diff not rendered.
Binary file removed
BIN
-4.99 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-13-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-4.91 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-13.snap.png
Diff not rendered.
Binary file removed
BIN
-1.71 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-14-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-1.7 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-14.snap.png
Diff not rendered.
Binary file removed
BIN
-6.59 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-15-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-6.49 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-15.snap.png
Diff not rendered.
Binary file removed
BIN
-6.59 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-16-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-6.49 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-16.snap.png
Diff not rendered.
Binary file removed
BIN
-4.99 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-17-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-4.91 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-17.snap.png
Diff not rendered.
Binary file removed
BIN
-1.71 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-18-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-1.7 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-18.snap.png
Diff not rendered.
Binary file removed
BIN
-8.2 KB
...ypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-19-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-8.22 KB
...end/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-19.snap.png
Diff not rendered.
Binary file removed
BIN
-3.55 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-2-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-3.55 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-2.snap.png
Diff not rendered.
Binary file removed
BIN
-1.06 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-3-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-1.02 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-3.snap.png
Diff not rendered.
Binary file removed
BIN
-604 Bytes
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-4-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-609 Bytes
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-4.snap.png
Diff not rendered.
Binary file removed
BIN
-3.2 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-6-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-3.22 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-6.snap.png
Diff not rendered.
Binary file removed
BIN
-2.36 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-7-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-2.38 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-7.snap.png
Diff not rendered.
Binary file removed
BIN
-5.75 KB
...cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-9-dark.snap.png
Diff not rendered.
Binary file removed
BIN
-5.69 KB
...tend/cypress/snapshots/linux/2x/st_markdown.spec.js/markdown-visuals-9.snap.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.