Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
🔀 merge pull request #12 from onRuntime/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineKM authored Aug 31, 2021
2 parents e2e88fa + 4c40336 commit 6ad8d0b
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 9 deletions.
31 changes: 24 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,35 @@ Instagram dark extension is an extension which aims to change the theme of the [

## Installation

* <a href="https://chrome.google.com/webstore/detail/instagram-dark-theme/hhpaefgagkcciebgfdmoljlebdmpfcfb">Instagram Dark Extension for Chrome
<p><img src="https://img.shields.io/chrome-web-store/v/hhpaefgagkcciebgfdmoljlebdmpfcfb" alt="Chrome Web Store version"> <img src="https://img.shields.io/chrome-web-store/users/hhpaefgagkcciebgfdmoljlebdmpfcfb" alt="Chrome Web Store users"></p></a>
* <a href="https://chrome.google.com/webstore/detail/instagram-dark-theme/hhpaefgagkcciebgfdmoljlebdmpfcfb">
Instagram Dark Extension for Chrome
<p>
<img src="https://img.shields.io/chrome-web-store/v/hhpaefgagkcciebgfdmoljlebdmpfcfb" alt="Chrome Web Store version">
<img src="https://img.shields.io/chrome-web-store/users/hhpaefgagkcciebgfdmoljlebdmpfcfb" alt="Chrome Web Store users">
</p>
</a>

* <a href="https://addons.mozilla.org/fr/firefox/addon/instagram-dark">Instagram Dark Extension for Firefox
<p><img src="https://img.shields.io/amo/v/instagram-dark" alt="Mozilla Add-on version"> <img src="https://img.shields.io/amo/dw/instagram-dark" alt="Mozilla Add-on downloads"> <img src="https://img.shields.io/amo/users/instagram-dark" alt="Mozilla Add-on users"> <img src="https://img.shields.io/amo/stars/instagram-dark" alt="Mozilla Add-on stars"></p></a>
* <a href="https://addons.mozilla.org/fr/firefox/addon/instagram-dark">
Instagram Dark Extension for Firefox
<p>
<img src="https://img.shields.io/amo/v/instagram-dark" alt="Mozilla Add-on version">
<img src="https://img.shields.io/amo/users/instagram-dark" alt="Mozilla Add-on users">
<img src="https://img.shields.io/amo/dw/instagram-dark" alt="Mozilla Add-on downloads">
<img src="https://img.shields.io/amo/stars/instagram-dark" alt="Mozilla Add-on stars">
</p>
</a>

* <a href="https://microsoftedge.microsoft.com/addons/detail/instagram-dark-theme/dhpoocfaphdchlaabhnacbffnacpagoj">Instagram Dark Extension for Edge
<p><img src="https://img.shields.io/badge/dynamic/json?label=edge%20add-on&prefix=v&query=%24.version&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fdhpoocfaphdchlaabhnacbffnacpagoj" alt="Edge Add-on version"> <img src="https://img.shields.io/badge/dynamic/json?label=users&query=%24.activeInstallCount&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fdhpoocfaphdchlaabhnacbffnacpagoj" alt="Edge Add-on users"></p></a>
* <a href="https://microsoftedge.microsoft.com/addons/detail/instagram-dark-theme/dhpoocfaphdchlaabhnacbffnacpagoj">
Instagram Dark Extension for Edge
<p>
<img src="https://img.shields.io/badge/dynamic/json?label=edge%20add-on&prefix=v&query=%24.version&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fdhpoocfaphdchlaabhnacbffnacpagoj" alt="Edge Add-on version">
<img src="https://img.shields.io/badge/dynamic/json?label=users&query=%24.activeInstallCount&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fdhpoocfaphdchlaabhnacbffnacpagoj" alt="Edge Add-on users">
</p>
</a>

## Usage

[Demo video](https://youtu.be/5rN5d45Rt7Y)
[Demo video](https://youtu.be/lTHWX66-kUg)

## Support

Expand Down
93 changes: 93 additions & 0 deletions css/contentstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,89 @@
padding: 5px 9px;
}

/* appearance popup */
#instagram-dark-wrapper .appearance {
display: none;
width: 100%;
height: 100%;
background-color: rgba(91, 112, 131, 0.4);
display: flex;
align-items: center;
justify-content: center;
}

#instagram-dark-wrapper .appearance .appearance-container {
min-width: 600px;
max-width: 80vw;
background-color: rgba(var(--d87,255,255,255),1);
padding: 15px;
border-radius: 12px;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-header {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin: 30px 0;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-header .appearance-header-title {
font-size: 20px;
font-weight: 600;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-header .appearance-header-description {
margin-top: 15px;
color: rgba(var(--f52,142,142,142),1);
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories {
margin-top: 15px;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category {
margin-top: 10px;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category:first-child {
margin-top: 0;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category .appearance-category-title {
font-weight: 600;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category .appearance-category-selector {
margin-top: 5px;
padding: 10px;
display: flex;
flex-direction: row;
background-color: rgba(var(--f52,142,142,142),1);
border-radius: 12px;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category .appearance-category-selector .appearance-category-selector-card {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background-color: red;
border-radius: 12px;
margin: 0 5px;
min-height: 50px;
cursor: pointer;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category .appearance-category-selector .appearance-category-selector-card:first-child {
margin-left: 0;
}

#instagram-dark-wrapper .appearance .appearance-container .appearance-categories .appearance-category .appearance-category-selector .appearance-category-selector-card:last-child {
margin-right: 0;
}

/* toggle dark button */
#instagram-dark-toggle-button {
display: flex;
Expand Down Expand Up @@ -118,6 +201,16 @@

/* Redesign */

/* font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body,
input,
button,
textarea {
font-family: 'Poppins', sans-serif !important;
}

/* scrollbar */
html,
body {
Expand Down
5 changes: 3 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Instagram Dark Theme",
"version": "1.1.11",
"version": "1.1.12",
"description": "Dark Theme for Instagram",
"icons": {
"128": "img/icon.png"
Expand All @@ -24,6 +24,7 @@
"img/*"
],
"permissions": [
"storage"
"storage",
"*://fonts.googleapis.com/"
]
}

0 comments on commit 6ad8d0b

Please sign in to comment.