mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Compare commits
1 Commits
dark-texta
...
dark-bread
| Author | SHA1 | Date | |
|---|---|---|---|
| ab998dec1c |
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<nav>
|
<nav>
|
||||||
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset">
|
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset dark:text-gray-400">
|
||||||
<slot />
|
<slot />
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
font-medium
|
font-medium
|
||||||
leading-5
|
leading-5
|
||||||
text-gray-900
|
text-gray-900
|
||||||
|
dark:text-gray-400
|
||||||
outline-none
|
outline-none
|
||||||
|
dark:focus:ring-offset-gray-900
|
||||||
focus:ring-2 focus:ring-offset-2 focus:ring-primary-400
|
focus:ring-2 focus:ring-offset-2 focus:ring-primary-400
|
||||||
"
|
"
|
||||||
:to="to"
|
:to="to"
|
||||||
|
|||||||
@ -39,7 +39,7 @@ const props = defineProps({
|
|||||||
inputClass: {
|
inputClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default:
|
default:
|
||||||
'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:placeholder-gray-500',
|
'font-base block w-full sm:text-sm border-gray-200 rounded-md text-black',
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@ -86,7 +86,7 @@ const currencyBindings = computed(() => {
|
|||||||
|
|
||||||
const invalidClass = computed(() => {
|
const invalidClass = computed(() => {
|
||||||
if (props.invalid) {
|
if (props.invalid) {
|
||||||
return 'border-red-500 dark:border-red-500 ring-red-500 dark:ring-red-500 focus:ring-red-500 dark:focus:ring-red-500 focus:border-red-500 dark:focus:border-red-500'
|
return 'border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500'
|
||||||
}
|
}
|
||||||
return 'focus:ring-primary-400 focus:border-primary-400'
|
return 'focus:ring-primary-400 focus:border-primary-400'
|
||||||
})
|
})
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-wrap justify-between">
|
<div class="flex flex-wrap justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-2xl font-bold text-left text-black">
|
<h3 class="text-2xl font-bold text-left text-black dark:text-white">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</h3>
|
</h3>
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
@ -45,7 +45,7 @@ const props = defineProps({
|
|||||||
defaultInputClass: {
|
defaultInputClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default:
|
default:
|
||||||
'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 dark:border-gray-600 border-solid rounded outline-none dark:bg-gray-700 dark:text-white',
|
'box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-none',
|
||||||
},
|
},
|
||||||
autosize: {
|
autosize: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user