Skip to content

Commit 94aa062

Browse files
committed
fix: update gradient and styling for glass highlight effect in EffectStory
1 parent d6585ed commit 94aa062

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

apps/demo/src/App.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,22 +119,22 @@ const STORIES: EffectStory[] = [
119119
previewElement: 'article',
120120
previewStyle: {
121121
background:
122-
'linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 52%, rgba(15, 23, 42, 0.98) 100%)',
123-
color: '#e2e8f0',
124-
border: '1px solid rgba(148, 163, 184, 0.22)',
122+
'radial-gradient(circle at 86% 14%, rgba(196, 181, 253, 0.16), transparent 24%), linear-gradient(155deg, rgba(17, 24, 39, 0.98) 0%, rgba(26, 34, 69, 0.94) 42%, rgba(15, 23, 42, 0.98) 100%)',
123+
color: '#eef2ff',
124+
border: '1px solid rgba(167, 139, 250, 0.28)',
125125
boxShadow:
126-
'0 18px 48px rgba(15, 23, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04)',
126+
'0 18px 48px rgba(8, 15, 31, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05)',
127127
} as CSSProperties,
128128
hook: useGlassHighlightStoryHook,
129129
defaults: {
130-
color: '#a855f7',
131-
edgeOpacity: 0.3,
132-
sheenOpacity: 0.44,
133-
tintOpacity: 0.56,
134-
angle: '132deg',
130+
color: '#c084fc',
131+
edgeOpacity: 0.26,
132+
sheenOpacity: 0.28,
133+
tintOpacity: 0.24,
134+
angle: '118deg',
135135
blur: 0,
136136
inset: 0,
137-
saturate: 1.85,
137+
saturate: 1.22,
138138
},
139139
controls: [
140140
{ key: 'color', label: 'Color', type: 'color' },

0 commit comments

Comments
 (0)