Skip to content

Commit

Permalink
Merge pull request #3 from murage-poc/main
Browse files Browse the repository at this point in the history
feat: add a notice (to vary the release)
  • Loading branch information
Murage authored Oct 24, 2024
2 parents 5740bfa + 032fc7a commit b8734dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/countopia/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ <h1>Counter: <span id="counter">0</span></h1>
<button id="increment">Increment</button>
<button id="decrement">Decrement</button>
<button id="reset">Reset</button>

<small class="notice">Countopia respects device dark mode settings!</small>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
6 changes: 6 additions & 0 deletions apps/countopia/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

.notice {
display: block;
font-style: italic;
padding-top: 2rem;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
Expand Down

0 comments on commit b8734dd

Please sign in to comment.