Skip to content

Commit 00afcbb

Browse files
committed
fix: increase contrast
1 parent 38a7c32 commit 00afcbb

File tree

7 files changed

+67
-70
lines changed

7 files changed

+67
-70
lines changed

build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { transform } from "lightningcss";
77
import pc from "picocolors";
88

99
import { cp, mkdir, rm, writeFile } from "node:fs/promises";
10-
import { dirname, join } from "node:path";
10+
import { join } from "node:path";
1111

1212
await rm("dist", { recursive: true, force: true });
1313
await mkdir("dist");

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"name": "modernflux",
3-
"description": "A modern look and feel for Miniflux",
3+
"version": "0.0.1",
44
"type": "module",
55
"private": true,
6-
"version": "0.0.1",
6+
"description": "A modern look and feel for Miniflux",
77
"author": "Ryan Cao",
88
"license": "AGPL-3.0-or-later",
99
"scripts": {
1010
"build": "node build.ts"
1111
},
1212
"dependencies": {
13+
"lightningcss": "^1.29.3",
1314
"sass": "^1.87.0"
1415
},
1516
"devDependencies": {
1617
"@types/node": "^22.14.1",
17-
"lightningcss": "^1.29.3",
1818
"picocolors": "^1.1.1",
1919
"typescript": "^5.8.3",
20-
"wrangler": "^4.13.2"
20+
"wrangler": "^4.14.1"
2121
},
2222
"pnpm": {
2323
"onlyBuiltDependencies": [
@@ -27,5 +27,5 @@
2727
"workerd"
2828
]
2929
},
30-
"packageManager": "pnpm@10.9.0+sha512.0486e394640d3c1fb3c9d43d49cf92879ff74f8516959c235308f5a8f62e2e19528a65cdc2a3058f587cde71eba3d5b56327c8c33a97e4c4051ca48a10ca2d5f"
30+
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
3131
}

pnpm-lock.yaml

Lines changed: 43 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/_entry.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
display: contents;
5858
margin-right: 0;
5959

60-
> button,
61-
> a {
60+
button,
61+
a {
6262
display: flex;
6363
flex-direction: row;
6464
column-gap: 0.25rem;
@@ -76,11 +76,11 @@
7676
}
7777

7878
blockquote {
79-
border-color: colors.$fg2;
79+
border-color: colors.$fg1;
8080
border-width: 2.5px;
8181
}
8282

8383
figcaption {
84-
color: colors.$fg2;
84+
color: colors.$fg1;
8585
}
8686
}

src/modules/_item.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
.item-meta-info {
40-
color: colors.$fg2;
40+
color: colors.$fg1;
4141
}
4242

4343
.item-meta-icons {

src/modules/_links.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44
* SPDX-License-Identifier: AGPL-3.0-or-later
55
*/
66

7-
a {
8-
text-underline-offset: 2px;
9-
7+
a,
8+
.page-button,
9+
.page-link {
1010
transition-property: color;
1111
transition-duration: 150ms;
1212
transition-timing-function: ease-in-out;
13+
}
14+
15+
a {
16+
text-underline-offset: 2.5px;
1317

1418
&:has(svg) {
1519
display: flex;

src/modules/_variables.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
--body-background: #{colors.$bg0};
1212
--hr-border-color: #{colors.$bg1};
1313
--title-color: #{colors.$fg0};
14-
--link-color: #{colors.$fg1};
15-
--link-focus-color: #{colors.$fg2};
16-
--link-hover-color: #{colors.$fg2};
14+
--link-color: #{colors.$fg0};
15+
--link-focus-color: #{colors.$fg1};
16+
--link-hover-color: #{colors.$fg1};
1717
--link-visited-color: #{colors.$bg1};
1818
--header-link-color: #{colors.$fg1};
1919
--header-link-focus-color: #{colors.$accent};
@@ -63,14 +63,14 @@
6363
--category-background-color: #{colors.$bg1};
6464
--category-border-color: #{colors.$bg2};
6565
--category-link-color: #{colors.$accent};
66-
--category-link-hover-color: #{colors.$fg2};
66+
--category-link-hover-color: #{colors.$accent};
6767
--item-border-color: #{colors.$bg1};
6868
--item-title-link-font-weight: 400;
6969
--item-status-read-title-link-color: #{colors.$fg1};
7070
--entry-header-border-color: #{colors.$fg2};
7171
--entry-header-title-link-color: #{colors.$fg0};
72-
--entry-content-color: #{colors.$fg1};
73-
--entry-content-quote-color: #{colors.$fg2};
72+
--entry-content-color: #{colors.$fg0};
73+
--entry-content-quote-color: #{colors.$fg1};
7474
--entry-content-code-color: #{colors.$fg0};
7575
--entry-content-code-background: #{colors.$bg1};
7676
--entry-content-code-border-color: transparent;

0 commit comments

Comments
 (0)