Skip to content
代码片段 群组 项目
提交 fa71ce4e 编辑于 作者: Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
浏览文件

Fix box-shadow colors in Tailwind

The `gl-shadow` stopped working after the switch to Tailwind because the
shadow color is defined as an `rgba` value when it should be a hex color
code. This fixes it.

Changelog: fixed
上级 d0404628
No related branches found
No related tags found
无相关合并请求
...@@ -91,7 +91,7 @@ module.exports = { ...@@ -91,7 +91,7 @@ module.exports = {
boxShadow: { boxShadow: {
none: 'none', none: 'none',
// TODO: I don't think we have a --t-gray matching class... --t-gray-a-24 seems close // TODO: I don't think we have a --t-gray matching class... --t-gray-a-24 seems close
DEFAULT: '0 1px 4px 0 rgba(#000, 0.3)', DEFAULT: '0 1px 4px 0 #0000004d',
sm: '0 1px 2px var(--t-gray-a-08, #1f1e2414)', sm: '0 1px 2px var(--t-gray-a-08, #1f1e2414)',
md: '0 2px 8px var(--t-gray-a-16, #1f1e2429), 0 0 2px var(--t-gray-a-16, #1f1e2429)', md: '0 2px 8px var(--t-gray-a-16, #1f1e2429), 0 0 2px var(--t-gray-a-16, #1f1e2429)',
lg: '0 4px 12px var(--t-gray-a-16, #1f1e2429), 0 0 4px var(--t-gray-a-16, #1f1e2429)', lg: '0 4px 12px var(--t-gray-a-16, #1f1e2429), 0 0 4px var(--t-gray-a-16, #1f1e2429)',
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册