Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BIDS 3131) accessibility for color blindness #510

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d44f943
(BIDS-3131) nothing
thib-wien Jun 17, 2024
e209016
Merge branch 'main' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jun 17, 2024
96cd2ba
(BIDS-3131) tests
thib-wien Jun 18, 2024
ea4cc52
(BIDS-3131) nothing
thib-wien Jun 19, 2024
42826cd
(BIDS-3131) color spaces are progressing
thib-wien Jun 20, 2024
9936c22
(BIDS-3131) the 12 conversions between colorspaces are implemented
thib-wien Jun 20, 2024
c3a6651
Merge branch 'staging' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jun 20, 2024
2327a25
(BIDS-3131) last 2 helpers for the 12 conversions
thib-wien Jun 20, 2024
f70176e
(BIDS-3131) the export functions are more flexible
thib-wien Jun 20, 2024
5d2dda5
(BIDS-3131) better help
thib-wien Jun 20, 2024
1f8c846
(BIDS-3131) Eye colorspace is inaccurate, a correction will come
thib-wien Jun 21, 2024
b796e5a
(BIDS-3131) better definition for the hue, w is renommed r
thib-wien Jun 21, 2024
804a90b
Merge branch 'staging' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jun 21, 2024
5fa9b2a
(BIDS-3131) better definition of the purity p. edge cases fixed. unit…
thib-wien Jun 22, 2024
a92126a
(BIDS-3131) correction in the calculation of iMax that I forgot to te…
thib-wien Jun 22, 2024
28858f8
(BIDS-3131) the scale of intensities is adjusted to match human perce…
thib-wien Jun 23, 2024
5b1c88f
(BIDS-3131) better explanation
thib-wien Jun 23, 2024
a9acdd8
(BIDS-3131) all scales are now adjusted to look linear to the human e…
thib-wien Jun 23, 2024
6f43bb4
(BIDS-3131) typo
thib-wien Jun 23, 2024
a9bc516
(BIDS-3131) simplification of the parameters to balance the rainbow a…
thib-wien Jun 23, 2024
709dc0e
(BIDS-3131) detail about genericity
thib-wien Jun 23, 2024
0b63326
(BIDS-3131) clearer explanation
thib-wien Jun 23, 2024
63c3dae
(BIDS-3131) clearer explanation
thib-wien Jun 23, 2024
ffec947
(BIDS-3131) some cleaning in the comments before switching to a BIDS …
thib-wien Jun 24, 2024
deafc3b
(BIDS-3131) some rework for mathematical relevance of the model in pr…
thib-wien Jun 25, 2024
ccf9897
(BIDS-3131) removal of wrong test files
thib-wien Jun 26, 2024
8ba391f
Merge branch 'staging' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jun 26, 2024
8ae6e52
(BIDS-3131) debugging in progress... one edge case in the new model h…
thib-wien Jun 27, 2024
b2f357f
(BIDS-3131) the model is even more adjustable
thib-wien Jun 28, 2024
c2ccd00
Merge branch 'staging' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jun 28, 2024
51d428b
(BIDS-3131) preparing a deep change in the defintion of r
thib-wien Jul 7, 2024
9a48fef
(BIDS-3131) experiment with r
thib-wien Jul 8, 2024
de0b861
Merge branch 'staging' into BIDS-3131/accessibility-for-color-blindness
thib-wien Jul 12, 2024
74e05cc
(BIDS-3131) Displays more tests to adjust the color space. Revealed t…
thib-wien Jul 12, 2024
0b974eb
(BIDS-3131) new model of human vision, now needs to be adjusted
thib-wien Jul 15, 2024
8200d27
(BIDS-3131) model completed, ready for step 2 in the plan
thib-wien Jul 16, 2024
4894e92
(BIDS-3131) a first definition of color distance. Not highly convince…
thib-wien Jul 18, 2024
18edc15
(BIDS-3131) Distance might be fine after this small fix. Next commits…
thib-wien Jul 19, 2024
249d7da
(BIDS-3131) more relevant info from the helpers in case of equality b…
thib-wien Aug 5, 2024
5987a4f
(BIDS-3131) home-made algorithm, untested yet
thib-wien Aug 7, 2024
6f6ec35
(BIDS-3131) home-made algorithm, untested yet
thib-wien Aug 7, 2024
f0efeff
(BIDS-3131) debugged, but it needs seconds (not ms) to produce good c…
thib-wien Aug 8, 2024
4a4e036
(BIDS-3131) new objective function for better magic\!
thib-wien Aug 8, 2024
a801e7f
(BIDS-3131) exploring other obj funcs
thib-wien Aug 8, 2024
9af2c8d
(BIDS-3131) CSS refactor
thib-wien Aug 8, 2024
916f1b1
(BIDS-3131) trying to follow the new eslint rules
thib-wien Aug 8, 2024
25230b4
(BIDS-3131) trying to follow the new eslint rules
thib-wien Aug 8, 2024
f0b8d00
(BIDS-3131) better magic thanks to bigger steps for confused colors
thib-wien Aug 8, 2024
c937e7e
(BIDS-3131) checkpoint before changing the search space (next commit:…
thib-wien Aug 8, 2024
c20b57f
(BIDS-3131) much better magic thanks to climbing phases that escape l…
thib-wien Aug 9, 2024
64e46e7
(BIDS-3131) stops after 2000xN iterations
thib-wien Aug 9, 2024
6f92363
(BIDS-3131) checkpoint: last working version, the next one has to be …
thib-wien Aug 10, 2024
5a24f5f
(BIDS-3131) bug
thib-wien Aug 10, 2024
116123f
(BIDS-3131) fixed. Two variants of the search stage are run and the b…
thib-wien Aug 10, 2024
e132148
(BIDS-3131) restructured, ready for being embedded in a larger metahe…
thib-wien Aug 11, 2024
1ff5100
(BIDS-3131) demo on the playground makes testing easier
thib-wien Aug 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/assets/css/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
--orange-color: var(--light-orange);
--black-transparent-3: rgba(0, 0, 0, 0.3);

@mixin default {
--primary-contrast-color: var(--grey-4);
--primary-contrast-color-discreet: var(--light-grey-5);

Expand Down Expand Up @@ -152,8 +153,14 @@
--toast-message-error-color: var(--bold-red);
--toast-background-error-color: var(--pastel-red);
--toast-border-error-color: var(--bold-red);
}

&.light-mode {
@include default;
}

&.dark-mode {
@include default;
--primary-color: var(--primary-orange);
--primary-contrast-color: var(--light-black);
--primary-contrast-color-discreet: var(--dark-grey);
Expand Down
Loading
Loading