Skip to content

Commit

Permalink
apply vue-green/200
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Apr 26, 2024
1 parent 1df36b7 commit 46bd595
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/components/FormPageSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ section {
line-height: 1.8;
&::v-deep a {
color: var(--color-vue-green);
color: var(--color-vue-green200);
text-decoration: underline;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/pages/code-of-conduct.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ main {
line-height: 1.8;
}
&::v-deep a {
color: var(--color-vue-green);
color: var(--color-vue-green200);
text-decoration: underline;
}
&::v-deep a:hover {
Expand Down
8 changes: 7 additions & 1 deletion apps/web/app/pages/privacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ useHead({
/* 箇条書きとパラグラフ内のリンク */
& :deep(ul) li a,
& :deep(p) a {
color: var(--color-vue-green);
color: var(--color-vue-green200);
text-decoration: underline;
}
& :deep(ul) li a:hover,
& :deep(p) a:hover {
opacity: 0.4;
transition: .2s;
}
/* 箇条書き1段目 reset.cssでnoneになったため追加 */
& :deep(ul) {
Expand Down
1 change: 1 addition & 0 deletions packages/composable/lib/useColor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export function useColor() {
.with('white', () => '#ffffff')
.with('vue-blue', () => '#35495e')
.with('vue-green', () => '#42b883')
.with('vue-green/100', () => '#42B883')
.with('vue-green/200', () => '#208558')
.with('asagi/100', () => '#33A6B8')
.with('asagi/200', () => '#1A8191')
Expand Down
3 changes: 3 additions & 0 deletions packages/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
--color-white: #fff;
--color-vue-blue: #35495e;
--color-vue-green: #42b983;
--color-vue-green100: #42B883;
--color-vue-green200: #208558;
--color-disabled: #c6cacf;

/* gradation */
--color-vue-green-gradation: linear-gradient(to right, #42b883, #41b8aa);
--color-vue-blue-gradation: linear-gradient(to right, #35495e 0%, #353b5e 100%);

/* box-shadow */
--box-shadow: 0 2px 10px rgb(53, 73, 95, 0.14);
Expand Down
1 change: 1 addition & 0 deletions packages/model/lib/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export type Color =
| 'white'
| 'vue-blue'
| 'vue-green'
| 'vue-green/100'
| 'vue-green/200'
| 'asagi/100'
| 'asagi/200'
Expand Down

0 comments on commit 46bd595

Please sign in to comment.