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

Add light mode! #52

Merged
merged 40 commits into from
Jul 14, 2022
Merged

Add light mode! #52

merged 40 commits into from
Jul 14, 2022

Conversation

JamesNZL
Copy link
Owner

Adds light mode, and refactors .SCSS stylesheet(s).

Is set to System by default, which uses the @media (prefers-color-scheme: dark) CSS media query to match the browser's setting.

Also merges #51, creating a new SegmentedControl element.

image

image

image

Squashed commit of the following:

commit f51c197
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 14:04:31 2022 +1200

    build(gulp): :package: add `postcss` to build system

commit dd0389f
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 13:49:18 2022 +1200

    chore(gulp): :bug: fix `Source[]` type

commit 006168d
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 13:05:56 2022 +1200

    build(deps-dev): :heavy_minus_sign: remove `gulp-autoprefixer`

commit 4a55711
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 13:05:37 2022 +1200

    build(deps-dev): :heavy_plus_sign: install `autoprefixer`

commit 03fd035
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 13:05:11 2022 +1200

    build(deps-dev): :heavy_plus_sign: install `cssnano`

commit a9ad397
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 11:35:59 2022 +1200

    build(deps-dev): :heavy_plus_sign: install `gulp-postcss`

commit c9dddf1
Author: James <james@jamesnzl.xyz>
Date:   Mon Jul 11 11:35:11 2022 +1200

    build(deps-dev): :heavy_plus_sign: install `postcss`
Squashed commit of the following:

commit 479944f
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 22:19:25 2022 +1200

    feat(elements): :art: use generic to constrain `SupportedTypes`

commit 413dd97
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 22:15:03 2022 +1200

    refactor(elements): :art: export `SegmentedControl` from `./elements`

commit 079b1c0
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 22:11:54 2022 +1200

    refactor(options): :art: refactor `AdvancedOptions`

commit b04f9ce
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 22:03:22 2022 +1200

    fix(elements): :bug: fix stack overflow

commit 4dde75a
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 21:57:22 2022 +1200

    feat(options): :wrench: configure segmented controls

commit ecc54da
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 21:39:08 2022 +1200

    feat(elements): :label: make `default` and `showDependents` optional

commit e57437d
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 21:34:09 2022 +1200

    feat(elements): :technologist: add generic to constrain segment ids

commit fab3a05
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 21:31:12 2022 +1200

    feat(elements): :sparkles: implement bones of `SegmentedControl`

commit 95d03e3
Author: James <james@jamesnzl.xyz>
Date:   Thu Jul 14 20:32:54 2022 +1200

    refactor(elements): :construction: change segmented inputs from `Input` class
@JamesNZL JamesNZL merged commit 2404a1a into main Jul 14, 2022
@JamesNZL JamesNZL deleted the light-mode branch July 14, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant