Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Positioning and styling for neopixel
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Mar 29, 2020
1 parent 2dba715 commit 46d8dbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/view/components/clue/Clue_svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ export class ClueSvg extends React.Component<IProps, {}> {
<circle cx="85.24" cy="210.35" r="12.23" />
<circle cx="153.2" cy="210.35" r="12.23" />
<circle cx="220.8" cy="210.35" r="12.23" />
<circle cx="280.98" cy="210.98" r="12.23" />
<circle cx="25.35" cy="210.72" r="12.23" />
<circle cx="280.98" cy="210.35" r="12.23" />
<circle cx="25.35" cy="210.35" r="12.23" />
<rect
className="cls-10"
x="40.39"
Expand Down Expand Up @@ -947,8 +947,11 @@ export class ClueSvg extends React.Component<IProps, {}> {
rx="18.28"
/>
</g>
<circle cx={340} cy={100} r="30" fill="url(#grad1)" />
<circle cx={340} cy={100} r="12" ref={this.neopixel} />
<text x={318} y={85} className="sim-text-outside">
Neopixel
</text>
<circle cx={345} cy={115} r="30" fill="url(#grad1)" />
<circle cx={345} cy={115} r="12" ref={this.neopixel} />
</svg>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions src/view/styles/Clue.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,7 @@
.cls-22 {
stroke: #7e7272;
}
.sim-text-outside {
font-size: 14px;
fill: var(--vscode-descriptionForeground);
}

0 comments on commit 46d8dbc

Please sign in to comment.