Skip to content

Commit

Permalink
Added search styling, fixed home background
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseIngebritson committed May 24, 2020
1 parent 3c05a96 commit a27274f
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 15 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@

## v0.1.1
### Fixed
- Pointed the CHANGELOG releases link to the correct page
- Pointed the CHANGELOG releases link to the correct page

## v0.2.0
### Added
- Search popout styling
### Fixed
- Resolved missing home background color
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "noctis-viola-discord-theme",
"version": "0.1.1",
"version": "0.2.0",
"description": "A Better Discord theme based on the Noctis Viola VSCode theme.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/styles/noctis-viola.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Partials
@import 'partials/chat';
@import 'partials/guilds';
@import 'partials/home';
@import 'partials/search-popout';
@import 'partials/scroller';
@import 'partials/shaker';
@import 'partials/theme';
Expand Down
21 changes: 8 additions & 13 deletions src/styles/partials/_chat.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
// .da-chat {
// .da-chatContent {
// .da-scroller {
// background-color: transparent;
// }

// .da-form {
// &::before {
// display: none;
// }
// }
// }
// }
.da-chat {
.da-search {
.da-searchFilter,
.da-searchAnswer {
background-color: transparent !important;
}
}
}
5 changes: 5 additions & 0 deletions src/styles/partials/_home.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.container-1D34oG {
.theme-dark & {
background: none;
}
}
56 changes: 56 additions & 0 deletions src/styles/partials/_search-popout.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.theme-dark {
.container-3ayLPN {
background-color: var(--background-primary);
}

.da-queryContainer {
background-color: var(--background-secondary);
}

.da-option {
&::after {
background: none;
}

&.da-selected {
background-color: var(--background-tertiary);

&::after {
background: none;
}
}
}

.da-datePicker {
.da-calendarPicker {
.react-datepicker {
background-color: var(--background-primary);

&__header {
background-color: var(--background-primary);
}

&__day {
&:hover {
background-color: var(--interactive-hover);
}

&--outside-month,
&--disabled {
background-color: var(--background-tertiary) !important;
}
}
}
}

.da-datePickerHint {
.da-hintValue {
background-color: var(--interactive-normal);

&:hover {
background-color: var(--interactive-hover);
}
}
}
}
}

0 comments on commit a27274f

Please sign in to comment.