diff --git a/vizro-core/docs/pages/explanation/authors.md b/vizro-core/docs/pages/explanation/authors.md index 8b38bae7c..56e3baa99 100644 --- a/vizro-core/docs/pages/explanation/authors.md +++ b/vizro-core/docs/pages/explanation/authors.md @@ -14,7 +14,7 @@ Vizro and Vizro-AI have received contributions from the following on GitHub: Thanks also to these contributors: -[Annie Wachsmuth](https://github.com/anniecwa), [ataraexia](https://github.com/ataraexia), [Bo Xu](https://github.com/boxuboxu), [Denis Lebedev](https://github.com/DenisLebedevMcK), [Elena Fridman](https://github.com/EllenWie), [Hamza Oza](https://github.com/hamzaoza), [Jenelle Yonkman](https://github.com/yonkmanjl), [Jingjing Guo](https://github.com/jjguo-mck), [Juan Luis Cano Rodríguez](https://github.com/astrojuanlu), [Kee Wen Ng](https://github.com/KeeWenNgQB), [Leon Nallamuthu](https://github.com/leonnallamuthu), [Nikolaos Tsaousis](https://github.com/tsanikgr), [Oleksandr Serdiuk](https://github.com/oserdiuk-lohika), [Prateek Bajaj](https://github.com/prateekdev552), [Qiuyi Chen](https://github.com/Qiuyi-Chen), and [Rashida Kanchwala](https://github.com/rashidakanchwala). +[Annie Wachsmuth](https://github.com/anniecwa), [ataraexia](https://github.com/ataraexia), [Ben Horsburgh](https://github.com/benhorsburgh), [Bo Xu](https://github.com/boxuboxu), [Denis Lebedev](https://github.com/DenisLebedevMcK), [Elena Fridman](https://github.com/EllenWie), [Hamza Oza](https://github.com/hamzaoza), [Jenelle Yonkman](https://github.com/yonkmanjl), [Jingjing Guo](https://github.com/jjguo-mck), [Juan Luis Cano Rodríguez](https://github.com/astrojuanlu), [Kee Wen Ng](https://github.com/KeeWenNgQB), [Leon Nallamuthu](https://github.com/leonnallamuthu), [Nikolaos Tsaousis](https://github.com/tsanikgr), [Oleksandr Serdiuk](https://github.com/oserdiuk-lohika), [Prateek Bajaj](https://github.com/prateekdev552), [Qiuyi Chen](https://github.com/Qiuyi-Chen), and [Rashida Kanchwala](https://github.com/rashidakanchwala). Many thanks to Sam Bourton and Kevin Staight for sponsorship, inspiration and guidance, and special appreciation to [Wesley Leong](https://github.com/wesleyleong), [Jonas Kemper](https://github.com/jonasrk) and team for origination and support (plus everyone else who helped to test, guide, support and encourage development). diff --git a/vizro-core/src/vizro/static/css/highlightjs.css b/vizro-core/src/vizro/static/css/highlightjs.css new file mode 100644 index 000000000..65f175b2f --- /dev/null +++ b/vizro-core/src/vizro/static/css/highlightjs.css @@ -0,0 +1,104 @@ +/* +The contents of this file define the color scheme for syntax highlighting using highlight.js. +Each CSS class corresponds to a specific syntactic element in the code being highlighted. +The colors are defined using CSS variables to ensure consistency with the overall theme. + +For example, this stylesheet applies to the text contents of a vm.Text element with the following contents: + +```python +x = 1 +``` +*/ + +.hljs { + color: var(--bs-primary); +} + +.hljs-doctag, +.hljs-keyword, +.hljs-meta .hljs-keyword, +.hljs-template-tag, +.hljs-template-variable, +.hljs-type, +.hljs-variable.language_ { + color: var(--sequentialRed-500); +} + +.hljs-title, +.hljs-title.class_, +.hljs-title.class_.inherited__, +.hljs-title.function_ { + color: var(--categorical-08Purple); +} + +.hljs-attr, +.hljs-attribute, +.hljs-literal, +.hljs-meta, +.hljs-number, +.hljs-operator, +.hljs-variable, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-selector-id { + color: var(--sequentialCyan-600); +} + +.hljs-regexp, +.hljs-string, +.hljs-meta .hljs-string { + color: var(--sequentialTeal-500); +} + +.hljs-built_in, +.hljs-symbol { + color: var(--sequentialRed-500); +} + +.hljs-comment, +.hljs-code, +.hljs-formula { + color: var(--bs-secondary); +} + +.hljs-name, +.hljs-quote, +.hljs-selector-tag, +.hljs-selector-pseudo { + color: var(--status-success); +} + +.hljs-subst { + color: var(--bs-secondary); +} + +.hljs-section { + color: var(--sequentialTeal-500); + font-weight: bold +} + +.hljs-bullet { + color: var(--sequentialYellow-800); +} + +.hljs-emphasis { + color: var(--bs-secondary); + font-style: italic +} + +.hljs-strong { + color: var(--bs-secondary); + font-weight: bold +} + +.hljs-addition { + background-color: var(--primary-100); + color: var(--status-success); +} + +.hljs-deletion { + background-color: var(--primary-100); + color: var(--status-error); +} + +/* .hljs-char.escape_, .hljs-link, .hljs-params, .hljs-property, .hljs-punctuation, .hljs-tag {} */