@codecademy/gamut

72.3.072.3.1-alpha.f273fd.0
CardShells.tsx
+CardShells.tsxNew file
+20
Index: CardShells.tsx
===================================================================
--- CardShells.tsx
+++ CardShells.tsx
@@ -0,0 +1,20 @@
+import { Box } from '@codecademy/gamut';
+import { css } from '@codecademy/gamut-styles';
+import styled from '@emotion/styled';
+
+// A plain flex/spacing wrapper -- every property here has a direct system-prop
+// equivalent on Box/FlexBox.
+export const CardShell = styled(Box)`
+  display: flex;
+  flex-direction: column;
+  padding: 16px;
+`;
+
+// A decorative glow -- the gradient isn't expressible as a prop, but the
+// padding alongside it is.
+export const GlowShell = styled(Box)(
+  css({
+    background: 'radial-gradient(circle, #3A10E5 0%, transparent 100%)',
+    padding: 24,
+  })
+);