downsize border-wp-background-500 to 400

This commit is contained in:
pat-s 2024-12-21 12:32:44 +01:00
parent ed53e183cd
commit 56c1ff7740
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
7 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
<component <component
:is="to ? 'router-link' : clickable ? 'button' : 'div'" :is="to ? 'router-link' : clickable ? 'button' : 'div'"
:to="to" :to="to"
class="flex border-wp-background-500 bg-wp-background-200 dark:bg-wp-background-300 p-4 border rounded-md w-full overflow-hidden" class="flex border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 p-4 border rounded-md w-full overflow-hidden"
:class="{ :class="{
'cursor-pointer hover:shadow-md hover:bg-wp-background-400 dark:hover:bg-wp-background-400': clickable || to, 'cursor-pointer hover:shadow-md hover:bg-wp-background-400 dark:hover:bg-wp-background-400': clickable || to,
}" }"

View file

@ -1,6 +1,6 @@
<template> <template>
<div <div
class="border-wp-background-500 bg-wp-background-200 dark:bg-wp-background-300 shadow border rounded-md w-full overflow-hidden" class="border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 shadow border rounded-md w-full overflow-hidden"
> >
<component <component
:is="collapsable ? 'button' : 'div'" :is="collapsable ? 'button' : 'div'"

View file

@ -1,6 +1,6 @@
<template> <template>
<header <header
class="border-wp-background-500 dark:border-wp-background-200 bg-wp-background-200 dark:bg-wp-background-400 border-b-1 text-wp-text-100" class="border-wp-background-400 dark:border-wp-background-200 bg-wp-background-200 dark:bg-wp-background-400 border-b-1 text-wp-text-100"
:class="{ 'md:px-4': fullWidth }" :class="{ 'md:px-4': fullWidth }"
> >
<Container :full-width="fullWidth" class="!py-0"> <Container :full-width="fullWidth" class="!py-0">

View file

@ -2,7 +2,7 @@
<aside <aside
v-if="isOpen" v-if="isOpen"
ref="target" ref="target"
class="z-50 flex flex-col items-center border-wp-background-500 bg-wp-background-200 dark:bg-wp-background-300 overflow-y-auto" class="z-50 flex flex-col items-center border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 overflow-y-auto"
:aria-label="$t('pipeline_feed')" :aria-label="$t('pipeline_feed')"
> >
<router-link <router-link
@ -12,7 +12,7 @@
name: 'repo-pipeline', name: 'repo-pipeline',
params: { repoId: pipeline.repo_id, pipelineId: pipeline.number }, params: { repoId: pipeline.repo_id, pipelineId: pipeline.number },
}" }"
class="flex border-wp-background-500 hover:bg-wp-background-400 dark:hover:bg-wp-background-500 hover:shadow-sm px-2 py-4 border-b w-full" class="flex border-wp-background-400 hover:bg-wp-background-400 dark:hover:bg-wp-background-500 hover:shadow-sm px-2 py-4 border-b w-full"
> >
<PipelineFeedItem :pipeline="pipeline" /> <PipelineFeedItem :pipeline="pipeline" />
</router-link> </router-link>

View file

@ -2,7 +2,7 @@
<router-link <router-link
v-if="repo" v-if="repo"
:to="{ name: 'repo', params: { repoId: repo.id } }" :to="{ name: 'repo', params: { repoId: repo.id } }"
class="flex flex-col border-wp-background-500 bg-wp-background-200 hover:bg-wp-background-400 dark:hover:bg-wp-background-400 dark:bg-wp-background-300 hover:shadow-md p-4 border rounded-md cursor-pointer overflow-hidden" class="flex flex-col border-wp-background-400 bg-wp-background-200 hover:bg-wp-background-400 dark:hover:bg-wp-background-400 dark:bg-wp-background-300 hover:shadow-md p-4 border rounded-md cursor-pointer overflow-hidden"
> >
<div class="items-center gap-y-4 grid grid-cols-[auto,1fr]"> <div class="items-center gap-y-4 grid grid-cols-[auto,1fr]">
<div class="text-lg text-wp-text-100">{{ `${repo.owner} / ${repo.name}` }}</div> <div class="text-lg text-wp-text-100">{{ `${repo.owner} / ${repo.name}` }}</div>

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="flex flex-col gap-2 pb-2 w-full md:w-3/12 md:min-w-xs md:max-w-md text-wp-text-100"> <div class="flex flex-col gap-2 pb-2 w-full md:w-3/12 md:min-w-xs md:max-w-md text-wp-text-100">
<div <div
class="flex flex-wrap flex-shrink-0 justify-between gap-1 border-wp-background-500 bg-wp-background-200 dark:bg-wp-background-300 p-4 border rounded-md" class="flex flex-wrap flex-shrink-0 justify-between gap-1 border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 p-4 border rounded-md"
> >
<div class="flex flex-shrink-0 items-center space-x-1"> <div class="flex flex-shrink-0 items-center space-x-1">
<div class="flex items-center"> <div class="flex items-center">
@ -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-500 bg-wp-background-200 dark:bg-wp-background-300 shadow p-2 border rounded-md" class="border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 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

@ -14,7 +14,7 @@
</Error> </Error>
<div <div
class="flex md:flex-row flex-col border-wp-background-500 bg-wp-background-200 dark:bg-wp-background-300 shadow md:m-8 border md:rounded-md w-full md:w-3xl md:h-sm overflow-hidden" class="flex md:flex-row flex-col border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-300 shadow md:m-8 border md:rounded-md w-full md:w-3xl md:h-sm overflow-hidden"
> >
<div class="flex justify-center items-center bg-wp-primary-200 dark:bg-wp-primary-300 md:w-3/5 min-h-48"> <div class="flex justify-center items-center bg-wp-primary-200 dark:bg-wp-primary-300 md:w-3/5 min-h-48">
<WoodpeckerLogo preserveAspectRatio="xMinYMin slice" class="w-30 md:w-48 h-30 md:h-48" /> <WoodpeckerLogo preserveAspectRatio="xMinYMin slice" class="w-30 md:w-48 h-30 md:h-48" />