This repository was archived by the owner on Oct 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @supabase/auth-ui-svelte ' : patch
3+ ' @supabase/auth-ui-solid ' : patch
4+ ---
5+
6+ Message styling change
Original file line number Diff line number Diff line change @@ -5,17 +5,24 @@ import { Appearance } from '../../types'
55
66const messageDefaultStyles = css ( {
77 fontFamily : '$bodyFontFamily' ,
8- fontSize : '$baseBodySize ' ,
8+ fontSize : '$baseInputSize ' ,
99 marginBottom : '$labelBottomMargin' ,
1010 display : 'block' ,
1111 textAlign : 'center' ,
12+ borderRadius : '0.375rem' ,
13+ padding : '1.5rem 1rem' ,
14+ lineHeight : '1rem' ,
1215 variants : {
1316 color : {
1417 default : {
1518 color : '$messageText' ,
19+ backgroundColor : '$messageBackground' ,
20+ border : '1px solid $messageBorder' ,
1621 } ,
1722 danger : {
1823 color : '$messageTextDanger' ,
24+ backgroundColor : '$messageBackgroundDanger' ,
25+ border : '1px solid $messageBorderDanger' ,
1926 } ,
2027 } ,
2128 } ,
Original file line number Diff line number Diff line change 55
66 const messageDefaultStyles = css ({
77 fontFamily: ' $bodyFontFamily' ,
8- fontSize: ' $baseBodySize ' ,
8+ fontSize: ' $baseInputSize ' ,
99 marginBottom: ' $labelBottomMargin' ,
1010 display: ' block' ,
1111 textAlign: ' center' ,
12+ borderRadius: ' 0.375rem' ,
13+ padding: ' 1.5rem 1rem' ,
14+ lineHeight: ' 1rem' ,
1215 variants: {
1316 color: {
1417 default: {
15- color: ' $messageText'
18+ color: ' $messageText' ,
19+ backgroundColor: ' $messageBackground' ,
20+ border: ' 1px solid $messageBorder'
1621 },
1722 danger: {
18- color: ' $messageTextDanger'
23+ color: ' $messageTextDanger' ,
24+ backgroundColor: ' $messageBackgroundDanger' ,
25+ border: ' 1px solid $messageBorderDanger'
1926 }
2027 }
2128 }
You can’t perform that action at this time.
0 commit comments