diff --git a/5s.css b/5s.css index d452cc7..13efca0 100644 --- a/5s.css +++ b/5s.css @@ -1,7 +1,3 @@ -:root { - --color: black; -} - *:not(td):not(th) { border-radius: 0.5rem; } @@ -25,17 +21,3 @@ main { margin: 1rem 1rem 0; color: var(--color); } - -.meaning { - color: #9f9a9a; - font-weight: 100; - font-size: 1rem; -} - -.meaning::before { - content: '('; -} - -.meaning::after { - content: ')'; -} diff --git a/core-article.css b/core-article.css index f3b00a1..afe809d 100644 --- a/core-article.css +++ b/core-article.css @@ -99,4 +99,4 @@ th:last-child { .sub { font-size: 12pt; -} \ No newline at end of file +} diff --git a/core.css b/core.css index c178556..7a76556 100644 --- a/core.css +++ b/core.css @@ -46,3 +46,11 @@ main { .meaning::after { content: ')'; } + +button:active { + transform: scale(0.96); + transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1); +} +button { + transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1); +} diff --git a/src/App5S.vue b/src/App5S.vue index 098f9c2..c4c065a 100644 --- a/src/App5S.vue +++ b/src/App5S.vue @@ -1,4 +1,6 @@ + + + + diff --git a/src/modules/5s/board-game-store.ts b/src/modules/5s/board-game-store.ts new file mode 100644 index 0000000..a37492f --- /dev/null +++ b/src/modules/5s/board-game-store.ts @@ -0,0 +1,20 @@ +import { boardGames } from '@/modules/5s/types/board-games' +import { BoardGame } from '@/modules/5s/types/workshop' +import { defineStore } from 'pinia' + +type State = { + boardGames: BoardGame[] + currentBoardGame: BoardGame | null +} + +export const useBoardGameStore = defineStore('day', { + state: (): State => ({ + boardGames: [], + currentBoardGame: null + }), + actions: { + initGame() { + this.currentBoardGame = boardGames[0] + } + } +}) diff --git a/src/modules/5s/day-store.ts b/src/modules/5s/day-store.ts deleted file mode 100644 index 7fae517..0000000 --- a/src/modules/5s/day-store.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { BoardGame } from '@/modules/5s/types/workshop' -import { defineStore } from 'pinia' - -type State = { - works: BoardGame[] -} - -export const useDayStore = defineStore('day', { - state: (): State => ({ - works: [] - }) -}) diff --git a/src/modules/5s/types/board-games.ts b/src/modules/5s/types/board-games.ts index e821ce5..03ab64f 100644 --- a/src/modules/5s/types/board-games.ts +++ b/src/modules/5s/types/board-games.ts @@ -3,7 +3,7 @@ import { BoardGame } from '@/modules/5s/types/workshop' export const boardGames: BoardGame[] = [ { - name: 'Royal Chess', + name: 'Chess', parts: [ { name: 'Chessboard Engraving',