-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from ojvribeiro/fix-remove-default-dark-style
fix(template): remove default hard-coded dark styles
- Loading branch information
Showing
3 changed files
with
52 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<div class="p-6 space-y-6 bg-zinc-800 text-white h-full"> | ||
<h1 class="text-5xl">Home</h1> | ||
|
||
<MyComponent /> | ||
|
||
<p>And some <Link to="/test-page">Test Page</Link></p> | ||
<p>And some <Link to="/non-existing-page">404 page</Link></p> | ||
</div> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
// Importing Sass utilities | ||
@import '@/assets/sass/utils'; | ||
h1 { | ||
color: #d43d3d; | ||
// Using breakpoint based media-queries | ||
@include media(sm) { | ||
color: #3b3bcc; | ||
} | ||
@include media(md) { | ||
color: #ff0062; | ||
} | ||
@include media(lg) { | ||
color: #c78800; | ||
} | ||
@include media(xl) { | ||
color: #00a767; | ||
} | ||
@include media('2xl') { | ||
color: #c850cc; | ||
} | ||
@include media('3xl') { | ||
// Using the `color` function to get a color | ||
// from the ./assets/sass/_variables.scss color palette. | ||
color: color(sample-gold-400); | ||
} | ||
} | ||
a { | ||
@apply text-blue-400; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
|
||
html, | ||
body { | ||
background-color: #222; | ||
color: #fff; | ||
height: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,3 @@ | ||
<template> | ||
<div class="p-6 space-y-6"> | ||
<h1 class="text-5xl">Home</h1> | ||
|
||
<MyComponent /> | ||
|
||
<p>And some <Link to="/test-page">Test Page</Link></p> | ||
<p>And some <Link to="/non-existing-page">404 page</Link></p> | ||
</div> | ||
<VulmixWelcome /> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
// Importing Sass utilities | ||
@import '@/assets/sass/utils'; | ||
h1 { | ||
color: #d43d3d; | ||
// Using breakpoint based media-queries | ||
@include media(sm) { | ||
color: #3b3bcc; | ||
} | ||
@include media(md) { | ||
color: #ff0062; | ||
} | ||
@include media(lg) { | ||
color: #c78800; | ||
} | ||
@include media(xl) { | ||
color: #00a767; | ||
} | ||
@include media('2xl') { | ||
color: #c850cc; | ||
} | ||
@include media('3xl') { | ||
// Using the `color` function to get a color | ||
// from the ./assets/sass/_variables.scss color palette. | ||
color: color(sample-gold-400); | ||
} | ||
} | ||
a { | ||
@apply text-blue-400; | ||
} | ||
</style> |
1066d4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
vulmix – ./
vulmix-ojvribeiro.vercel.app
vulmix.vercel.app
vulmix-git-main-ojvribeiro.vercel.app