PEE/src/Components/SettingsButton.svelte

27 lines
442 B
Svelte
Raw Normal View History

2022-01-04 15:36:43 +00:00
<script lang="ts">
let visible = false;
function opensettings() {
visible = !visible
2022-01-04 16:17:22 +00:00
document.dispatchEvent(new CustomEvent("penis"));
2022-01-04 15:36:43 +00:00
}
</script>
<span class="clickable" class:glow={visible} on:click={() => opensettings()}>
[PEE Settings]
</span>
<style scoped>
.glow {
text-shadow: 0 0 4px red;
}
.clickable {
cursor: pointer;
}
.clickable:hover {
2022-01-05 01:14:23 +00:00
text-shadow: 0 0 4px palevioletred;
2022-01-04 15:36:43 +00:00
}
</style>