Skip to content

Commit

Permalink
feat(ui-core): mobile error should also have border (#16743)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and jonnigs committed Nov 26, 2024
1 parent ae25085 commit 5759673
Showing 1 changed file with 15 additions and 27 deletions.
42 changes: 15 additions & 27 deletions libs/island-ui/core/src/lib/ProblemTemplate/ProblemTemplate.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,30 @@ import { recipe } from '@vanilla-extract/recipes'

export const problemTemplateContainer = recipe({
base: {
...themeUtils.responsiveStyle({
md: {
borderWidth: theme.border.width.standard,
borderRadius: theme.border.radius.xl,
},
}),
borderWidth: theme.border.width.standard,
borderRadius: theme.border.radius.xl,
},
variants: {
red: {
true: themeUtils.responsiveStyle({
md: {
borderColor: theme.color.red200,
},
}),
true: {
borderColor: theme.color.red200,
},
},
blue: {
true: themeUtils.responsiveStyle({
md: {
borderColor: theme.color.blue200,
},
}),
true: {
borderColor: theme.color.blue200,
},
},
yellow: {
true: themeUtils.responsiveStyle({
md: {
borderColor: theme.color.yellow400,
},
}),
true: {
borderColor: theme.color.yellow400,
},
},
noBorder: {
true: themeUtils.responsiveStyle({
md: {
borderWidth: 0,
borderRadius: 0,
},
}),
true: {
borderWidth: 0,
borderRadius: 0,
},
},
},
})
Expand Down

0 comments on commit 5759673

Please sign in to comment.