fix: Improve the contrast for the code snippet on the Widget Builder page. (#7758)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Liam
2023-08-18 20:44:30 +01:00
committed by GitHub
parent c54b469dcb
commit 2d31535620
2 changed files with 2 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ code {
background: $color-background;
border-radius: var(--border-radius-large);
padding: $space-two;
@apply bg-slate-50 dark:bg-slate-600 text-slate-800 dark:text-slate-100;
@apply bg-slate-50 dark:bg-slate-700 text-slate-800 dark:text-slate-100;
}
}

View File

@@ -455,9 +455,7 @@ export default {
}
}
.widget-script {
margin: 0 var(--space-two);
padding: var(--space-one);
background: var(--s-50);
@apply mx-5 p-2.5 bg-slate-50 dark:bg-slate-700;
}
}
</style>