diff --git a/studio/src/renderer/src/components/ui/button.tsx b/studio/src/renderer/src/components/ui/button.tsx
index 0d202d63f..4d0bc0c98 100644
--- a/studio/src/renderer/src/components/ui/button.tsx
+++ b/studio/src/renderer/src/components/ui/button.tsx
@@ -4,30 +4,30 @@ import { cn } from "@/lib/utils"
import { Slot } from "radix-ui"
const buttonVariants = cva(
- "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-[13px] font-normal whitespace-nowrap outline-none focus-visible:focused disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
{
variants: {
variant: {
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
+ default: "icon-tint bg-primary text-primary-foreground hover:bg-primary/90",
destructive:
- "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
+ "icon-tint bg-destructive text-white hover:bg-destructive/90",
outline:
- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
+ "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost:
- "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
+ "hover:bg-accent hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
},
size: {
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
+ default: "h-7 px-3 has-[>svg]:px-2.5",
xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
- sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
- icon: "size-9",
+ sm: "h-7 gap-1.5 rounded-md px-2.5 has-[>svg]:px-2",
+ lg: "h-8 rounded-md px-4 has-[>svg]:px-3",
+ icon: "size-7",
"icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
- "icon-sm": "size-8",
- "icon-lg": "size-10",
+ "icon-sm": "size-7",
+ "icon-lg": "size-8",
},
},
defaultVariants: {
diff --git a/studio/src/renderer/src/components/ui/context-menu.tsx b/studio/src/renderer/src/components/ui/context-menu.tsx
index 3dbc666bb..99bd4f87e 100644
--- a/studio/src/renderer/src/components/ui/context-menu.tsx
+++ b/studio/src/renderer/src/components/ui/context-menu.tsx
@@ -1,7 +1,7 @@
import * as React from "react"
import { cn } from "@/lib/utils"
-import { Check, ChevronRight } from "lucide-react"
import { ContextMenu as ContextMenuPrimitive } from "radix-ui"
+import { Glyph } from "@/studio/Glyph"
function ContextMenu({
...props
@@ -63,14 +63,14 @@ function ContextMenuSubTrigger({
data-slot="context-menu-sub-trigger"
data-inset={inset}
className={cn(
- "flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
+ "flex cursor-default items-center rounded-md px-2 py-1 text-[13px] outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
className
)}
{...props}
>
{children}
-
+
)
@@ -86,7 +86,7 @@ function ContextMenuSubContent({
-
+
{children}
@@ -171,7 +171,7 @@ function ContextMenuRadioItem({
-
+ Close
)}
diff --git a/studio/src/renderer/src/components/ui/dropdown-menu.tsx b/studio/src/renderer/src/components/ui/dropdown-menu.tsx
index 56a8e372e..e76e4e2ff 100644
--- a/studio/src/renderer/src/components/ui/dropdown-menu.tsx
+++ b/studio/src/renderer/src/components/ui/dropdown-menu.tsx
@@ -1,12 +1,12 @@
import * as React from "react"
import { cn } from "@/lib/utils"
-import { ChevronRight } from "lucide-react"
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui"
+import { Glyph } from "@/studio/Glyph"
const MENU_SURFACE =
- "z-50 min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md backdrop-blur-sm data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0"
+ "z-50 min-w-[8rem] overflow-x-hidden overflow-y-auto popup p-1 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0"
const MENU_ROW =
- "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
+ "relative flex cursor-default items-center gap-2 rounded-md px-2 py-1 text-[13px] outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
function DropdownMenu(props: React.ComponentProps) {
return
@@ -45,7 +45,7 @@ function DropdownMenuSubTrigger({ className, children, ...props }: React.Compone
{...props}
>
{children}
-
+
)
}
@@ -53,7 +53,7 @@ function DropdownMenuSubTrigger({ className, children, ...props }: React.Compone
function DropdownMenuSubContent({ className, ...props }: React.ComponentProps) {
return (
-
+
)
}
diff --git a/studio/src/renderer/src/components/ui/input.tsx b/studio/src/renderer/src/components/ui/input.tsx
index 1e3b93289..98960205c 100644
--- a/studio/src/renderer/src/components/ui/input.tsx
+++ b/studio/src/renderer/src/components/ui/input.tsx
@@ -7,8 +7,8 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {
type={type}
data-slot="input"
className={cn(
- "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
- "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
+ "h-7 w-full min-w-0 rounded-md border border-input bg-transparent px-2 py-1 text-[13px] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
+ "focus-visible:focused",
"aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
className
)}
diff --git a/studio/src/renderer/src/components/ui/popover.tsx b/studio/src/renderer/src/components/ui/popover.tsx
index 7598a30a8..923393f97 100644
--- a/studio/src/renderer/src/components/ui/popover.tsx
+++ b/studio/src/renderer/src/components/ui/popover.tsx
@@ -18,7 +18,7 @@ function PopoverContent({ className, align = "start", sideOffset = 4, ...props }
align={align}
sideOffset={sideOffset}
className={cn(
- "z-50 rounded-md border bg-popover p-2 text-popover-foreground shadow-md outline-hidden data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
+ "z-50 popup p-2 outline-hidden data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
className
)}
{...props}
diff --git a/studio/src/renderer/src/components/ui/scroll-area.tsx b/studio/src/renderer/src/components/ui/scroll-area.tsx
index b699a24ff..c0e27fd98 100644
--- a/studio/src/renderer/src/components/ui/scroll-area.tsx
+++ b/studio/src/renderer/src/components/ui/scroll-area.tsx
@@ -17,7 +17,7 @@ function ScrollArea({
>
{children}
diff --git a/studio/src/renderer/src/components/ui/toggle-group.tsx b/studio/src/renderer/src/components/ui/toggle-group.tsx
index 54d3d9019..92425814d 100644
--- a/studio/src/renderer/src/components/ui/toggle-group.tsx
+++ b/studio/src/renderer/src/components/ui/toggle-group.tsx
@@ -24,7 +24,7 @@ function ToggleGroup({
data-variant={variant}
data-size={size}
className={cn(
- "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",
+ "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:h-7 data-[variant=outline]:border data-[variant=outline]:border-input data-[variant=outline]:bg-muted data-[variant=outline]:p-0.5",
className
)}
{...props}
@@ -56,7 +56,7 @@ function ToggleGroupItem({
variant: context.variant || variant,
size: context.size || size,
}),
- "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",
+ "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:h-[22px] data-[variant=outline]:min-w-[22px] data-[variant=outline]:rounded-[4px] data-[variant=outline]:border-0 data-[variant=outline]:px-2 data-[variant=outline]:text-[12px] data-[variant=outline]:text-muted-foreground data-[variant=outline]:hover:bg-transparent data-[variant=outline]:hover:text-foreground data-[variant=outline]:data-[state=on]:bg-secondary data-[variant=outline]:data-[state=on]:text-foreground",
className
)}
{...props}
diff --git a/studio/src/renderer/src/components/ui/toggle.tsx b/studio/src/renderer/src/components/ui/toggle.tsx
index 137c38510..5b3abfbf8 100644
--- a/studio/src/renderer/src/components/ui/toggle.tsx
+++ b/studio/src/renderer/src/components/ui/toggle.tsx
@@ -4,13 +4,13 @@ import { cn } from "@/lib/utils"
import { Toggle as TogglePrimitive } from "radix-ui"
const toggleVariants = cva(
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "inline-flex items-center justify-center gap-2 rounded-md text-[13px] font-normal whitespace-nowrap outline-none hover:bg-accent hover:text-accent-foreground focus-visible:focused disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
{
variants: {
variant: {
default: "bg-transparent",
outline:
- "border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground",
+ "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
},
size: {
default: "h-9 min-w-9 px-2",
diff --git a/studio/src/renderer/src/components/ui/tooltip.tsx b/studio/src/renderer/src/components/ui/tooltip.tsx
index ccc8fd335..dadc584f7 100644
--- a/studio/src/renderer/src/components/ui/tooltip.tsx
+++ b/studio/src/renderer/src/components/ui/tooltip.tsx
@@ -41,7 +41,7 @@ function TooltipContent({
data-slot="tooltip-content"
sideOffset={sideOffset}
className={cn(
- "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md border border-overlay-border bg-popover px-2.5 py-1.5 text-xs text-balance text-popover-foreground shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
+ "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in popup px-2.5 py-1.5 text-xs text-balance fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
className
)}
{...props}
diff --git a/studio/src/renderer/src/icons/intellij/LICENSE.txt b/studio/src/renderer/src/icons/intellij/LICENSE.txt
new file mode 100644
index 000000000..f49a4e16e
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/LICENSE.txt
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/studio/src/renderer/src/icons/intellij/NOTICE.txt b/studio/src/renderer/src/icons/intellij/NOTICE.txt
new file mode 100644
index 000000000..a513913bb
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/NOTICE.txt
@@ -0,0 +1,3 @@
+This software includes code from IntelliJ IDEA
+Copyright (C) JetBrains s.r.o.
+https://www.jetbrains.com/idea/
\ No newline at end of file
diff --git a/studio/src/renderer/src/icons/intellij/README.md b/studio/src/renderer/src/icons/intellij/README.md
new file mode 100644
index 000000000..5b1a533ee
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/README.md
@@ -0,0 +1 @@
+Dark new-UI icons copied unchanged from JetBrains intellij-community, `platform/icons/src/expui`, under the Apache License 2.0 (LICENSE.txt). NOTICE.txt is that repository's notice. The folder layout matches the source. `Glyph` draws them in the current colour, so one copy serves both themes.
diff --git a/studio/src/renderer/src/icons/intellij/actions/checked_dark.svg b/studio/src/renderer/src/icons/intellij/actions/checked_dark.svg
new file mode 100644
index 000000000..3e1d9ecc3
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/actions/checked_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/actions/stopWatch_dark.svg b/studio/src/renderer/src/icons/intellij/actions/stopWatch_dark.svg
new file mode 100644
index 000000000..10bec586b
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/actions/stopWatch_dark.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/add@20x20_dark.svg b/studio/src/renderer/src/icons/intellij/general/add@20x20_dark.svg
new file mode 100644
index 000000000..5bf207330
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/add@20x20_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/add_dark.svg b/studio/src/renderer/src/icons/intellij/general/add_dark.svg
new file mode 100644
index 000000000..397e9321b
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/add_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/chevronDown_dark.svg b/studio/src/renderer/src/icons/intellij/general/chevronDown_dark.svg
new file mode 100644
index 000000000..375ab4dd8
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/chevronDown_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/chevronLeft_dark.svg b/studio/src/renderer/src/icons/intellij/general/chevronLeft_dark.svg
new file mode 100644
index 000000000..d4284d234
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/chevronLeft_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/chevronRight_dark.svg b/studio/src/renderer/src/icons/intellij/general/chevronRight_dark.svg
new file mode 100644
index 000000000..838142106
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/chevronRight_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/close_dark.svg b/studio/src/renderer/src/icons/intellij/general/close_dark.svg
new file mode 100644
index 000000000..88693089a
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/close_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/delete_dark.svg b/studio/src/renderer/src/icons/intellij/general/delete_dark.svg
new file mode 100644
index 000000000..03ff9f241
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/delete_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/locate_dark.svg b/studio/src/renderer/src/icons/intellij/general/locate_dark.svg
new file mode 100644
index 000000000..a2ba607aa
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/locate_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/locked_dark.svg b/studio/src/renderer/src/icons/intellij/general/locked_dark.svg
new file mode 100644
index 000000000..9658ca553
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/locked_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/moreHorizontal@20x20_dark.svg b/studio/src/renderer/src/icons/intellij/general/moreHorizontal@20x20_dark.svg
new file mode 100644
index 000000000..6d7a22c02
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/moreHorizontal@20x20_dark.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/moreHorizontal_dark.svg b/studio/src/renderer/src/icons/intellij/general/moreHorizontal_dark.svg
new file mode 100644
index 000000000..7b4ce2802
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/moreHorizontal_dark.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/questionMark_dark.svg b/studio/src/renderer/src/icons/intellij/general/questionMark_dark.svg
new file mode 100644
index 000000000..96fea722f
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/questionMark_dark.svg
@@ -0,0 +1,6 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/redo_dark.svg b/studio/src/renderer/src/icons/intellij/general/redo_dark.svg
new file mode 100644
index 000000000..a39093042
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/redo_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/refresh_dark.svg b/studio/src/renderer/src/icons/intellij/general/refresh_dark.svg
new file mode 100644
index 000000000..3362992af
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/refresh_dark.svg
@@ -0,0 +1,7 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/reset_dark.svg b/studio/src/renderer/src/icons/intellij/general/reset_dark.svg
new file mode 100644
index 000000000..28d58e10e
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/reset_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/search@20x20_dark.svg b/studio/src/renderer/src/icons/intellij/general/search@20x20_dark.svg
new file mode 100644
index 000000000..27f0332d1
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/search@20x20_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/search_dark.svg b/studio/src/renderer/src/icons/intellij/general/search_dark.svg
new file mode 100644
index 000000000..d5a82d9c1
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/search_dark.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/settings@20x20_dark.svg b/studio/src/renderer/src/icons/intellij/general/settings@20x20_dark.svg
new file mode 100644
index 000000000..cc6378305
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/settings@20x20_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/settings_dark.svg b/studio/src/renderer/src/icons/intellij/general/settings_dark.svg
new file mode 100644
index 000000000..62f328167
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/settings_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/general/undo_dark.svg b/studio/src/renderer/src/icons/intellij/general/undo_dark.svg
new file mode 100644
index 000000000..2fa3c0d42
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/general/undo_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/image/actualZoom_dark.svg b/studio/src/renderer/src/icons/intellij/image/actualZoom_dark.svg
new file mode 100644
index 000000000..e497a8f70
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/image/actualZoom_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/image/grid_dark.svg b/studio/src/renderer/src/icons/intellij/image/grid_dark.svg
new file mode 100644
index 000000000..98f561847
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/image/grid_dark.svg
@@ -0,0 +1,7 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/toolwindows/web@20x20_dark.svg b/studio/src/renderer/src/icons/intellij/toolwindows/web@20x20_dark.svg
new file mode 100644
index 000000000..6c5820aa2
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/toolwindows/web@20x20_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/icons/intellij/toolwindows/web_dark.svg b/studio/src/renderer/src/icons/intellij/toolwindows/web_dark.svg
new file mode 100644
index 000000000..0ca6194ab
--- /dev/null
+++ b/studio/src/renderer/src/icons/intellij/toolwindows/web_dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/studio/src/renderer/src/main.tsx b/studio/src/renderer/src/main.tsx
index 4ba5fffc5..4ec4f4f88 100644
--- a/studio/src/renderer/src/main.tsx
+++ b/studio/src/renderer/src/main.tsx
@@ -6,7 +6,7 @@ import { App } from './App'
import './styles.css'
const ICON_SIZE_PX = 16
-const ICON_STROKE_PX = 1.5
+const ICON_STROKE_PX = 1.25
createRoot(document.getElementById('root')!).render(
diff --git a/studio/src/renderer/src/studio/BakeMeter.tsx b/studio/src/renderer/src/studio/BakeMeter.tsx
index d15544053..e0a7301e3 100644
--- a/studio/src/renderer/src/studio/BakeMeter.tsx
+++ b/studio/src/renderer/src/studio/BakeMeter.tsx
@@ -1,10 +1,10 @@
-import { Timer } from 'lucide-react'
import { useEffect, useState } from 'react'
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
import { cn } from '@/lib/utils'
import type { BridgeClient } from '../bridge/BridgeClient'
import type { BakeRun } from '../bridge/types'
import { BAKE_RUN_COUNT, bakeWeightOf, formatMillis, measureBake, meterFill, runMillis, slowestStageIndex, weightScale } from '../scene/bakeTiming'
+import { Glyph } from './Glyph'
const MINIMUM_FILL = '4px'
const MEASURING_LABEL = 'Timing'
@@ -49,7 +49,7 @@ export function BakeMeter({ timing }: BakeMeterProps): React.JSX.Element {
-
+
{timing === null ? MEASURING_LABEL : weight.label}
diff --git a/studio/src/renderer/src/studio/ConnectScreen.tsx b/studio/src/renderer/src/studio/ConnectScreen.tsx
index b10381432..e4301f1b4 100644
--- a/studio/src/renderer/src/studio/ConnectScreen.tsx
+++ b/studio/src/renderer/src/studio/ConnectScreen.tsx
@@ -1,8 +1,8 @@
import { useEffect, useRef, useState } from 'react'
-import { Globe, RefreshCw } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { Input } from '@/components/ui/input'
import type { BridgeConnection } from '../../../shared/bridge'
+import { Glyph } from './Glyph'
const BRIDGE_POLL_MILLIS = 2000
@@ -45,8 +45,8 @@ export function ConnectScreen({ connecting, error, onConnect, onLink }: ConnectS
}, [onConnect])
return (
-
-
+
+
Open a world
Run /iris studio map in game or in the
@@ -56,7 +56,7 @@ export function ConnectScreen({ connecting, error, onConnect, onLink }: ConnectS
{bridges.length === 0 ? (
- Waiting for a server on this machine
+ Waiting for a server on this machine