mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-30 16:09:40 +00:00
refine inlince code colors
This commit is contained in:
parent
6bcdef0974
commit
4daa112953
2 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
@mouseover="showActions = true"
|
||||
@mouseleave="showActions = false"
|
||||
>
|
||||
<div class="<md:fixed <md:top-0 <md:left-0 flex flex-row items-center w-full bg-wp-code-200 px-4 py-2">
|
||||
<div class="<md:fixed <md:top-0 <md:left-0 flex flex-row items-center w-full bg-wp-code-100 px-4 py-2">
|
||||
<span class="font-bold text-base text-wp-code-text-alt-100">
|
||||
<span class="<md:hidden">{{ $t('repo.pipeline.log_title') }}</span>
|
||||
<span class="md:hidden">{{ step?.name }}</span>
|
||||
|
|
|
@ -97,14 +97,14 @@
|
|||
--wp-hint-warn-100: theme('colors.int-wp-hint-warn-dark.100');
|
||||
--wp-hint-warn-200: theme('colors.int-wp-hint-warn-dark.200');
|
||||
|
||||
--wp-code-inline-100: theme('colors.gray.200');
|
||||
--wp-code-inline-text-100: theme('colors.int-wp-secondary.800');
|
||||
--wp-code-inline-100: theme('colors.int-wp-secondary.600');
|
||||
--wp-code-inline-text-100: theme('colors.gray.300');
|
||||
|
||||
--wp-code-100: theme('colors.int-wp-secondary.300'); /* #383c4a */
|
||||
--wp-code-200: theme('colors.int-wp-secondary.600'); /* #2a2e3a */
|
||||
--wp-code-300: theme('colors.int-wp-secondary.800');
|
||||
|
||||
--wp-code-text-100: theme('colors.gray.300');
|
||||
--wp-code-text-100: theme('colors.gray.200');
|
||||
--wp-code-text-alt-100: theme('colors.gray.400');
|
||||
|
||||
--wp-link-100: theme('colors.blue.400');
|
||||
|
@ -157,7 +157,7 @@ body,
|
|||
}
|
||||
|
||||
.code-box {
|
||||
@apply bg-wp-code-200 p-4 rounded-md text-sm text-wp-text-100 break-words;
|
||||
@apply bg-wp-code-200 p-4 rounded-md text-sm text-wp-code-text-100 break-words;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue