Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit 99a8a0a

Browse files
authored
Merge pull request #9 from vue-email/feat/style-component
feat: added style component
2 parents 6022a04 + 3ea3e0b commit 99a8a0a

File tree

4 files changed

+39
-92
lines changed

4 files changed

+39
-92
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"dependencies": {
5151
"@nuxt/kit": "^3.8.2",
5252
"defu": "^6.1.3",
53-
"vue-email": "0.8.4",
54-
"@vue-email/compiler": "0.8.3",
53+
"vue-email": "^0.8.5",
54+
"@vue-email/compiler": "^0.8.4",
5555
"sirv": "^2.0.3"
5656
},
5757
"devDependencies": {

playground/nuxt-layer/emails/github-access-token.vue

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defineProps({
99
})
1010
1111
const main = {
12-
backgroundColor: '#ffffff',
12+
// backgroundColor: '#ffffff',
1313
color: '#24292e',
1414
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',
1515
} as CSSProperties
@@ -65,7 +65,13 @@ const footer = {
6565

6666
<template>
6767
<EHtml>
68-
<EHead />
68+
<EHead>
69+
<EStyle>
70+
body {
71+
background-color: #f6f8fa;
72+
}
73+
</EStyle>
74+
</EHead>
6975
<EPreview> A fine-grained personal access token has been added to your account </EPreview>
7076
<EBody :style="main">
7177
<EContainer :style="container">

0 commit comments

Comments
 (0)