File tree Expand file tree Collapse file tree
src/components/projects/pixellab Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "accentColor" : " #616161" ,
3- "cssTheme" : " " ,
3+ "cssTheme" : " Minimal " ,
44 "translucency" : false ,
5- "theme" : " moonstone " ,
5+ "theme" : " obsidian " ,
66 "monospaceFontFamily" : " JetBrainsMono Nerd Font Mono"
77}
Original file line number Diff line number Diff line change 11import { FC } from "react" ;
22import Align from "./experiments/align" ;
33import Chart from "./experiments/chart" ;
4+ import Checkbox from "./experiments/checkbox" ;
45import BouncingDownload from "./experiments/download" ;
56import Dustbin from "./experiments/dustbin" ;
67import Graph from "./experiments/graph" ;
@@ -28,6 +29,7 @@ const Experiments: FC = () => {
2829 < Graph />
2930 < BouncingDownload />
3031 < Chart />
32+ < Checkbox />
3133 </ div >
3234 ) ;
3335} ;
Original file line number Diff line number Diff line change 1+ import { FC } from "react" ;
2+ import PixelLabContainer from "../../helpers/PixelLabContainer" ;
3+
4+ const CheckboxIcon : FC = ( ) => {
5+ return (
6+ < svg viewBox = "0 0 24 24" width = "60" stroke = "currentColor" >
7+ < rect
8+ width = "8"
9+ height = "8"
10+ y = "8"
11+ x = "6"
12+ fill = "none"
13+ rx = "1"
14+ strokeWidth = { 0.8 }
15+ />
16+ < path
17+ className = "checkmark"
18+ d = "M7.75 11.75L10 14.25L16.25 7.75"
19+ strokeWidth = "1.5"
20+ fill = "none"
21+ />
22+ </ svg >
23+ ) ;
24+ } ;
25+
26+ export default function Checkbox ( ) {
27+ return (
28+ < PixelLabContainer label = "008" >
29+ < CheckboxIcon />
30+ </ PixelLabContainer >
31+ ) ;
32+ }
You can’t perform that action at this time.
0 commit comments