Skip to content

Commit

Permalink
feat: added settings alt+s
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Jan 14, 2023
1 parent 5c363d3 commit 9fc5af4
Show file tree
Hide file tree
Showing 14 changed files with 496 additions and 56 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<p align="center">
<img src="https://user-images.githubusercontent.com/77246331/212146849-aa68d8cb-c7d5-452d-9ce7-c6983ed8ee58.gif" align="center" />

## Available Shortcuts

- `Alt+M` to toggle the visibility of the app
- `Alt+Q` to quit the app
- `Alt+S` to open the settings
- `Enter` to copy the result to the clipboard

## Future Features
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"mathjs": "11.5.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"tauri-settings": "0.3.0",
"the-new-css-reset": "1.8.2",
"zustand": "4.3.1"
},
Expand Down
16 changes: 13 additions & 3 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,22 @@
<!-- No favicon -->
<link rel="icon" href="data:,">
<title>RunMath Settings</title>
<style>
body {
overflow-x: hidden;
min-width: 200px;
margin: 0;
padding: 0 2em;
font-family: sans-serif;
color: rgb(241, 238, 238);
background-color: rgb(32, 41, 64);
}

</style>
</head>

<body>
<div id="root">
Just a settings page
</div>
<div id="root"></div>
<script type="module" src="/src/main_settings.tsx"></script>
</body>

Expand Down
Loading

0 comments on commit 9fc5af4

Please sign in to comment.