background

This commit is contained in:
pat-s 2024-12-22 10:27:00 +01:00
parent 2e2491f119
commit b40f0c7505
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
4 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<span <span
class="bg-wp-code-inline-400 text-wp-text-code-inline-100 hover:bg-wp-code-inline-200 inline-block px-1.5 py-0.5 rounded-full min-w-5 font-bold text-center text-xs leading-4" class="bg-wp-code-inline-200 text-wp-text-code-inline-100 hover:bg-wp-code-inline-200 inline-block px-1.5 py-0.5 rounded-full min-w-5 font-bold text-center text-xs leading-4"
> >
{{ value }} {{ value }}
</span> </span>

View file

@ -59,7 +59,7 @@
<div <div
v-for="workflow in pipeline.workflows" v-for="workflow in pipeline.workflows"
:key="workflow.id" :key="workflow.id"
class="border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-600 shadow p-2 border rounded-md" class="border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-400 shadow p-2 border rounded-md"
> >
<div class="flex flex-col gap-2"> <div class="flex flex-col gap-2">
<div v-if="workflow.environ" class="flex flex-wrap justify-end gap-x-1 gap-y-2 pt-1 pr-1 text-xs"> <div v-if="workflow.environ" class="flex flex-wrap justify-end gap-x-1 gap-y-2 pt-1 pr-1 text-xs">

View file

@ -41,6 +41,7 @@
--wp-code-inline-100: theme('colors.gray.200'); --wp-code-inline-100: theme('colors.gray.200');
--wp-code-inline-200: theme('colors.gray.400'); --wp-code-inline-200: theme('colors.gray.400');
--wp-code-inline-text-100: theme('colors.gray.600'); --wp-code-inline-text-100: theme('colors.gray.600');
/* --wp-code-300: theme('colors.int-wp-secondary.300'); /* --wp-code-300: theme('colors.int-wp-secondary.300');
@ -100,13 +101,13 @@
--wp-hint-warn-200: theme('colors.int-wp-hint-warn-dark.200'); --wp-hint-warn-200: theme('colors.int-wp-hint-warn-dark.200');
--wp-code-inline-100: theme('colors.int-wp-secondary.700'); --wp-code-inline-100: theme('colors.int-wp-secondary.700');
--wp-code-inline-100: theme('colors.int-wp-secondary.800'); --wp-code-inline-200: theme('colors.int-wp-secondary.300');
--wp-code-inline-text-100: theme('colors.gray.300'); --wp-code-inline-text-100: theme('colors.gray.300');
--wp-code-100: theme('colors.int-wp-secondary.700'); /* #222631 */ --wp-code-100: theme('colors.int-wp-secondary.700'); /* #222631 */
--wp-code-200: theme('colors.int-wp-secondary.600'); /* #2a2e3a */ --wp-code-200: theme('colors.int-wp-secondary.600'); /* #2a2e3a */
--wp-code-300: theme('colors.int-wp-secondary.800'); /* #1B1F28 */ --wp-code-300: theme('colors.int-wp-secondary.800'); /* #1B1F28 */
--wp-code-400: theme('colors.int-wp-secondary.300'); /* #383c4a */
--wp-code-text-100: theme('colors.gray.200'); --wp-code-text-100: theme('colors.gray.200');
--wp-code-text-alt-100: theme('colors.gray.400'); --wp-code-text-alt-100: theme('colors.gray.400');

View file

@ -197,6 +197,7 @@ export default defineConfig({
'wp-code-inline': { 'wp-code-inline': {
100: 'var(--wp-code-inline-100)', 100: 'var(--wp-code-inline-100)',
200: 'var(--wp-code-inline-200)',
}, },
'wp-code-inline-text': { 'wp-code-inline-text': {
@ -207,7 +208,6 @@ export default defineConfig({
100: 'var(--wp-code-100)', 100: 'var(--wp-code-100)',
200: 'var(--wp-code-200)', 200: 'var(--wp-code-200)',
300: 'var(--wp-code-300)', 300: 'var(--wp-code-300)',
400: 'var(--wp-code-400)',
}, },
'wp-code-text': { 'wp-code-text': {