diff --git a/components/src/chips/alu.tsx b/components/src/chips/alu.tsx
index 71eee7408..f9bb7b9ba 100644
--- a/components/src/chips/alu.tsx
+++ b/components/src/chips/alu.tsx
@@ -39,7 +39,7 @@ export const ALUComponent = ({
textAnchor="middle"
y="61"
x="35"
- fill="#000000"
+ // fill="#000000" // use style from chip.scss
>
{A}
@@ -48,7 +48,7 @@ export const ALUComponent = ({
textAnchor="middle"
y="176"
x="35"
- fill="#000000"
+ // fill="#000000" // use style from chip.scss
>
{D}
@@ -57,7 +57,7 @@ export const ALUComponent = ({
textAnchor="middle"
y="121"
x="207"
- fill="#000000"
+ // fill="#000000" // use style from chip.scss
>
{out}
@@ -71,19 +71,31 @@ export const ALUComponent = ({
{COMMANDS_ALU.op[op] ?? "(??)"}
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/web/src/pages/chip.scss b/web/src/pages/chip.scss
index 54338c26b..dce936fbc 100644
--- a/web/src/pages/chip.scss
+++ b/web/src/pages/chip.scss
@@ -59,3 +59,13 @@
}
}
}
+
+// used for svg of ALU component
+path,
+polygon {
+ stroke: var(--color);
+}
+
+text {
+ fill: var(--color);
+}