Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Add dark theme

See merge request minecraft/ConvertJavaTextureToBedrock!31
  • Loading branch information
ozelot379 committed Jan 28, 2020
2 parents c0641eb + 53dab73 commit 1f87852
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 19 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [3.2.5]
- Add dark theme

## [3.2.4]
- Keep "Experimental conversions" switch state

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ozelot379/convert-minecraft-java-texture-to-bedrock",
"productName": "ConvertJavaTextureToBedrock",
"version": "3.2.4",
"version": "3.2.5",
"description": "Convert Minecraft Java texture packs to Bedrock texture packs",
"keywords": [
"Minecraft",
Expand Down
65 changes: 47 additions & 18 deletions src/webapp/css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,8 @@ html, body {
height: 100%;
}

#toastMessage {
cursor: pointer;
margin: 0;
opacity: 0;
position: fixed;
right: 20px;
top: 50px;
transition-duration: 300ms;
transition-property: opacity, top, visibility;
visibility: hidden;

&[data-show] {
opacity: 1;
top: 20px;
visibility: visible;
}
}

main {
.white;
.black-text;
align-items: center;
border-color: currentColor;
Expand Down Expand Up @@ -78,3 +61,49 @@ footer {
}
}
}

#toastMessage {
cursor: pointer;
margin: 0;
opacity: 0;
position: fixed;
right: 20px;
top: 50px;
transition-duration: 300ms;
transition-property: opacity, top, visibility;
visibility: hidden;

&[data-show] {
opacity: 1;
top: 20px;
visibility: visible;
}
}

@media (prefers-color-scheme: dark) {
main {
.grey.darken-4;
.white-text;
}

.swal-modal {
.grey.darken-4;
.white-text;
}

.swal-title {
.white-text;
}

.swal-icon--success {
&::before,
&::after,
&__hide-corners {
background-color: transparent;
}
}

.log {
.grey.darken-3;
}
}

0 comments on commit 1f87852

Please sign in to comment.