+* + Instagram Dark Extension for Chrome +
+ + +
+ -* Instagram Dark Extension for Firefox -+* + Instagram Dark Extension for Firefox +
+ + + + +
+ -* Instagram Dark Extension for Edge -+* + Instagram Dark Extension for Edge +
+ + +
+ ## Usage -[Demo video](https://youtu.be/5rN5d45Rt7Y) +[Demo video](https://youtu.be/lTHWX66-kUg) ## Support diff --git a/css/contentstyle.css b/css/contentstyle.css index 73fab14..c859434 100644 --- a/css/contentstyle.css +++ b/css/contentstyle.css @@ -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; @@ -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 { diff --git a/manifest.json b/manifest.json index db45f56..9051123 100644 --- a/manifest.json +++ b/manifest.json @@ -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" @@ -24,6 +24,7 @@ "img/*" ], "permissions": [ - "storage" + "storage", + "*://fonts.googleapis.com/" ] } \ No newline at end of file