diff --git a/app/assets/css/tailwind.css b/app/assets/css/tailwind.css index 0f90bc1..caa50b4 100644 --- a/app/assets/css/tailwind.css +++ b/app/assets/css/tailwind.css @@ -1,6 +1,24 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import 'tailwindcss'; + +@config '../../../tailwind.config.ts'; + +/* + The default border color has changed to `currentcolor` in Tailwind CSS v4, + so we've added these compatibility styles to make sure everything still + looks the same as it did with Tailwind CSS v3. + + If we ever want to remove these styles, we need to add an explicit border + color utility to any element that depends on these defaults. +*/ +@layer base { + *, + ::after, + ::before, + ::backdrop, + ::file-selector-button { + border-color: var(--color-gray-200, currentcolor); + } +} @layer base { html { diff --git a/app/components/BubbleTitle.vue b/app/components/BubbleTitle.vue index 648c983..e855c34 100644 --- a/app/components/BubbleTitle.vue +++ b/app/components/BubbleTitle.vue @@ -30,7 +30,7 @@ const props = defineProps({

{{ title }}

@@ -43,7 +43,7 @@ const props = defineProps({
diff --git a/app/components/DigitalHumanTrainCreator.vue b/app/components/DigitalHumanTrainCreator.vue index f9a00b0..36a64a2 100644 --- a/app/components/DigitalHumanTrainCreator.vue +++ b/app/components/DigitalHumanTrainCreator.vue @@ -477,7 +477,7 @@ const showAuthModal = ref(false)
确保光线充足,避免背光 @@ -486,7 +486,7 @@ const showAuthModal = ref(false)
选择安静环境,减少噪音干扰 @@ -495,7 +495,7 @@ const showAuthModal = ref(false)
人脸占画面比例控制在 1/4 以内 @@ -504,7 +504,7 @@ const showAuthModal = ref(false)
保持自然表情,使用恰当手势 diff --git a/app/components/GradientDivider.vue b/app/components/GradientDivider.vue index 4604951..b4b2255 100644 --- a/app/components/GradientDivider.vue +++ b/app/components/GradientDivider.vue @@ -18,12 +18,12 @@ const props = defineProps({ diff --git a/app/components/ImagePlaceholder.vue b/app/components/ImagePlaceholder.vue index 9936517..72a429e 100644 --- a/app/components/ImagePlaceholder.vue +++ b/app/components/ImagePlaceholder.vue @@ -36,6 +36,6 @@ const size = computed(() => { diff --git a/app/components/ModalAuthentication.vue b/app/components/ModalAuthentication.vue index 549aa31..ae3352e 100644 --- a/app/components/ModalAuthentication.vue +++ b/app/components/ModalAuthentication.vue @@ -585,7 +585,7 @@ const onForgetPasswordSubmit = ( .pin-input { @apply w-full md:w-16 aspect-square rounded text-center shadow caret-transparent; - @apply outline-0 ring-indigo-500 focus:ring font-bold; + @apply outline-0 ring-indigo-500 focus:ring-3 font-bold; } .pin-label { diff --git a/app/components/aigc/RatioSelector.vue b/app/components/aigc/RatioSelector.vue index 8370ed2..0fd2b5b 100644 --- a/app/components/aigc/RatioSelector.vue +++ b/app/components/aigc/RatioSelector.vue @@ -68,7 +68,7 @@ const getShapeSize = (r: { w: number; h: number }, size: number) => { :class="[ratio.value === selected && 'bg-sky-200/50 dark:bg-sky-700/50']" >
{