diff --git a/public/kcl-samples-manifest-fallback.json b/public/kcl-samples-manifest-fallback.json index db2f0988a..aa3b14e74 100644 --- a/public/kcl-samples-manifest-fallback.json +++ b/public/kcl-samples-manifest-fallback.json @@ -84,6 +84,11 @@ "title": "Hex nut", "description": "A hex nut is a type of fastener with a threaded hole and a hexagonal outer shape, used in a wide variety of applications to secure parts together. The hexagonal shape allows for a greater torque to be applied with wrenches or tools, making it one of the most common nut types in hardware." }, + { + "file": "i-beam.kcl", + "title": "I-beam", + "description": "A structural metal beam with an I shaped cross section. Often used in construction" + }, { "file": "kitt.kcl", "title": "Kitt", diff --git a/src/components/CommandBar/CommandBarHeader.tsx b/src/components/CommandBar/CommandBarHeader.tsx index 6987d0a42..09df9e747 100644 --- a/src/components/CommandBar/CommandBarHeader.tsx +++ b/src/components/CommandBar/CommandBarHeader.tsx @@ -194,7 +194,7 @@ function ReviewingButton() { autoFocus type="submit" form="review-form" - className="w-fit !p-0 rounded-sm border !border-primary hover:shadow" + className="w-fit !p-0 rounded-sm hover:shadow" iconStart={{ icon: 'checkmark', bgClassName: 'p-1 rounded-sm !bg-primary hover:brightness-110', @@ -212,7 +212,7 @@ function GatheringArgsButton() { Element="button" type="submit" form="arg-form" - className="w-fit !p-0 rounded-sm border !border-primary hover:shadow" + className="w-fit !p-0 rounded-sm hover:shadow" iconStart={{ icon: 'arrowRight', bgClassName: 'p-1 rounded-sm !bg-primary hover:brightness-110', diff --git a/src/components/ProjectSidebarMenu.tsx b/src/components/ProjectSidebarMenu.tsx index ac5662345..29e237dfe 100644 --- a/src/components/ProjectSidebarMenu.tsx +++ b/src/components/ProjectSidebarMenu.tsx @@ -210,7 +210,7 @@ function ProjectMenuPopover({ return (
diff --git a/src/components/UserSidebarMenu.tsx b/src/components/UserSidebarMenu.tsx index 711cf8f9a..7a322c462 100644 --- a/src/components/UserSidebarMenu.tsx +++ b/src/components/UserSidebarMenu.tsx @@ -168,7 +168,7 @@ const UserSidebarMenu = ({ user }: { user?: User }) => { return (
@@ -240,7 +240,7 @@ const UserSidebarMenu = ({ user }: { user?: User }) => {
  • { close() }} diff --git a/src/index.css b/src/index.css index 76786f5c5..90e9e9a84 100644 --- a/src/index.css +++ b/src/index.css @@ -85,7 +85,8 @@ textarea, } button { - @apply border border-chalkboard-30 m-0.5 px-3 rounded text-xs focus-visible:ring-primary; + @apply border border-chalkboard-30 m-0.5 px-3 rounded text-xs; + @apply focus-visible:outline-chalkboard-100; } button:hover { @@ -93,7 +94,7 @@ button:hover { } .dark button { - @apply border-chalkboard-70 focus-visible:ring-primary/50; + @apply border-chalkboard-70 focus-visible:outline-chalkboard-10; } .dark button:hover { @@ -319,6 +320,11 @@ code { button.reset:hover { @apply bg-transparent border-transparent; } + + /* Add an outline that matches the app foreground (or text) color */ + .outline-appForeground { + @apply outline-chalkboard-100 dark:outline-chalkboard-10; + } } #code-mirror-override .cm-scroller,