mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-14 09:24:23 +01:00
📝 Write documentation
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
:class="popover.color"></div>
|
||||
<div class="flex-col">
|
||||
<p>
|
||||
{{ popover.color.replace(/-/g, '_').toUpperCase() }}
|
||||
{{ popover.color.replace(/bg-/g, '').replace(/-/g, '_').toUpperCase() }}
|
||||
</p>
|
||||
<div class="mt-3 flex space-x-7">
|
||||
<button
|
||||
@@ -75,7 +75,10 @@ function handleChoose (color: string) {
|
||||
|
||||
function handleCopy () {
|
||||
navigator.clipboard.writeText(
|
||||
popover.color.replace(/-/g, '_').toUpperCase()
|
||||
popover.color
|
||||
.replace(/-/g, '_')
|
||||
.toUpperCase()
|
||||
.replace(/BG_/g, '')
|
||||
)
|
||||
popover.show = false
|
||||
popover.color = null
|
||||
|
||||
Reference in New Issue
Block a user