Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 16, 2024
1 parent 16032dd commit 13c7fcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions vizro-core/src/vizro/static/css/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ code.language-python.hljs {
font-family: unset;
}

.hljs-string, .hljs-params .hljs-string, .hljs-number {
.hljs-string,
.hljs-params .hljs-string,
.hljs-number {
color: var(--text-code-string);
font-family: unset;
}
Expand All @@ -18,7 +20,10 @@ code.language-python.hljs {
font-family: unset;
}

.hljs-title.function_, .hljs-meta, .hljs-built_in, .hljs-type {
.hljs-title.function_,
.hljs-meta,
.hljs-built_in,
.hljs-type {
color: var(--text-code-meta);
font-family: unset;
}
4 changes: 2 additions & 2 deletions vizro-core/src/vizro/static/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@
--inverse-color: invert(100%);
--text-code-string: #0a3069;
--text-code-keyword: #d12d39;
--text-code-meta: #6f42c1;
--text-code-type: #f69d50;
--text-code-meta: #6f42c1;
--text-code-type: #f69d50;
}

0 comments on commit 13c7fcb

Please sign in to comment.