Commit graph

50 commits

Author SHA1 Message Date
Lucas Larroche
ef2100499b feat: optional parent selector 2024-01-25 01:42:54 +07:00
Lucas Larroche
641483e42c fix: classless reset button 2024-01-14 23:25:55 +07:00
Lucas Larroche
5fc1da9b42 fix: outline buttons 2024-01-14 13:37:32 +07:00
Lucas Larroche
75f7ca32dd fix: aria-current and focus buttons
Fix for #416
2024-01-04 21:47:40 +07:00
Lucas Larroche
3c96e6043b refactor: update $css-var-prefix name 2023-12-28 13:21:52 +07:00
Lucas Larroche
f55523135c Merge branch 'v2' into pr/416 2023-12-28 12:48:15 +07:00
Lucas Larroche
a3eb54eb87 chore: update dependencies 2023-12-24 10:41:54 +07:00
Brian Espinosa
55d5e9d879 fix: Make aria-current selector more specific on links 2023-10-20 12:10:00 -07:00
Lucas Larroche
d407df3c23 refactor: CSS vars 2023-04-02 11:04:23 +07:00
Lucas Larroche
395ceca401 fix: revert aria-current='false' 2023-04-02 10:06:26 +07:00
Lucas Larroche
e43ed98d29 fix: aria-current links and buttons 2023-04-01 10:10:09 +07:00
Lucas Larroche
af050f9088 fix: button display 2023-03-12 12:12:18 +07:00
Lucas Larroche
cd8b4049c4 fix: button display 2023-03-12 11:39:53 +07:00
Lucas Larroche
0e951141cd refactor: input file 2023-02-19 10:17:14 +07:00
Lucas Larroche
a730228855 style: button text not selectable 2023-01-01 13:47:54 +07:00
Lucas Larroche
f8e5f28613 refactor: Buttons 2022-12-29 17:53:16 +07:00
Lucas Larroche
6ade871f3f style: update colors 2022-12-26 11:35:56 +07:00
Lucas Larroche
ce2ed6826d refactor: modules and css vars 2022-10-23 10:47:50 +07:00
Lucas Larroche
c5a1ffc733 refactor: prefix css vars 2022-10-22 13:11:51 +07:00
Lucas Larroche
51a68ce0fc chore: replace @import with @use 2022-10-22 11:44:10 +07:00
Lucas Larroche
670826069b chore: lint with prettier on build 2022-10-15 23:22:12 +07:00
Lucas Larroche
759296f211 chore: remove docs and move to yarn 2022-10-15 17:23:02 +07:00
Lucas Larroche
e821b7647f feat: disabled fieldset 2022-03-06 21:43:51 +07:00
Lucas Larroche
19d2ffad02 feat: disabled groups (fieldset) 2022-03-06 18:25:58 +07:00
Lucas Larroche
ad534987fc Merge branch 'dev' into pr/141 2022-03-06 15:10:20 +07:00
Lucas Larroche
8300c0fcb7 chore(button): Optimize selectors 2022-03-06 13:53:51 +07:00
Lucas Larroche
169c2414d8 chore(button): Clean 2022-03-06 12:52:21 +07:00
Lucas Larroche
201be1cb53 chore(button): Revert selectors 2022-03-06 12:17:34 +07:00
Lucas Larroche
e49e6426a0 chore(button): Optimize selectors 2022-03-06 11:45:06 +07:00
Lucas Larroche
4c914d1807 chore: Update sanitize.css resets 2022-03-06 10:53:20 +07:00
Lucas Larroche
df298eb4aa feat(accessibility): Add aria-current 2022-02-27 16:12:53 +07:00
Lucas Larroche
5b17286648 input[type="reset"] styles merged with .secondary 2022-01-16 12:12:52 +07:00
Lucas Larroche
f90359ad7b Fix role=button hover 2022-01-16 11:49:08 +07:00
Lucas Larroche
270a128de4 Allow role=button to any HTML element 2022-01-16 11:41:50 +07:00
Lucas Larroche
07817a3fd1 Fix disabled for button link without href 2021-12-31 12:51:37 +07:00
Masahiko Shin
6068002080 Fix button.scss.
The `<a>` tag does not have `disabled` attribute and in order to "disable" them it is recommended to remove href attribute.

https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element
https://www.w3.org/TR/2021/REC-html-aria-20211209/#el-a
2021-12-25 18:19:15 +09:00
Lucas Larroche
41314ab4b0 Revert "Merge branch 'master' into dev"
This reverts commit 6a6d67dbab, reversing
changes made to ba4bd765d8.
2021-12-19 09:50:55 +07:00
Lucas Larroche
d5544ea021
Revert "Feature: modal" 2021-11-08 00:12:34 +07:00
Lucas Larroche
f6d38a7586 Order scss properties 2021-11-02 02:54:52 +07:00
Lucas Larroche
5f6e3c1abd Prettify code 2021-10-24 12:33:20 +07:00
Lucas Larroche
0e7894c48e Clean comments 2021-07-17 10:26:38 +07:00
Lucas Larroche
dd534ef6a6 New --button-box-shadow var
+ rename `--form-element-focus` to `--form-element-focus-color`
+ code cleaning
2021-07-02 22:18:14 +07:00
Lucas Larroche
d12af72cab CSS Vars refactoring 2021-07-02 16:54:41 +07:00
Lucas
9b1ef33577 Move styles in SCSS vars to CSS vars 2020-09-29 08:38:35 +07:00
Lucas
456539a52e New form elements
- CSS icons color dynamization in `_color.scss`
- Bigger Checkboxes and Radio buttons
- Small refactoring for Checkboxes and Radio buttons in `_form.scss` and `form-checkbox-radio.scss`
- Styles for new form elements: `type=date`, `type=datetime-local`, `type=month`, `type=time`, `type=week`, `type=range`, `type=search`
- Reordering @import in `pico.scss` and `pico.slim.scss`
2020-09-24 22:35:30 +07:00
Lucas
a2404b19b5 Add Sanitize.css
https://csstools.github.io/sanitize.css/
2020-09-11 23:22:50 +07:00
Lucas
4ade514bb0 Remove focus overrides on Firefox 2020-07-21 09:25:38 +07:00
Lucas
345053a956 Improvements
- Remove Increase headings font size inside <header>
- Add $enable-transitions in _variables.scss
- Bigger Checkbox, Radio, switch
- Remove borders on button
2019-12-02 23:22:13 +07:00
Lucas
73237bdcd4 Improvements
- Add .contrast variant
- Separate _button-styles.scss
- Edit .secondary, mark, figcaption, hgroup, tooltips
- Docs: Add More about grids, External links icon, Second theme switcher
2019-11-30 12:43:20 +07:00
Lucas
16c7596319 Initial commit 🚀 2019-11-27 15:31:49 +07:00