Skip to content

Commit

Permalink
Merge pull request #7 from wiseaidev/dev-v011
Browse files Browse the repository at this point in the history
update contrib, add grey scale, hue rotate, invert, hide images
  • Loading branch information
wiseaidev authored Mar 12, 2023
2 parents e7ca900 + dbe2c3a commit 07b4323
Show file tree
Hide file tree
Showing 7 changed files with 723 additions and 61 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ about: "[Bug \U0001F41B]: Create a bug report for Flexify."
title: "[\U0001F41B Bug]: Bug Title."
labels: needs triage
assignees: wiseaidev

---

**👶 Getting Started**
Please [search the history](https://github.com/wiseaidev/flexify/issues) to see if an issue already exists for the same problem.

- [ ] I have searched the existing issues.
- [ ] I have tested the latest version.

Expand All @@ -20,6 +20,7 @@ Please provide a link to a live example and an unambiguous set of steps to repro

Link to live example:
Steps:

1.
2.
3.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ about: "[Feature\U0001F484]: Suggest a new idea for Flexify."
title: "[\U0001F484Feature]: Feature title."
labels: needs triage
assignees: wiseaidev

---

**👶 Getting Started**
Please [search the history](https://github.com/wiseaidev/flexify/issues) to see if an issue already exists for the same problem.

- [ ] I have searched the existing issues.
- [ ] I have tested the latest version.

Expand Down
14 changes: 4 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,26 @@ git clone git@github.com:your_name_here/flexify.git
cd flexify
```

4. Install the main dependencies:

```sh
npm install
```

5. Create a branch for local development:
4. Create a branch for local development:

```sh
git checkout -b name-of-your-bugfix-or-feature
```

6. Commit your changes and push your branch to GitHub:
5. Commit your changes and push your branch to GitHub:

```sh
git add .
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature
```

7. Submit a pull request through the GitHub website.
6. Submit a pull request through the GitHub website.

## 📙 Pull Request Guidelines.

Before you submit a pull request, check that it meets these guidelines:

1. The pull request should include tests, if applicable.

Thank you for helping us improve!
Thank you for helping us improve!
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "Flexify",
"permissions": ["tabs", "activeTab", "scripting", "storage"],
"short_name": "Flexify",
"version": "0.1.0",
"version": "0.1.1",
"web_accessible_resources": [
{
"resources": ["/scripts/*", "/lib/*", "/data/*"],
Expand Down
95 changes: 66 additions & 29 deletions popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ html {
#dark-contrast-switch,
#low-saturation-switch,
#high-saturation-switch,
#hide-images-switch,
#grey-scale-switch,
#monochrome-switch,
#dyslexia-friendly-switch,
Expand Down Expand Up @@ -195,6 +196,7 @@ html {
.text-magnifier-mode-toggle,
.high-contrast-mode-toggle,
.high-saturation-mode-toggle,
.hide-images-mode-toggle,
.low-saturation-mode-toggle,
.monochrome-mode-toggle,
.dyslexia-friendly-mode-toggle,
Expand All @@ -219,6 +221,7 @@ html {
.text-magnifier-mode-toggle:before,
.high-contrast-mode-toggle:before,
.high-saturation-mode-toggle:before,
.hide-images-mode-toggle:before,
.low-saturation-mode-toggle:before,
.monochrome-mode-toggle:before,
.dyslexia-friendly-mode-toggle:before,
Expand All @@ -243,6 +246,7 @@ html {
.adhd-friendly-mode-toggle:checked,
.high-contrast-mode-toggle:checked,
.high-saturation-mode-toggle:checked,
.hide-images-mode-toggle:checked,
.low-saturation-mode-toggle:checked,
.monochrome-mode-toggle:checked,
.text-magnifier-mode-toggle:checked,
Expand All @@ -260,6 +264,7 @@ html {
.text-magnifier-mode-toggle:checked:before,
.dark-contrast-mode-toggle:checked:before,
.high-saturation-mode-toggle:checked:before,
.hide-images-mode-toggle:checked:before,
.low-saturation-mode-toggle:checked:before,
.monochrome-mode-toggle:checked:before,
.dyslexia-friendly-mode-toggle:checked:before,
Expand Down Expand Up @@ -293,6 +298,7 @@ html {
.text-magnifier-title-box,
.high-contrast-title-box,
.high-saturation-title-box,
.hide-images-title-box,
.grey-scale-title-box,
.low-saturation-title-box,
.monochrome-title-box,
Expand All @@ -314,6 +320,7 @@ html {
.high-saturation-title-profile,
.low-saturation-title-profile,
.monochrome-title-profile,
.hide-images-title-profile,
.dark-contrast-title-profile,
.dyslexia-friendly-title-profile,
.color-blind-friendly-title-profile,
Expand Down Expand Up @@ -472,6 +479,7 @@ h3 {
.letter-spacing-icon,
.monochrome-icon,
.high-saturation-icon,
.hide-images-icon,
.grey-scale-icon,
.low-saturation-icon,
.color-blind-icon {
Expand Down Expand Up @@ -594,60 +602,74 @@ h3 {
}

#change-background-color-switch input[type="radio"],
#change-text-color-switch input[type="radio"] {
#change-text-color-switch input[type="radio"],
#change-title-color-switch input[type="radio"] {
display: none;
}
#change-background-color-switch input[type="radio"]:checked + label span,
#change-text-color-switch input[type="radio"]:checked + label span {
#change-text-color-switch input[type="radio"]:checked + label span,
#change-title-color-switch input[type="radio"]:checked + label span {
transform: scale(1.25);
}
#change-background-color-switch input[type="radio"]:checked + label .red,
#change-text-color-switch input[type="radio"]:checked + label .red {
#change-text-color-switch input[type="radio"]:checked + label .red,
#change-title-color-switch input[type="radio"]:checked + label .red {
border: 2px solid #711313;
}
#change-background-color-switch input[type="radio"]:checked + label .orange,
#change-text-color-switch input[type="radio"]:checked + label .orange {
#change-text-color-switch input[type="radio"]:checked + label .orange,
#change-title-color-switch input[type="radio"]:checked + label .orange {
border: 2px solid #873a08;
}
#change-background-color-switch input[type="radio"]:checked + label .yellow,
#change-text-color-switch input[type="radio"]:checked + label .yellow {
#change-text-color-switch input[type="radio"]:checked + label .yellow,
#change-title-color-switch input[type="radio"]:checked + label .yellow {
border: 2px solid #816102;
}
#change-background-color-switch input[type="radio"]:checked + label .black,
#change-text-color-switch input[type="radio"]:checked + label .black {
#change-text-color-switch input[type="radio"]:checked + label .black,
#change-title-color-switch input[type="radio"]:checked + label .black {
border: 2px solid #505a0b;
}
#change-background-color-switch input[type="radio"]:checked + label .white,
#change-text-color-switch input[type="radio"]:checked + label .white {
#change-text-color-switch input[type="radio"]:checked + label .white,
#change-title-color-switch input[type="radio"]:checked + label .white {
border: 2px solid #e2eeed;
}
#change-background-color-switch input[type="radio"]:checked + label .green,
#change-text-color-switch input[type="radio"]:checked + label .green {
#change-text-color-switch input[type="radio"]:checked + label .green,
#change-title-color-switch input[type="radio"]:checked + label .green {
border: 2px solid #0e4e1d;
}
#change-background-color-switch input[type="radio"]:checked + label .teal,
#change-text-color-switch input[type="radio"]:checked + label .teal {
#change-text-color-switch input[type="radio"]:checked + label .teal,
#change-title-color-switch input[type="radio"]:checked + label .teal {
border: 2px solid #003633;
}
#change-background-color-switch input[type="radio"]:checked + label .blue,
#change-text-color-switch input[type="radio"]:checked + label .blue {
#change-text-color-switch input[type="radio"]:checked + label .blue,
#change-title-color-switch input[type="radio"]:checked + label .blue {
border: 2px solid #103f62;
}
#change-background-color-switch input[type="radio"]:checked + label .violet,
#change-text-color-switch input[type="radio"]:checked + label .violet {
#change-text-color-switch input[type="radio"]:checked + label .violet,
#change-title-color-switch input[type="radio"]:checked + label .violet {
border: 2px solid #321a64;
}
#change-background-color-switch input[type="radio"]:checked + label .purple,
#change-text-color-switch input[type="radio"]:checked + label .purple {
#change-text-color-switch input[type="radio"]:checked + label .purple,
#change-title-color-switch input[type="radio"]:checked + label .purple {
border: 2px solid #501962;
}
#change-background-color-switch input[type="radio"]:checked + label .pink,
#change-text-color-switch input[type="radio"]:checked + label .pink {
#change-text-color-switch input[type="radio"]:checked + label .pink,
#change-title-color-switch input[type="radio"]:checked + label .pink {
border: 2px solid #851554;
}

#change-background-color-switch label,
#change-text-color-switch label {
#change-text-color-switch label,
#change-title-color-switch label {
display: inline-block;
width: 25px;
height: 25px;
Expand All @@ -660,11 +682,13 @@ h3 {
text-align: center;
}
#change-background-color-switch label:hover span,
#change-text-color-switch label:hover span {
#change-text-color-switch label:hover span,
#change-title-color-switch label:hover span {
transform: scale(1.25);
}
#change-background-color-switch label span,
#change-text-color-switch label span {
#change-text-color-switch label span,
#change-title-color-switch label span {
display: inline-block;
cursor: pointer;
border-radius: 50%;
Expand All @@ -678,58 +702,71 @@ h3 {
transition: transform 0.2s ease-in-out;
}
#change-text-color-switch label span.red,
#change-background-color-switch label span.red {
#change-background-color-switch label span.red,
#change-title-color-switch label span.red {
background: #db2828;
}
#change-background-color-switch label span.orange,
#change-text-color-switch label span.orange {
#change-text-color-switch label span.orange,
#change-title-color-switch label span.orange {
background: #f2711c;
}
#change-background-color-switch label span.yellow,
#change-text-color-switch label span.yellow {
#change-text-color-switch label span.yellow,
#change-title-color-switch label span.yellow {
background: #fbbd08;
}
#change-background-color-switch label span.black,
#change-text-color-switch label span.black {
#change-text-color-switch label span.black,
#change-title-color-switch label span.black {
background: #10100f;
}
#change-background-color-switch label span.white,
#change-text-color-switch label span.white {
#change-text-color-switch label span.white,
#change-title-color-switch label span.white {
background: white;
}
#change-background-color-switch label span.green,
#change-text-color-switch label span.green {
#change-text-color-switch label span.green,
#change-title-color-switch label span.green {
background: #21ba45;
}
#change-background-color-switch label span.teal,
#change-text-color-switch label span.teal {
#change-text-color-switch label span.teal,
#change-title-color-switch label span.teal {
background: #00b5ad;
}
#change-background-color-switch label span.blue,
#change-text-color-switch label span.blue {
#change-text-color-switch label span.blue,
#change-title-color-switch label span.blue {
background: #2185d0;
}
#change-background-color-switch label span.violet,
#change-text-color-switch label span.violet {
#change-text-color-switch label span.violet,
#change-title-color-switch label span.violet {
background: #6435c9;
}
#change-background-color-switch label span.purple,
#change-text-color-switch label span.purple {
#change-text-color-switch label span.purple,
#change-title-color-switch label span.purple {
background: #a333c8;
}
#change-background-color-switch label span.pink,
#change-text-color-switch label span.pink {
#change-text-color-switch label span.pink,
#change-title-color-switch label span.pink {
background: #e03997;
}

#change-background-color-switch .toggle-container,
#change-text-color-switch .toggle-container {
#change-text-color-switch .toggle-container,
#change-title-color-switch .toggle-container {
display: flex;
flex-direction: column;
}

.change-background-color-switch-title,
.change-text-color-switch-title {
.change-text-color-switch-title,
.change-title-color-switch-title {
font-size: 18px;
}

Expand Down
Loading

0 comments on commit 07b4323

Please sign in to comment.