ankle gredient
This commit is contained in:
@@ -7,6 +7,7 @@ import { useSingleUpload } from '@/pages/uploader/hooks/useUploaderData'
|
||||
import ColorsImage from '@/assets/images/colors.png'
|
||||
import ColorPicker from '@/components/ColorPicker'
|
||||
import Select from '@/components/Select'
|
||||
import { toCssLinearGradient } from '../utils/gradient'
|
||||
|
||||
const PRESET_COLORS = [
|
||||
'#a8edcf',
|
||||
@@ -322,7 +323,7 @@ const SettingsPanel = () => {
|
||||
<div
|
||||
className="h-12 rounded-xl border border-border"
|
||||
style={{
|
||||
backgroundImage: `linear-gradient(${backgroundGradient.angle}deg, ${backgroundGradient.from} 0%, ${backgroundGradient.to} 100%)`,
|
||||
backgroundImage: toCssLinearGradient(backgroundGradient),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user