Skip to content

Commit

Permalink
Outlined workspace item buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Aug 29, 2024
1 parent 52bfa00 commit ec6964a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Code/Workspace/WorkspaceItem.elm
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ viewInfoItems namespaceActionMenu ref hash_ rawSource info =
[ ActionMenu.optionItem Icon.intoFolder ("Change perspective to " ++ ns) (Click.onClick (ChangePerspectiveToSubNamespace fqn)) ]
|> ActionMenu.fromButton (ToggleNamespaceActionMenu ref) ns
|> ActionMenu.withButtonIcon Icon.folderOutlined
|> ActionMenu.withButtonColor Button.Subdued
|> ActionMenu.withButtonColor Button.Outlined
|> ActionMenu.shouldBeOpen (isNamespaceActionMenuOpen namespaceActionMenu ref)
|> ActionMenu.view

Expand Down Expand Up @@ -459,7 +459,7 @@ viewInfoItems namespaceActionMenu ref hash_ rawSource info =
Just s ->
div [ class "copy-code" ]
[ CopyOnClick.view s
(div [ class "button small subdued content-icon-then-label" ]
(div [ class "button small outlined content-icon-then-label" ]
[ Icon.view Icon.clipboard, text "Copy full source" ]
)
(Icon.view Icon.checkmark)
Expand Down

0 comments on commit ec6964a

Please sign in to comment.