Skip to content

Commit

Permalink
v1.41 (#89)
Browse files Browse the repository at this point in the history
v1.41. Fixes v1.4 style regressions.

Co-authored-by: 12ball <[email protected]>
  • Loading branch information
janie314 and 12ball authored Feb 9, 2025
1 parent 880b884 commit 5e60532
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gnuplex -upgrade

| Version | Date | Details |
| ---------------- | ------------------------------ | ------------------------------------------------------ |
| 1.4 | 2025-02-09 | Better MPV crash handling, style touchups, Tailwind 4. |
| 1.41 | 2025-02-09 | Better MPV crash handling, style touchups, Tailwind 4. |
| 1.3 | 2024-12-07 | Dark mode, React 19. |
| 1.2 | 2024-11-30 | Hotfix. |
| 1.1 | 2024-11-30 | Subtitle selection. |
Expand Down
2 changes: 1 addition & 1 deletion backend/consts/consts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package consts

const (
GNUPlexVersion = "1.4 Seaside Park"
GNUPlexVersion = "1.41 Seaside Park"
)
4 changes: 2 additions & 2 deletions frontend/src/assets/pause.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/assets/play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions frontend/src/components/CastPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ function CastPopup(props: {
const [addToLib, setAddToLib] = useState(false);
if (props.visible) {
return (
<div className="popup">
<div className="popup bg-white dark:bg-stone-800 m-5">
<div className="flex flex-row mb-2 items-center">
<span className="mr-1">URL</span>
<span className="header mr-1">URL</span>
<input
type="text"
className="border border-black text-sm font-mono p-1"
className="bg-cyan-800 text-slate-100 border border-black text-sm font-mono font-bold p-1"
value={url}
onChange={(e) => {
API.cast(url, !addToLib);
Expand All @@ -26,7 +26,7 @@ function CastPopup(props: {
</div>
<div className="flex flex-row items-center mb-2">
<label>
Add to Library
<span className="header mr-1">Add to Library</span>
<input
type="checkbox"
id="boxy"
Expand All @@ -40,7 +40,7 @@ function CastPopup(props: {
<input
type="button"
value="OK"
className="mr-1 p-1 border border-solid border-black hover:bg-cyan-200"
className="btn-standard mr-1"
onClick={() => {
API.cast(url, !addToLib);
setUrl("");
Expand All @@ -51,7 +51,7 @@ function CastPopup(props: {
<input
type="button"
value="Cancel"
className="p-1 border border-solid border-black hover:bg-cyan-200"
className="btn-standard"
onClick={() => props.setCastPopup(false)}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/MediadirsConfigPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function MediadirsConfigPopup(props: {

if (props.visible) {
return (
<div className="popup w-full sm:w-full md:w-full lg:w-3/5 dark:bg-stone-800 dark:text-white">
<div className="popup w-full sm:w-full md:w-full lg:w-3/5 bg-white dark:bg-stone-800 dark:text-white">
<h1 className="header">Media Directories</h1>
<textarea
value={mediadirs}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/SubSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function SubSelector(props: { subs: SubTrack[] | null }) {
}, [props.subs]);
return (
<select
className="select select-sm select-bordered ml-1 mr-1"
className="bg-cyan-800 text-white border px-2 mr-1"
value={subID}
onChange={(e) => {
const newID = Number(e.target.value);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@layer components {
.btn-standard {
@apply py-1 px-2 border border-solid border-black bg-white dark:bg-cyan-800 dark:text-slate-200 hover:bg-cyan-200 hover:dark:bg-cyan-700 hover:dark:text-slate-200;
@apply py-1 px-2 border border-solid border-black bg-cyan-800 text-slate-200 hover:bg-cyan-700 hover:text-slate-100 font-bold;
}
.header {
@apply my-1 text-lg dark:text-white font-bold;
Expand Down
6 changes: 5 additions & 1 deletion frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
extend: {
colors: {
primary: "#005f78", // cyan-800 from tailwind
},
},
},
plugins: [require("daisyui")],
daisyui: {
Expand Down

0 comments on commit 5e60532

Please sign in to comment.