Commit graph

118 commits

Author SHA1 Message Date
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
b925edd95a fix: postcss.config.js for css files 2022-10-15 17:34:58 +07:00
Lucas Larroche
759296f211 chore: remove docs and move to yarn 2022-10-15 17:23:02 +07:00
Lucas Larroche
4a6dd73f5e fix: add exclusions to aria-invalid 2022-10-02 14:42:20 +07:00
Lucas Larroche
d86b497c91 Merge branch 'dev' into ll/patch-date-input-icon 2022-10-02 14:39:52 +07:00
Lucas Larroche
17b3b4cead refactor: :not() selectors 2022-09-11 18:31:12 +07:00
rbf
339e40c5fe
fix(input): clickable calendar icon on date input 2022-08-22 14:23:51 +02:00
David Souther
4a1599e1e5
Update _form.scss
Remove vertical-align: middle as it's roughly the same as browser defaults
2022-06-03 21:48:18 -07:00
David Souther
4e5e9a2a60
Update _form.scss
vertical-align only applies to inline-level elements

https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align
https://drafts.csswg.org/css2/#propdef-vertical-align
2022-06-01 14:11:17 -07:00
Lucas Larroche
1bab87a15b refactor(search): Simplified CSS code 2022-03-13 10:51:03 +07:00
Ömür Yanıkoğlu
cae68949b9 add state support to search input 2022-03-09 04:40:51 +03: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
794602a9b7 chore(form): Optimize selectors 2022-03-06 12:53:40 +07:00
Lucas Larroche
169c2414d8 chore(button): Clean 2022-03-06 12:52:21 +07:00
Lucas Larroche
f98b2d78a9 chore(form): Optimize selectors 2022-03-06 12:26:25 +07:00
Lucas Larroche
201be1cb53 chore(button): Revert selectors 2022-03-06 12:17:34 +07:00
Lucas Larroche
cf7c1e340c chore(typography): Optimize selectors 2022-03-06 12:11:41 +07:00
Lucas Larroche
e49e6426a0 chore(button): Optimize selectors 2022-03-06 11:45:06 +07:00
Lucas Larroche
ff30e814ec refactor: Links selectors 2022-03-06 11:18:12 +07:00
Lucas Larroche
f1bde7f7f7 Merge branch 'dev' into pr/141 2022-03-06 11:13:56 +07:00
Lucas Larroche
4c914d1807 chore: Update sanitize.css resets 2022-03-06 10:53:20 +07:00
Lucas Larroche
9a0db7ab7f style(dropdowns) 2022-03-06 09:37:03 +07:00
Lucas Larroche
df298eb4aa feat(accessibility): Add aria-current 2022-02-27 16:12:53 +07:00
Leonardo Matos
99c9222294
Simpler/smaller typografy selectors with :where :is 2022-02-24 00:04:56 -03:00
Leonardo Matos
7fa4a59073
Simpler/smaller selectors with :where :is
Note: https://developer.mozilla.org/en-US/docs/Web/CSS/:where#browser_compatibility doesn't match current [browserlist](https://github.com/picocss/pico/blob/master/package.json#L98-L102) entirely, I will continue the PR checking same microoptin on other files if you agree we can avoid 100% support for following browsers:

- Safari 13.1                   0.530%
- Samsung 14.0             2.258%
- Samsung 13.0             0.198%
- Internet Explorer 11    0.748% (just mentioning, not supported already as it can't handle CSS props)

https://browserslist.dev/?q=Pj0gMC41JSwgbGFzdCAyIG1ham9yIHZlcnNpb25zLCBub3QgZGVhZA%3D%3D
2022-01-23 13:34:38 -03:00
Lucas Larroche
e1c419855e Clean role=switch 2022-01-16 13:24:02 +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
07e9dc2587 Fix: Input type date icon position 2022-01-04 22:08:36 +07:00
Lucas Larroche
ba0d42b405 Fix RTL input date 2022-01-01 13:40:31 +07:00
Lucas Larroche
7f6ed9f5cb Add <tfoot> support 2021-12-31 17:01:01 +07:00
Lucas Larroche
92c21aa1d4 Remove explicit background-color on tr element 2021-12-31 16:31:25 +07:00
Lucas Larroche
7f817d4c68 Fix: Checkboxes and Radios relative size (em) 2021-12-31 15:30:42 +07:00
Lucas Larroche
42aa7d2e34
Merge branch 'dev' into remove-a-disabled-css 2021-12-31 12:58:08 +07:00
Lucas Larroche
07817a3fd1 Fix disabled for button link without href 2021-12-31 12:51:37 +07:00
Lucas Larroche
a7d549e574
Merge branch 'dev' into dev 2021-12-31 12:23:48 +07:00
Lucas Larroche
8fadb0e7e8 feat(labels): Add css var to fieldset legend 2021-12-31 12:20:57 +07:00
Lucas Larroche
568f3c646d Update .headings SCSS code and docs 2021-12-31 11:42:44 +07:00
AmiralBl3ndic
56c310fe99 fix: make .headings an alternative only when classes are enabled 2021-12-29 19:38:23 +01:00
AmiralBl3ndic
ed120df03b Feat: add a class alternative to hgroup 2021-12-29 19:22:08 +01:00
Markus Siering
dd96dd0b5a feat(labels): add optional font weight
which can be set separately from the standard font weight
to put emphasis on the form labels if needed.

closes #79
2021-12-25 16:01:19 +01: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