Skip to content

Commit 9b62645

Browse files
committed
Update top bar styles
1 parent 5f1bcad commit 9b62645

File tree

9 files changed

+33
-26
lines changed

9 files changed

+33
-26
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="UTF-8">
55
<title>hyperparam</title>
66
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;500&display=swap"/>
7-
<link href="favicon.png" rel="icon" />
7+
<link href="favicon.svg" rel="icon" />
88
<meta name="description" content="hyperparam is the missing UI for machine learning" />
9-
<meta name="theme-color" content="#6b00ff">
9+
<meta name="theme-color" content="#4433aa">
1010
<meta name="viewport" content="width=device-width, initial-scale=1" />
1111
</head>
1212
<body>

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
"hightable": "0.20.1",
5959
"hyparquet": "1.19.0",
6060
"hyparquet-compressors": "1.1.1",
61-
"icebird": "0.3.0"
61+
"icebird": "0.3.1"
6262
},
6363
"devDependencies": {
6464
"@eslint/js": "9.37.0",
6565
"@storybook/react-vite": "9.1.10",
6666
"@testing-library/react": "16.3.0",
67-
"@types/node": "24.7.0",
68-
"@types/react": "19.2.0",
69-
"@types/react-dom": "19.2.0",
67+
"@types/node": "24.7.2",
68+
"@types/react": "19.2.2",
69+
"@types/react-dom": "19.2.1",
7070
"@vitejs/plugin-react": "5.0.4",
7171
"@vitest/coverage-v8": "3.2.4",
7272
"eslint": "9.37.0",
@@ -82,7 +82,7 @@
8282
"react-dom": "19.2.0",
8383
"storybook": "9.1.10",
8484
"typescript": "5.9.3",
85-
"typescript-eslint": "8.45.0",
85+
"typescript-eslint": "8.46.0",
8686
"vite": "7.1.9",
8787
"vitest": "3.2.4"
8888
},

public/favicon.png

-1.04 KB
Binary file not shown.

public/favicon.svg

Lines changed: 6 additions & 0 deletions
Loading

src/components/Breadcrumb/Breadcrumb.module.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1+
:root {
2+
--color-background-dark: #333;
3+
--border-radius-lg: 8px;
4+
--space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
5+
}
6+
17
.breadcrumb {
28
/* top navbar */
39
align-items: center;
410
display: flex;
5-
font-size: 18px;
6-
height: 32px;
11+
font-size: 16px;
12+
height: 3em;
713
justify-content: space-between;
814
gap: 10px;
915
min-height: 32px;
10-
padding-left: 20px;
11-
padding-right: 10px;
1216
border-bottom: 1px solid #ddd;
13-
background: #eee;
17+
background: var(--color-background-dark);
18+
padding: 0 10px 0 20px;
19+
border-radius: var(--border-radius-lg);
20+
margin: var(--space-3xs);
1421
/* TODO(SL): forbid overflow? */
1522

1623
h1 {
@@ -32,10 +39,9 @@
3239
display: none;
3340
}
3441
a {
35-
color: #222622;
36-
font-family: "Courier New", Courier, monospace;
37-
font-weight: 600;
38-
font-size: 18px;
42+
color: #eee;
43+
font-weight: 500;
44+
font-size: 12pt;
3945
text-overflow: ellipsis;
4046
white-space: nowrap;
4147
text-decoration-thickness: 1px;

src/components/ContentWrapper/ContentWrapper.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
& > header:first-child {
99
align-items: center;
10-
background-color: #f2f2f2;
1110
color: #444;
1211
display: flex;
12+
font-size: 10pt;
1313
gap: 16px;
1414
height: 24px;
1515
overflow: hidden;
16-
padding: 0 16px;
16+
padding: 0 8px;
1717
/* all one line */
1818
text-overflow: ellipsis;
1919
white-space: nowrap;

src/components/Dropdown/Dropdown.module.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
overflow-x: hidden;
2121
padding: 0;
2222
}
23-
.dropdownButton:active,
24-
.dropdownButton:focus,
25-
.dropdownButton:hover {
26-
color: #113;
27-
}
2823

2924
/* caret */
3025
.dropdownButton::before {

src/components/Folder/Folder.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
.search {
7171
background: #fff url("../../assets/search.svg") no-repeat center right 8px;
7272
border: 1px solid transparent;
73-
border-radius: 8px;
73+
border-radius: 12px;
7474
flex-shrink: 1;
7575
font-size: 12px;
7676
height: 24px;

src/components/SideBar/SideBar.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
height: 100vh;
88
}
99
.sideBar > div {
10-
background-image: linear-gradient(to bottom, #f2f2f2, #e4e4e4);
10+
background: #eef0f9;
1111
box-shadow: 0 0 6px rgba(10, 10, 10, 0.4);
1212
height: 100vh;
1313
position: absolute;
@@ -23,7 +23,7 @@
2323
filter: drop-shadow(0 0 2px #bbb);
2424
font-family: "Century Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
2525
font-size: 1.1em;
26-
font-weight: 500;
26+
font-weight: 600;
2727
text-orientation: mixed;
2828
letter-spacing: 0.3px;
2929
padding: 10px 12px;

0 commit comments

Comments
 (0)