feat: add Tailwind CSS reference to multiple components for styling consistency
This commit is contained in:
@@ -132,6 +132,7 @@ onMounted(async () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center justify-center w-full mt-16;
|
@apply flex flex-col items-center justify-center w-full mt-16;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -417,6 +417,7 @@ const handleSubmit = async (e: Event): Promise<void> => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.custom-divide {
|
.custom-divide {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid #d1d5db;
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|||||||
@@ -219,6 +219,7 @@ onUnmounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center justify-center w-full mt-16;
|
@apply flex flex-col items-center justify-center w-full mt-16;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.analytics-card {
|
.analytics-card {
|
||||||
@apply bg-white rounded-lg border border-gray-200 p-6 flex items-center justify-between shadow-lg;
|
@apply bg-white rounded-lg border border-gray-200 p-6 flex items-center justify-between shadow-lg;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ onMounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
p {
|
p {
|
||||||
@apply text-gray-900;
|
@apply text-gray-900;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ const handleExplorerClick = () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.item-container {
|
.item-container {
|
||||||
@apply flex justify-between items-center;
|
@apply flex justify-between items-center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -305,6 +305,7 @@ const handleSelectedToken = (token: TokenEnum): void => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.custom-divide {
|
.custom-divide {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid #d1d5db;
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ const handleInputEvent = (event: any): void => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.custom-divide {
|
.custom-divide {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid #d1d5db;
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ const props = defineProps({
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center justify-center w-full mt-16;
|
@apply flex flex-col items-center justify-center w-full mt-16;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -600,6 +600,7 @@ const handleMenuOptionClick = (option: MenuOption): void => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
header {
|
header {
|
||||||
@apply flex flex-row justify-between w-full items-center;
|
@apply flex flex-row justify-between w-full items-center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,6 +161,7 @@ watch(
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.amount-input-container {
|
.amount-input-container {
|
||||||
@apply flex flex-col w-full gap-2;
|
@apply flex flex-col w-full gap-2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ const selectBank = (bank: Bank) => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.bank-selector {
|
.bank-selector {
|
||||||
@apply relative w-full;
|
@apply relative w-full;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ const handleClick = () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.button {
|
.button {
|
||||||
@apply rounded-lg font-semibold transition-all duration-200 cursor-pointer flex items-center justify-center gap-2;
|
@apply rounded-lg font-semibold transition-all duration-200 cursor-pointer flex items-center justify-center gap-2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ onClickOutside(dropdownRef, () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.dropdown-container {
|
.dropdown-container {
|
||||||
@apply relative inline-block;
|
@apply relative inline-block;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ const colorClasses = {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.error-message-container {
|
.error-message-container {
|
||||||
@apply flex w-full;
|
@apply flex w-full;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ const props = withDefaults(
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.form-card {
|
.form-card {
|
||||||
@apply flex flex-col bg-white rounded-lg;
|
@apply flex flex-col bg-white rounded-lg;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ const handleClick = () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.icon-button {
|
.icon-button {
|
||||||
@apply flex items-center justify-center gap-2 font-medium rounded-lg transition-all duration-200 cursor-pointer;
|
@apply flex items-center justify-center gap-2 font-medium rounded-lg transition-all duration-200 cursor-pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ const toggleTooltip = () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.info-tooltip-container {
|
.info-tooltip-container {
|
||||||
@apply relative inline-block;
|
@apply relative inline-block;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ const props = defineProps({
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.custom-divide {
|
.custom-divide {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid #d1d5db;
|
border-bottom: 1px solid #d1d5db;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ const sizeMap = {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.loading-state {
|
.loading-state {
|
||||||
@apply flex items-center gap-2;
|
@apply flex items-center gap-2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ const networkData = computed(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.network-badges {
|
.network-badges {
|
||||||
@apply flex gap-2 items-center;
|
@apply flex gap-2 items-center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ const props = withDefaults(
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page-header {
|
.page-header {
|
||||||
@apply flex flex-col gap-4;
|
@apply flex flex-col gap-4;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ const displayText = computed(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.status-badge {
|
.status-badge {
|
||||||
@apply text-xs sm:text-base font-medium text-gray-900 rounded-lg text-center px-2 py-1;
|
@apply text-xs sm:text-base font-medium text-gray-900 rounded-lg text-center px-2 py-1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ onClickOutside(menuRef, () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.wallet-connect-container {
|
.wallet-connect-container {
|
||||||
@apply relative inline-block;
|
@apply relative inline-block;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ const openItem = (index: number) => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center justify-center w-full mt-8 sm:mt-16 px-4;
|
@apply flex flex-col items-center justify-center w-full mt-8 sm:mt-16 px-4;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ watch(network, async () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center gap-10 mt-20 w-full;
|
@apply flex flex-col items-center gap-10 mt-20 w-full;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ const formatDate = (dateString: string): string => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@reference "tailwindcss";
|
||||||
.page {
|
.page {
|
||||||
@apply flex flex-col items-center justify-center w-full mt-16 px-4;
|
@apply flex flex-col items-center justify-center w-full mt-16 px-4;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user