Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix colors in baseline modal

Behrokh Satarnejadcdf55bb9d11f
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
index 275c7cddbb7..4936b9e4400 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
@@ -8,7 +8,7 @@
flex-direction: column
width: 280px
margin: $spot-spacing-1 $spot-spacing-1 0 $spot-spacing-1
- color: $spot-color-basic-gray-2
+ color: var(--fgColor-muted)
&:has(+ .op-baseline--body_ranged)
width: auto
@@ -47,8 +47,8 @@
display: flex
align-items: flex-end
justify-content: center
- background-color: $spot-color-basic-gray-6
- border: 1px solid $spot-color-basic-gray-4
+ background-color: var(--bgColor-neutral-muted)
+ border: 1px solid var(--borderColor-default)
border-left: none !important
padding: $spot-spacing-0_5 $spot-spacing-0_25
line-height: 1rem
diff --git a/frontend/src/app/spot/styles/sass/components/form-field.sass b/frontend/src/app/spot/styles/sass/components/form-field.sass
index e02cedffae0..75ad7d483db 100644
--- a/frontend/src/app/spot/styles/sass/components/form-field.sass
+++ b/frontend/src/app/spot/styles/sass/components/form-field.sass
@@ -46,7 +46,7 @@
@include spot-caption
font-style: italic
margin-bottom: $spot-spacing-0_25
- color: $spot-color-basic-gray-2
+ color: var(--fgColor-muted)
&--errors
display: flex