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