1
0
Fork 0

wip(org): Tweaks to the design & showcase pages

This commit is contained in:
Joost De Cock 2022-06-07 21:35:01 +02:00
parent f9ee6e15f4
commit 778b294c83
4 changed files with 44 additions and 36 deletions

View file

@ -18,7 +18,7 @@ const topSvg = (color) => svg(color, "M0,0 L0,2 L 5,7 L 10,2 L10,0 z", 1)
const bottomSvg = (color) => svg(color, "M0,8 L0,6 L 5,1 L 10,6 L10,8 z", -1)
const style = { backgroundRepeat: 'repeat-x' }
const PinkedRibbon = ({ top='base', bottom='dark', loading=false, theme }) => {
const PinkedRibbon = ({ top='base', bottom='dark', loading=false, theme='light' }) => {
if (top === 'base') top = themes[theme].base
else if (top === 'dark') top = themes[theme].dark