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

Commit

Permalink
feat: added style component
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowko committed Dec 23, 2023
1 parent 6022a04 commit 3ea3e0b
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 92 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"dependencies": {
"@nuxt/kit": "^3.8.2",
"defu": "^6.1.3",
"vue-email": "0.8.4",
"@vue-email/compiler": "0.8.3",
"vue-email": "^0.8.5",
"@vue-email/compiler": "^0.8.4",
"sirv": "^2.0.3"
},
"devDependencies": {
Expand Down
10 changes: 8 additions & 2 deletions playground/nuxt-layer/emails/github-access-token.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defineProps({
})
const main = {
backgroundColor: '#ffffff',
// backgroundColor: '#ffffff',
color: '#24292e',
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',
} as CSSProperties
Expand Down Expand Up @@ -65,7 +65,13 @@ const footer = {

<template>
<EHtml>
<EHead />
<EHead>
<EStyle>
body {
background-color: #f6f8fa;
}
</EStyle>
</EHead>
<EPreview> A fine-grained personal access token has been added to your account </EPreview>
<EBody :style="main">
<EContainer :style="container">
Expand Down
Loading

0 comments on commit 3ea3e0b

Please sign in to comment.