Some more stying and added a build step
Some checks failed
Build / build (push) Failing after 3m25s

This commit is contained in:
Leon Mika 2025-09-07 09:32:53 +10:00
parent 41daf7cfc9
commit 6a06faee7d
4 changed files with 58 additions and 8 deletions

View file

@ -0,0 +1,31 @@
name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: macos
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.24
- name: Installing Wails
run: |
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Running Wails doctor
run: |
wails doctor
- name: Build
run: |
wails build -platform darwin/arm64 -o Dequoter.app
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: dequoter-darwin-arm64
path: build/bin/

View file

@ -11,7 +11,7 @@
data-action="dq-showcommands@window->commands#showCommands"> data-action="dq-showcommands@window->commands#showCommands">
<div class="dialog-body"> <div class="dialog-body">
<div class="command-input"> <div class="command-input">
<input data-commands-target="commandInput" type="text" placeholder="Enter text to dequote" <input data-commands-target="commandInput" type="text" placeholder="Enter command"
data-action="keyup.enter->commands#runCommand keydown.esc->commands#dismissDialog keyup->commands#handleKeyup"> data-action="keyup.enter->commands#runCommand keydown.esc->commands#dismissDialog keyup->commands#handleKeyup">
</div> </div>
<select multiple class="command-options" data-commands-target="commandSelect"> <select multiple class="command-options" data-commands-target="commandSelect">

View file

@ -15,6 +15,18 @@ dialog#command-dialog {
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
padding: 0; padding: 0;
/* Frosted glass effect */
background: rgba(225, 225, 225, 0.38);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
/* Subtle grey border and rounded corners */
border: 1px solid rgba(169, 169, 169, 0.3);
border-radius: 12px;
/* Add subtle shadow for depth */
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
} }
dialog#command-dialog .dialog-body { dialog#command-dialog .dialog-body {
@ -24,7 +36,6 @@ dialog#command-dialog .dialog-body {
} }
dialog#command-dialog .command-input { dialog#command-dialog .command-input {
background-color: #EEEEEE;
padding: 10px; padding: 10px;
} }
@ -33,7 +44,12 @@ dialog#command-dialog input {
border: none; border: none;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
font-size: 1.5em; font-size: 1.3em;
background-color: transparent;
font-weight: normal;
}
dialog::backdrop {
background-color: transparent; background-color: transparent;
} }
@ -41,13 +57,16 @@ dialog#command-dialog select {
flex-grow: 1; flex-grow: 1;
flex-shrink: 1; flex-shrink: 1;
border: none; border: none;
background-color: transparent;
-webkit-appearance: none;
appearance: none; appearance: none;
font-size: 1.5em; font-size: 1.3em;
} }
option { dialog#command-dialog option {
background-color: #FFFFFF; background-color: transparent;
line-height: 3.0em;
} }
option .option-label { option .option-label {

View file

@ -18,8 +18,8 @@ func main() {
// Create application with options // Create application with options
err := wails.Run(&options.App{ err := wails.Run(&options.App{
Title: "Dequoter", Title: "Dequoter",
Width: 1024, Width: 800,
Height: 768, Height: 600,
AssetServer: &assetserver.Options{ AssetServer: &assetserver.Options{
Assets: assets, Assets: assets,
}, },