Skip to content

Commit 11506d7

Browse files
committed
change for opaque title bar
1 parent e40980e commit 11506d7

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

site_jaspr/lib/components/homepage_layout.dart

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,7 @@ class HomepageLayout extends PageLayoutBase {
122122
css('&').styles(
123123
position: Position.fixed(top: Unit.zero, left: Unit.zero, right: Unit.zero),
124124
zIndex: ZIndex(10),
125-
raw: {
126-
'backdrop-filter': 'blur(8px)',
127-
'background-color': 'rgba(255, 255, 255, 0.7)',
128-
},
125+
backgroundColor: Colors.white,
129126
),
130127
]),
131128

@@ -250,9 +247,9 @@ class HomepageLayout extends PageLayoutBase {
250247
css('&:hover').styles(textDecoration: TextDecoration(line: TextDecorationLine.underline)),
251248
]),
252249
]),
253-
// Semi-transparent header in dark mode for homepage blur effect
250+
// Opaque header in dark mode for homepage
254251
css('[data-theme="dark"] .homepage .header-container').styles(
255-
raw: {'background-color': 'rgba(8, 24, 66, 0.7)'},
252+
backgroundColor: Color('#081842'),
256253
),
257254
// Hide the empty content section rendered by the Content component
258255
css('.homepage .content').styles(display: Display.none),

0 commit comments

Comments
 (0)