This file contains hidden or 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
| function getAllTexts(rootElement) { | |
| const treeWalker = document.createTreeWalker( | |
| rootElement, | |
| NodeFilter.SHOW_TEXT, | |
| { | |
| acceptNode: (node) => { | |
| if (node.nextElementSibling != null || (node.textContent.length <= 2 && node.textContent.search("\n") !== -1)) { | |
| return NodeFilter.FILTER_SKIP; | |
| } else { | |
| return NodeFilter.FILTER_ACCEPT; |
This file contains hidden or 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
| @use "sass:map"; | |
| @use "sass:list"; | |
| $theme: ( | |
| null: ( | |
| global: ( | |
| body: ( | |
| font-family: "'Inter', sans-serif", | |
| font-size: 1.4rem, | |
| font-weight: var(--global-font-weight-regular), |