Skip to content

Commit

Permalink
mock settings button
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 1, 2025
1 parent d2340f4 commit 3d59191
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
16 changes: 14 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@

<body>
<header>
<h1 style="margin-bottom: 0px">nudelsalat</h1>
<p style="margin-top: 0px">by pastagang</p>
<span>
<h1 style="margin-bottom: 0px">nudelsalat</h1>
<p style="margin-top: 0px">by pastagang</p>
</span>
<nav>
<button id="settings" onclick="alert('todo')">⚙ Settings</button>
</nav>
</header>
<div class="slots">
<div class="slot" id="slot-1">
Expand Down Expand Up @@ -95,6 +100,13 @@ <h1 style="margin-bottom: 0px">nudelsalat</h1>
</div>
</div>

<!-- <div class="dialog-container">
<dialog open>
<h1>Settings</h1>
<p>This is where settings can go!</p>
</dialog>
</div> -->

<script type="module" src="./src/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ let theme = EditorView.theme(
// Let's add settings for this!!!!!!!!!!
// "border-left-width": "11px",
// ok. i think it would anyway be better if the cursor had a nametag but i still haven't found where this happens in flok
// yes!
},
".cm-activeLine, .cm-activeLineGutter": {
"background-color": "#aaaaaa20",
Expand Down

0 comments on commit 3d59191

Please sign in to comment.