Skip to content

Commit

Permalink
experimental: Content mode icon and a new preview mode icon (#4473)
Browse files Browse the repository at this point in the history
## Description

1. What is this PR about (link the issue and add a short description)

## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
0000)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
  • Loading branch information
kof authored Nov 26, 2024
1 parent 260c903 commit 8c83b67
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 10 deletions.
8 changes: 6 additions & 2 deletions apps/builder/app/builder/features/topbar/builder-mode.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { useStore } from "@nanostores/react";
import { EditIcon, PaintBrushIcon, PlayIcon } from "@webstudio-is/icons";
import {
NotebookAndPenIcon,
PaintBrushIcon,
PlayIcon,
} from "@webstudio-is/icons";
import {
Box,
DropdownMenuItemRightSlot,
Expand Down Expand Up @@ -56,7 +60,7 @@ export const BuilderModeDropDown = () => {
enabled: isDesignModeAllowed,
},
content: {
icon: <EditIcon />,
icon: <NotebookAndPenIcon />,
description: "Modify the page content",
title: "Build",
shortcut: ["cmd", "shift", "b"],
Expand Down
13 changes: 13 additions & 0 deletions packages/icons/icons/notebook-and-pen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions packages/icons/icons/phone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 12 additions & 3 deletions packages/icons/icons/play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 31 additions & 2 deletions packages/icons/src/__generated__/components.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c83b67

Please sign in to comment.