feat: add Tailwind CSS reference to multiple components for styling consistency

This commit is contained in:
2026-05-04 20:32:24 -03:00
committed by hueso
parent 663a0bce46
commit af897e7dd4
27 changed files with 27 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ onMounted(async () => {
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center justify-center w-full mt-16;
}

View File

@@ -417,6 +417,7 @@ const handleSubmit = async (e: Event): Promise<void> => {
</template>
<style scoped>
@reference "tailwindcss";
.custom-divide {
width: 100%;
border-bottom: 1px solid #d1d5db;

View File

@@ -219,6 +219,7 @@ onUnmounted(() => {
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center justify-center w-full mt-16;
}

View File

@@ -37,6 +37,7 @@ const props = withDefaults(defineProps<Props>(), {
</template>
<style scoped>
@reference "tailwindcss";
.analytics-card {
@apply bg-white rounded-lg border border-gray-200 p-6 flex items-center justify-between shadow-lg;
}

View File

@@ -185,6 +185,7 @@ onMounted(() => {
</template>
<style scoped>
@reference "tailwindcss";
p {
@apply text-gray-900;
}

View File

@@ -131,6 +131,7 @@ const handleExplorerClick = () => {
</template>
<style scoped>
@reference "tailwindcss";
.item-container {
@apply flex justify-between items-center;
}

View File

@@ -305,6 +305,7 @@ const handleSelectedToken = (token: TokenEnum): void => {
</template>
<style scoped>
@reference "tailwindcss";
.custom-divide {
width: 100%;
border-bottom: 1px solid #d1d5db;

View File

@@ -129,6 +129,7 @@ const handleInputEvent = (event: any): void => {
</template>
<style scoped>
@reference "tailwindcss";
.custom-divide {
width: 100%;
border-bottom: 1px solid #d1d5db;

View File

@@ -59,6 +59,7 @@ const props = defineProps({
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center justify-center w-full mt-16;
}

View File

@@ -600,6 +600,7 @@ const handleMenuOptionClick = (option: MenuOption): void => {
</template>
<style scoped>
@reference "tailwindcss";
header {
@apply flex flex-row justify-between w-full items-center;
}

View File

@@ -161,6 +161,7 @@ watch(
</template>
<style scoped>
@reference "tailwindcss";
.amount-input-container {
@apply flex flex-col w-full gap-2;
}

View File

@@ -91,6 +91,7 @@ const selectBank = (bank: Bank) => {
</template>
<style scoped>
@reference "tailwindcss";
.bank-selector {
@apply relative w-full;
}

View File

@@ -64,6 +64,7 @@ const handleClick = () => {
</template>
<style scoped>
@reference "tailwindcss";
.button {
@apply rounded-lg font-semibold transition-all duration-200 cursor-pointer flex items-center justify-center gap-2;
}

View File

@@ -143,6 +143,7 @@ onClickOutside(dropdownRef, () => {
</template>
<style scoped>
@reference "tailwindcss";
.dropdown-container {
@apply relative inline-block;
}

View File

@@ -32,6 +32,7 @@ const colorClasses = {
</template>
<style scoped>
@reference "tailwindcss";
.error-message-container {
@apply flex w-full;
}

View File

@@ -28,6 +28,7 @@ const props = withDefaults(
</template>
<style scoped>
@reference "tailwindcss";
.form-card {
@apply flex flex-col bg-white rounded-lg;
}

View File

@@ -62,6 +62,7 @@ const handleClick = () => {
</template>
<style scoped>
@reference "tailwindcss";
.icon-button {
@apply flex items-center justify-center gap-2 font-medium rounded-lg transition-all duration-200 cursor-pointer;
}

View File

@@ -75,6 +75,7 @@ const toggleTooltip = () => {
</template>
<style scoped>
@reference "tailwindcss";
.info-tooltip-container {
@apply relative inline-block;
}

View File

@@ -38,6 +38,7 @@ const props = defineProps({
</template>
<style scoped>
@reference "tailwindcss";
.custom-divide {
width: 100%;
border-bottom: 1px solid #d1d5db;

View File

@@ -36,6 +36,7 @@ const sizeMap = {
</template>
<style scoped>
@reference "tailwindcss";
.loading-state {
@apply flex items-center gap-2;
}

View File

@@ -53,6 +53,7 @@ const networkData = computed(() => {
</template>
<style scoped>
@reference "tailwindcss";
.network-badges {
@apply flex gap-2 items-center;
}

View File

@@ -28,6 +28,7 @@ const props = withDefaults(
</template>
<style scoped>
@reference "tailwindcss";
.page-header {
@apply flex flex-col gap-4;
}

View File

@@ -43,6 +43,7 @@ const displayText = computed(() => {
</template>
<style scoped>
@reference "tailwindcss";
.status-badge {
@apply text-xs sm:text-base font-medium text-gray-900 rounded-lg text-center px-2 py-1;
}

View File

@@ -102,6 +102,7 @@ onClickOutside(menuRef, () => {
</template>
<style scoped>
@reference "tailwindcss";
.wallet-connect-container {
@apply relative inline-block;
}

View File

@@ -83,6 +83,7 @@ const openItem = (index: number) => {
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center justify-center w-full mt-8 sm:mt-16 px-4;
}

View File

@@ -119,6 +119,7 @@ watch(network, async () => {
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center gap-10 mt-20 w-full;
}

View File

@@ -84,6 +84,7 @@ const formatDate = (dateString: string): string => {
</template>
<style scoped>
@reference "tailwindcss";
.page {
@apply flex flex-col items-center justify-center w-full mt-16 px-4;
}