-
Notifications
You must be signed in to change notification settings - Fork 10
feat/light-mode #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
marcin-hoa
wants to merge
25
commits into
main
Choose a base branch
from
feature/light-mode
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat/light-mode #444
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d52b3b1
Reapply "feat: enable light mode (#255)" (#443)
marcin-hoa 956f02b
feat: light mode improvements
marcin-hoa c8ace7e
chore: clean-up
marcin-hoa 38ca2d3
fix: hamburger-button color
marcin-hoa e97641f
feat: added theme switcher - wip
marcin-hoa 9329dcd
feat: added theme switch and fixed cookies consent logic
marcin-hoa 0445dc3
feat: added theme in gh-giscus component
marcin-hoa e0a2694
feat: enhance theming support with light/dark variants and gradient o…
marcin-hoa 5fccbda
fix: typo
marcin-hoa e957263
fix(client): fixed issue with author card in article
DamianBrzezinskiHoA 18a4c96
fix(client): fixed issue after rebasing to main
DamianBrzezinskiHoA 097903d
feat(client): appended lightmode for roadmap section
DamianBrzezinskiHoA 44ba780
feat(client): changed roadmap lightmode
DamianBrzezinskiHoA 102f365
feat(client): changed primary tile color
DamianBrzezinskiHoA c04b42c
feat: add footer light mode support
dmaduzia 6f217ab
Merge branch 'main' into feature/light-mode
dmaduzia 564f72d
fix: update code block background color
dmaduzia 7d2e0d2
fix: prevent images from jumping when switching theme
dmaduzia 1bc2613
feat: use dark mode as default
dmaduzia 2764f48
chore: update roadmap colors
dmaduzia 0323183
Merge branch 'main' into feature/light-mode
dmaduzia e7281ca
chore: pr cleanup
dmaduzia 4b86026
chore: remove unused import
dmaduzia 169c1cd
refactor: address pr comments
dmaduzia 6013a04
refactor: address pr comment
dmaduzia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ import { | |
} from '@angular-love/blog/shared/ui-card'; | ||
import { InfiniteScrollTriggerDirective } from '@angular-love/blog/shared/ui-pagination'; | ||
import { SocialMediaIconsComponent } from '@angular-love/blog/shared/ui-social-media-icons'; | ||
import { AppThemeStore } from '@angular-love/data-access-app-theme'; | ||
|
||
@Component({ | ||
selector: 'al-about-us', | ||
|
@@ -41,6 +42,10 @@ export class FeatureAboutUsComponent implements OnInit { | |
return this.authorsCards()?.length || 0; | ||
}); | ||
|
||
readonly theme = inject(AppThemeStore).theme; | ||
|
||
|
||
readonly hideGradientInAuthorCards = computed(() => this.theme() === 'light'); | ||
|
||
private readonly _skip = this._authorListStore.skip; | ||
private readonly _total = this._authorListStore.total; | ||
private readonly _pageSize = this._authorListStore.pageSize; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.