Skip to content

Commit

Permalink
chore: 改成rgba,更美观
Browse files Browse the repository at this point in the history
  • Loading branch information
张宁宁 committed Jul 28, 2023
1 parent 086a1d3 commit 7b629fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/image-viewer/demos/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ const Multi = () => {
const ColorfulMulti = () => {
const [visible, setVisible] = useState(false)
const [index, setIndex] = useState(1)
const colors = ['#7DEBC7', '#EEB43F', '#BA72E8']
const colors = [
'rgba(164,255,164,.7)',
'rgba(255,204,0,.7)',
'rgba(186,114,232,.7)',
]
return (
<>
<Button
Expand Down

0 comments on commit 7b629fa

Please sign in to comment.