-
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.
scss への置き換え / ダークモード対応 / トップページデザイン改修
- Loading branch information
Showing
11 changed files
with
102 additions
and
144 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
This file was deleted.
Oops, something went wrong.
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,40 @@ | ||
/* color palette from <https://github.com/vuejs/theme> */ | ||
:root { | ||
color: $color-text; | ||
background-color: $color-background; | ||
|
||
@include dark { | ||
color: $color-text-dark; | ||
background-color: $color-background-dark; | ||
} | ||
} | ||
|
||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
font-weight: normal; | ||
} | ||
|
||
body { | ||
min-height: 100vh; | ||
line-height: 1.6; | ||
font-family: | ||
Inter, | ||
-apple-system, | ||
BlinkMacSystemFont, | ||
'Segoe UI', | ||
Roboto, | ||
Oxygen, | ||
Ubuntu, | ||
Cantarell, | ||
'Fira Sans', | ||
'Droid Sans', | ||
'Helvetica Neue', | ||
sans-serif; | ||
font-size: 15px; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} |
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
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
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
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
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,34 @@ | ||
// ライトモード | ||
$color-primary: #005bac; | ||
$color-primary-text: #eff0f0; | ||
|
||
$color-secondary: #b2bdc7; | ||
$color-secondary-text: #333e47; | ||
|
||
$color-background: #ffffff; | ||
$color-text: #000000; | ||
|
||
// ダークモード | ||
$color-primary-dark: #005bac; | ||
$color-primary-text-dark: #eff0f0; | ||
|
||
$color-secondary-dark: #b2bdc7; | ||
$color-secondary-text-dark: #333e47; | ||
|
||
$color-background-dark: #000000; | ||
$color-text-dark: #ffffff; | ||
|
||
// スマホ対応 | ||
$sp: 768px; | ||
|
||
@mixin sp { | ||
@media screen and (max-width: $sp) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin dark { | ||
@media screen and (prefers-color-scheme: dark) { | ||
@content; | ||
} | ||
} |
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
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,13 +1,19 @@ | ||
<script setup lang="ts"> | ||
import PageHeader from '@/components/PageHeader.vue' | ||
import PageContainer from '@/components/PageContainer.vue' | ||
import SignUp from '@/components/SignUp.vue' | ||
</script> | ||
|
||
<template> | ||
<PageHeader title="トップページ"/> | ||
<PageHeader title="トップページ" /> | ||
<PageContainer> | ||
このサイトは、予定管理を簡単に行うためのものです | ||
<sign-up /> | ||
</PageContainer> | ||
</template> | ||
|
||
<style lang="scss" scoped></style> | ||
<style lang="scss" scoped> | ||
// * { | ||
// color: $color-primary; | ||
// } | ||
</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