-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sadanand Pai
committed
Oct 2, 2023
1 parent
b00ac9b
commit 0183aca
Showing
10 changed files
with
25 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ | |
} | ||
|
||
a.active { | ||
color: white; | ||
color: theme.$light; | ||
background-color: theme.$primary; | ||
} | ||
|
||
|
10 changes: 5 additions & 5 deletions
10
src/apps/sorting-visualizer/components/theme/mode-icon.module.scss
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 |
---|---|---|
|
@@ -24,5 +24,5 @@ | |
.warning { | ||
font-size: 1.15rem; | ||
font-weight: 500; | ||
color: rgb(255 47 47); | ||
color: theme.$error; | ||
} |
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ body { | |
top: 0; | ||
left: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
height: 100%; | ||
pointer-events: none; | ||
|
||
* { | ||
|
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
$dark: var(--dark); | ||
$light: var(--light); | ||
$base: var(--base); | ||
$background: var(--background); | ||
$primary: var(--primary); | ||
$shadow1: var(--shadow1); | ||
$shadow2: var(--shadow2); | ||
$error: var(--error); |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
@use "../colors"; | ||
|
||
@mixin dark-theme { | ||
--light: #{colors.$white}; | ||
--dark: #{colors.$black}; | ||
--base: #{colors.$white}; | ||
--background: #{colors.$black}; | ||
--primary: #{colors.$blue1}; | ||
--shadow1: #{colors.$white1}; | ||
--shadow2: #{colors.$white2}; | ||
--error: #{colors.$red1}; | ||
} |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
@use "../colors"; | ||
|
||
@mixin light-theme { | ||
--light: #{colors.$white}; | ||
--dark: #{colors.$black}; | ||
--base: #{colors.$black}; | ||
--background: #{colors.$white}; | ||
--primary: #{colors.$blue1}; | ||
--shadow1: #{colors.$black1}; | ||
--shadow2: #{colors.$black2}; | ||
--error: #{colors.$red1}; | ||
} |