Skip to content

Commit e80fb96

Browse files
committed
fix: update the shadows option to using hex
1 parent e72b8e7 commit e80fb96

File tree

1 file changed

+11
-11
lines changed
  • src/block-components/typography

1 file changed

+11
-11
lines changed

src/block-components/typography/edit.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ import { useSelect } from '@wordpress/data'
3434

3535
const TYPOGRAPHY_SHADOWS = [
3636
'none',
37-
'2px 2px 4px rgba(0, 0, 0, 0.2)',
38-
'6px 6px 4px rgba(120, 120, 120, 0.2)',
39-
'2px 4px 5px rgba(0, 0, 0, 0.4)',
40-
'0px 0px 5px rgba(0, 0, 0, 0.4)',
41-
'4px 4px 0px rgba(0, 0, 0, 1)',
42-
'0px 15px 14px rgba(18, 63, 82, 0.3)',
43-
'25px 10px 14px rgba(18, 63, 82, 0.3)',
44-
'25px 10px 30px rgba(18, 63, 82, 0.3)',
45-
'0px 0px 40px rgba(18, 63, 82, 0.6)',
46-
'0px 0px 62px rgba(71, 73, 79, 1)',
47-
'0px 0px 100px rgba(71, 73, 79, 1)',
37+
'2px 2px 4px #00000033',
38+
'6px 6px 4px #78787833',
39+
'2px 4px 5px #00000066',
40+
'0px 0px 5px #00000066',
41+
'4px 4px 0px #000000ff',
42+
'0px 15px 14px #123f524c',
43+
'25px 10px 14px #123f524c',
44+
'25px 10px 30px #123f524c',
45+
'0px 0px 40px #123f5299',
46+
'0px 0px 62px #47494fff',
47+
'0px 0px 100px #47494fff',
4848
]
4949

5050
const GRADIENT_OPTIONS = [

0 commit comments

Comments
 (0)