Skip to content

Commit b6cdc12

Browse files
committed
update: theme component and readme
1 parent e4c22ed commit b6cdc12

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ Devbox is a lightweight, cross-platform desktop application built with Tauri (Ru
4949
- [x] REST API Testing
5050
- [x] Graphiql
5151
- [x] EPOCH Convertor
52-
- [ ] URL Parser
53-
- [ ] URL Encoder
52+
- [x] URL Parser
53+
- [x] URL Encoder
54+
- [x] HMAC Generator
55+
- [x] Backslash Escape/Unescape
56+
- [x] DNS Lookup Tool
5457
- [ ] Diff tools
5558
- [ ] CSS Playground
5659
- [ ] Scratch Pad (code)
@@ -74,11 +77,8 @@ Devbox is a lightweight, cross-platform desktop application built with Tauri (Ru
7477
- [ ] JSON <> YAML
7578
- [ ] Hashing Text
7679
- [ ] Hasing Files
77-
- [ ] HMAC Generator
7880
- [ ] Notes
7981
- [ ] World clock
80-
- [ ] Backslash Escape/Unescape
8182
- [ ] Certificate Decoder X.509
8283
- [ ] WebSocket Client
8384
- [ ] Mock API Server / Webhook test
84-
- [ ] DNS Lookup Tool

src/Theme/index.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { MantineThemeOverride } from "@mantine/core";
2-
import { Card, Checkbox, Container, createTheme, Paper, rem, Select } from "@mantine/core";
2+
import { Card, Checkbox, Container, createTheme, Paper, rem, Select, Tooltip } from "@mantine/core";
33

44
const CONTAINER_SIZES: Record<string, string> = {
55
xxs: rem("200px"),
@@ -91,6 +91,17 @@ export const theme: MantineThemeOverride = createTheme({
9191
radius: "sm",
9292
},
9393
}),
94+
Tooltip: Tooltip.extend({
95+
defaultProps: {
96+
radius: "md",
97+
withArrow: true,
98+
arrowSize: 10,
99+
arrowOffset: 10,
100+
fz: "var(--mantine-font-size-xs)",
101+
fw: "var(--mantine-font-weight-normal)",
102+
lh: "var(--mantine-line-height-sm)",
103+
},
104+
}),
94105
},
95106
other: {
96107
style: "mantine",

0 commit comments

Comments
 (0)