Skip to content

Commit

Permalink
Removed unnecessary styles in styles.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Sep 16, 2020
1 parent b81f80c commit 2962d2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
Expand Up @@ -8,7 +8,7 @@ const theme: ICustomTheme = {
offFont: '#f8f8f2',
border: '#40414d',
offBorder: '#383942',
headerBg: '#303240', // var(--theme-off-bg-color);
headerBg: '#303240',
},
editor: {
colors: {
Expand Down
4 changes: 2 additions & 2 deletions packages/altair-app/src/app/services/theme/theme.ts
Expand Up @@ -57,9 +57,9 @@ const theme = deepmerge(foundations, {
comment: foundations.colors.darkGray,
string: foundations.colors.orange,
number: foundations.colors.orange,
variable: foundations.colors.black, // var(--theme-font-color);
variable: foundations.colors.black,
keyword: foundations.colors.blue,
atom: foundations.colors.black, // var(--theme-font-color);
atom: foundations.colors.black,
attribute: foundations.colors.green,
property: foundations.colors.blue,
punctuation: foundations.colors.blue,
Expand Down
19 changes: 0 additions & 19 deletions packages/altair-app/src/styles.scss
Expand Up @@ -13,22 +13,3 @@
@import "scss/globals";
@import "scss/framework";
@import "scss/all";

@mixin dark-theme {
// Reset the imported modules for the new theme.
// This is required because clarity uses the exports mixin mechanism to prevent loading components multiple times.
// This prevents being able to include styles for the component in the new theme class.
// $imported-modules: () !global;

}

.dark-theme {
@include dark-theme;
}

.system-theme {
@media (prefers-color-scheme: dark) {
@include dark-theme;
}
// @media (prefers-color-scheme: light) {}
}

0 comments on commit 2962d2e

Please sign in to comment.