-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from prose-im/dark-mode
Dark Mode
- Loading branch information
Showing
79 changed files
with
670 additions
and
489 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
1 change: 0 additions & 1 deletion
1
src/assets/images/components/base/BaseAlert/badge-icon-checkmark.svg
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/assets/images/components/base/BaseAlert/badge-icon-exclamation.svg
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/assets/images/components/base/BaseAlert/badge-icon-information.svg
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 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 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* This file is part of prose-app-web | ||
* | ||
* Copyright 2023, Prose Foundation | ||
*/ | ||
|
||
/* ************************************************************************* | ||
* TOOLS > FUNCTIONS | ||
* **************************************************************************/ | ||
|
||
@function hex-var($color) { | ||
@return red($color) + ", " + green($color) + ", " + blue($color); | ||
} | ||
|
||
@function color-mix-var($base, $color, $percent) { | ||
@return color-mix(in srgb, rgb($color) (100% - $percent), rgb($base)); | ||
} | ||
|
||
@function lighten-var($color, $percent) { | ||
// Notice: apply a corrective factor to the percent so that it looks almost \ | ||
// like SCSS lighten() function. | ||
@return color-mix-var(var(--color-white), $color, ($percent * 1.3)); | ||
} | ||
|
||
@function darken-var($color, $percent) { | ||
// Notice: apply a corrective factor to the percent so that it looks almost \ | ||
// like SCSS darken() function. | ||
@return color-mix-var(var(--color-black), $color, ($percent * 1.3)); | ||
} |
This file contains 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 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.