Skip to content

Commit 8349648

Browse files
[WEB-5614] chore: package and layout enhancements #8403
1 parent 409a3e8 commit 8349648

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const ProjectLayoutRoot = observer(function ProjectLayoutRoot() {
8080
}}
8181
/>
8282
)}
83-
<div className="relative h-full w-full overflow-auto bg-layer-2">
83+
<div className="relative h-full w-full overflow-auto bg-surface-1">
8484
{/* mutation loader */}
8585
{issues?.getIssueLoader() === "mutation" && (
8686
<div className="fixed w-[40px] h-[40px] z-50 right-[20px] top-[70px] flex justify-center items-center bg-layer-1 shadow-sm rounded-sm">

apps/web/core/components/rich-filters/filters-row.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const FiltersRow = observer(function FiltersRow<K extends TFilterProperty
119119
);
120120

121121
const mainContent = (
122-
<div className="w-full flex items-start gap-2">
122+
<div className="w-full flex items-start gap-2 bg-layer-1 px-4 py-2 rounded-lg">
123123
<div className="w-full flex flex-wrap items-center gap-2">{leftContent}</div>
124124
<div
125125
className={cn("flex items-center gap-2 border-l border-subtle pl-4", {
@@ -136,7 +136,7 @@ export const FiltersRow = observer(function FiltersRow<K extends TFilterProperty
136136
);
137137

138138
const HeaderVariant = (
139-
<Header variant={EHeaderVariant.TERNARY} className="min-h-11 bg-layer-1">
139+
<Header variant={EHeaderVariant.TERNARY} className="!px-3 min-h-11 bg-surface-1">
140140
{mainContent}
141141
</Header>
142142
);

packages/propel/src/button/helper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const buttonVariants = cva(
77
variants: {
88
variant: {
99
primary:
10-
"bg-accent-primary hover:bg-accent-primary-hover active:bg-accent-primary-active disabled:bg-layer-disabled text-on-color disabled:text-disabled",
10+
"bg-accent-primary hover:bg-accent-primary-hover active:bg-accent-primary-active disabled:bg-layer-disabled text-on-color disabled:text-on-color-disabled",
1111
"error-fill":
1212
"bg-danger-primary hover:bg-danger-primary-hover active:bg-danger-primary-active disabled:bg-layer-disabled text-on-color disabled:text-disabled",
1313
"error-outline":

packages/propel/src/icon-button/helper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const iconButtonVariants = cva(
88
variants: {
99
variant: {
1010
primary:
11-
"bg-accent-primary hover:bg-accent-primary-hover active:bg-accent-primary-active focus:bg-accent-primary-active disabled:bg-layer-disabled text-on-color disabled:text-disabled",
11+
"bg-accent-primary hover:bg-accent-primary-hover active:bg-accent-primary-active focus:bg-accent-primary-active disabled:bg-layer-disabled text-on-color disabled:text-on-color-disabled",
1212
"error-fill":
1313
"bg-danger-primary hover:bg-danger-primary-hover active:bg-danger-primary-active focus:bg-danger-primary-active disabled:bg-layer-disabled text-on-color disabled:text-disabled",
1414
"error-outline":

packages/ui/src/button/helper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const buttonStyling: IButtonStyling = {
4141
default: `text-on-color bg-accent-primary`,
4242
hover: `hover:bg-accent-primary/80`,
4343
pressed: `focus:text-custom-brand-40 focus:bg-accent-primary/80`,
44-
disabled: `cursor-not-allowed !bg-layer-1 !text-placeholder`,
44+
disabled: `cursor-not-allowed !bg-layer-1 !text-on-color-disabled`,
4545
},
4646
"accent-primary": {
4747
default: `bg-accent-primary/20 text-accent-primary`,

0 commit comments

Comments
 (0)