forked from dra-ft/supercut-x-padma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2378021
commit e3b9c38
Showing
9 changed files
with
125 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,36 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
.green-underline { | ||
@apply underline underline-offset-2 decoration-green-300 decoration-2; | ||
} | ||
|
||
.header-text { | ||
@apply text-sm text-gray-500 dark:text-white placeholder:text-slate-400 dark:placeholder:text-slate-400; | ||
} | ||
|
||
.header-button { | ||
@apply rounded-full px-2 py-0.5 text-sm border border-green-300 bg-white dark:bg-transparent text-green-300; | ||
} | ||
|
||
/* for yellow color on selection in dark mode | ||
@layer components { | ||
.inputDarkModeOverride { | ||
&:-webkit-autofill { | ||
box-shadow: 0 0 0 30px #1c1c1d inset; | ||
} | ||
@tailwind components; | ||
@tailwind utilities; | ||
&:-webkit-autofill:hover { | ||
box-shadow: 0 0 0 30px #1c1c1d inset; | ||
} | ||
&:-webkit-autofill:focus { | ||
box-shadow: 0 0 0 30px #1c1c1d inset; | ||
} | ||
&:-webkit-autofill:active { | ||
box-shadow: 0 0 0 30px #1c1c1d inset; | ||
} | ||
} | ||
} */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<script setup> | ||
import { ref, watchEffect } from 'vue'; | ||
const props = defineProps({ | ||
character: { | ||
type: String | ||
} | ||
}) | ||
const len = ref(0) | ||
watchEffect(() => { | ||
if(len.value == 3) { | ||
setTimeout(() => { | ||
len.value = 0 | ||
}, 500) | ||
} | ||
else if (len.value >= 0) { | ||
setTimeout(() => { | ||
len.value = len.value + 1 | ||
}, 500) | ||
} | ||
}) | ||
</script> | ||
|
||
<template> | ||
<span class="header-text"> | ||
<span v-for="l in len">{{ character ?? '.' }}</span> | ||
</span> | ||
|
||
|
||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters