Skip to content

Commit

Permalink
New party mode with pixi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlong committed Aug 18, 2023
1 parent 6dd21c3 commit c284d40
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 208 deletions.
2 changes: 1 addition & 1 deletion _includes/nav.njk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</button>
</div>

<p class="mt-1">Party Mode (Audio)</p>
<p class="mt-1">Party Mode</p>

<div class="flex btn-group">
<button class="btn font-thin flex flex-row-to-col items-center gap-1/2 min-w-5" role="switch" aria-pressed="false" data-pref-toggle data-pref-setting="party-mode" data-pref-value="party">
Expand Down
13 changes: 11 additions & 2 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/fonts/BricolageGrotesque96ptCondensed-Bold.woff2') format('woff2');
src: url('/fonts/BricolageGrotesque96ptCondensed-Bold.woff2')
format('woff2');
}

/* JetBrains Mono is the best code font - FIGHT ME */
Expand Down Expand Up @@ -101,7 +102,8 @@
:root {
/* fonts */
--font-family: 'Bricolage Grotesque', Helvetica;
--font-family-accent: 'Bricolage Grotesque 96pt Condensed', Arial Narrow, sans-serif;
--font-family-accent: 'Bricolage Grotesque 96pt Condensed', Arial Narrow,
sans-serif;
--font-family-monospace: 'JetBrains Mono', 'Fira Code', 'Source Code Pro',
'IntelOne Mono', Inconsolata, Consolas, MonoLisa, Monoid, Menlo, Monaco,
Andale Mono WT, Andale Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono,
Expand Down Expand Up @@ -1881,3 +1883,10 @@ a.color-reduced {
position: absolute;
padding: 0.5rem;
}

canvas {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
}

0 comments on commit c284d40

Please sign in to comment.