Skip to content

Commit cf61729

Browse files
committed
feat(url): add current server url to settings
add pointer cursor remove part in readme
1 parent 61a0a9b commit cf61729

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ A plugin to chat in figma files. Fully **encrypted**! (https://github.com/sehrop
77
![](./assets/chat.png)
88
![](./assets/chat-settings.png)
99

10-
### How to use?
11-
12-
* Open Figma
13-
* Go to **Plugins**
14-
* Click on **Browse all plugins**.
15-
* Search for **Figma chat** and click install
16-
* Ready!
17-
1810
### Encrypted? No login?
1911

2012
Yes. When opening the plugin a **room** name and a **secret key** are randomly generated once

src/assets/css/ui.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ body {
2727

2828
.chat .header .onboarding-tip__icon {
2929
border-right: 1px solid #e9e9e9;
30+
cursor: pointer;
3031
}
3132

3233
.messages {
@@ -146,6 +147,11 @@ body {
146147
.settings h4 {
147148
margin: 0 0 15px;
148149
}
150+
.settings p {
151+
color: #999;
152+
margin: 0;
153+
font-size: 10px;
154+
}
149155
.settings .fields {
150156
margin-bottom: 20px;
151157
}
@@ -158,12 +164,14 @@ body {
158164
display: grid;
159165
grid-template-columns: repeat(3, 1fr);
160166
grid-gap: 32px;
167+
margin-bottom: 30px;
161168
}
162169
.settings .colors .color {
163170
position: relative;
164171
width: 60px;
165172
height: 60px;
166173
border-radius: 100%;
174+
cursor: pointer;
167175
}
168176
.settings .colors .color.active::after {
169177
content: '';

src/components/settings.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ export default function Settings(props) {
5959
))}
6060
</div>
6161

62+
<strong>Current Server</strong><p>{settings.url}</p>
63+
6264
{/* <input
6365
type="input"
6466
value={settings.url}

0 commit comments

Comments
 (0)