Skip to content

Commit

Permalink
Reintroduced opacity using RGBA
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaPalo committed Apr 12, 2024
1 parent f6e6a50 commit 99cee1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/EditorCanvas/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function Table(props) {
size="small"
theme="solid"
style={{
backgroundColor: "#2f68ad",
backgroundColor: "#2f68adb3",
marginRight: "6px",
}}
onClick={openEditor}
Expand Down Expand Up @@ -174,7 +174,7 @@ export default function Table(props) {
type="tertiary"
size="small"
style={{
backgroundColor: "grey",
backgroundColor: "#808080b3",
color: "white",
}}
/>
Expand Down Expand Up @@ -277,7 +277,7 @@ export default function Table(props) {
} flex items-center gap-2 overflow-hidden`}
>
<button
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68ad] rounded-full"
className="flex-shrink-0 w-[10px] h-[10px] bg-[#2f68adcc] rounded-full"
onMouseDown={() => {
handleGripField(index);
setLinkingLine((prev) => ({
Expand All @@ -301,7 +301,7 @@ export default function Table(props) {
theme="solid"
size="small"
style={{
backgroundColor: "#d42020",
backgroundColor: "#d42020b3",
}}
icon={<IconMinus />}
onClick={() => deleteField(fieldData, tableData.id)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SimpleCanvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Table({ table, grab }) {
>
<div className={hoveredField === i ? "text-zinc-500" : ""}>
<button
className={`w-[9px] h-[9px] bg-[#2f68ad] rounded-full me-2`}
className={`w-[9px] h-[9px] bg-[#2f68adcc] rounded-full me-2`}
/>
{e.name}
</div>
Expand Down

0 comments on commit 99cee1c

Please sign in to comment.