Skip to content

Commit 96d56bb

Browse files
docs: update screenshots
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
1 parent 95d95d0 commit 96d56bb

File tree

8 files changed

+7
-4
lines changed

8 files changed

+7
-4
lines changed

data/images/liwan-desktop-dark.png

57.8 KB
Loading
58.1 KB
Loading

data/images/liwan-desktop-full.png

50.4 KB
Loading

data/images/liwan-desktop.png

49.5 KB
Loading

data/licenses-cargo.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/licenses-npm.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

web/src/components/project.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const Project = () => {
3030
const [filters, setFilters] = useState<DimensionFilter[]>([]);
3131
const [metric, setMetric] = useLocalStorage<Metric>("metric", "views");
3232

33-
const [rangeString, setRangeString] = useLocalStorage<string>("date-range", "last7Days");
33+
const [rangeString, setRangeString] = useLocalStorage<string>("date-range", "yearToDate");
3434
const range = useMemo(() => DateRange.deserialize(rangeString), [rangeString]);
3535

3636
useEffect(() => {

web/src/components/project/range.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
justify-content: center;
1111
align-items: center;
1212
cursor: pointer;
13+
color: var(--pico-contrast);
14+
transition: background-color 0.1s, opacity 0.1s;
15+
1316
&:hover {
1417
background-color: var(--pico-card-background-color);
15-
color: var(--pico-h1-background-color);
18+
opacity: 1;
1619
}
1720
}
1821

0 commit comments

Comments
 (0)