mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 09:11:21 +00:00
9f9127b093
Revert red colors back introduced by #2778 But do not use red color for text on dark background anywhere example: ![attels](https://github.com/woodpecker-ci/woodpecker/assets/165205/39f008fe-3d43-495f-b956-ea5bf4a5fa16)
18 lines
385 B
Vue
18 lines
385 B
Vue
<template>
|
|
<div
|
|
class="flex gap-2 items-center text-gray-700 font-bold rounded-md p-2 border border-solid border-l-6 border-wp-hint-warn-200 bg-wp-hint-warn-100"
|
|
>
|
|
<Icon v-if="!textOnly" name="warning" />
|
|
<slot>
|
|
<span>{{ text }}</span>
|
|
</slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
defineProps<{
|
|
textOnly?: boolean;
|
|
text: string;
|
|
}>();
|
|
</script>
|