ankle gredient

This commit is contained in:
hamid zarghami
2026-07-05 16:18:57 +03:30
parent 368cace143
commit 954ad48486
3 changed files with 32 additions and 17 deletions
@@ -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>