Skip to content

Commit

Permalink
Merge pull request #12 from paceaux/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
paceaux authored Sep 5, 2023
2 parents 1225e51 + bf0cf9e commit 00423e5
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 110 deletions.
227 changes: 227 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"alpha-value-notation": "number",
"color-function-notation": ["legacy", {
"ignore": ["with-var-inside"]
}],
"comment-whitespace-inside": null,
"custom-property-pattern": "^[a-z][a-zA-Z]+$",
"custom-property-empty-line-before": null,
"selector-type-no-unknown": null,
"string-quotes": "double",
"order/properties-order": [
"content",

"quotes",
"counter-reset",
"counter-increment",
"resize",
"nav-index",
"nav-up",
"nav-right",
"nav-down",
"nav-left",
"list-style",
"list-style-position",
"list-style-type",
"list-style-image",

"align-self",
"justify-self",
"order",

"position",
"top",
"right",
"bottom",
"left",
"z-index",

"display",
"visibility",
"float",
"clear",
"overflow",
"overflow-x",
"overflow-y",

"clip",
"zoom",

"object-fit",
"object-position",

"color",
"font",
"font-family",
"src",
"font-variant-alternates",
"font-weight",
"font-style",
"font-variant",
"font-size-adjust",
"font-stretch",
"font-effect",
"font-emphasize",
"font-emphasize-position",
"font-emphasize-style",
"font-smooth",
"text-align",
"text-align-last",
"vertical-align",
"white-space",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-style",
"text-emphasis-position",
"text-indent",
"text-justify",
"text-transform",
"letter-spacing",
"word-spacing",
"text-outline",
"text-wrap",
"text-overflow",
"text-overflow-ellipsis",
"text-overflow-mode",
"word-wrap",
"word-break",
"tab-size",
"hyphens",
"text-decoration",
"text-shadow",
"font-size",
"line-height",

"box-sizing",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"padding-block-start",
"padding-block-end",
"padding-inline-start",
"padding-inline-end",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",

"border",
"border-collapse",
"border-width",
"border-style",
"border-color",
"border-top",
"border-top-width",
"border-top-style",
"border-top-color",
"border-right",
"border-right-width",
"border-right-style",
"border-right-color",
"border-bottom",
"border-bottom-width",
"border-bottom-style",
"border-bottom-color",
"border-left",
"border-left-width",
"border-left-style",
"border-left-color",
"border-block-start",
"border-block-start-width",
"border-block-start-style",
"border-block-start-color",
"border-inline-end",
"border-inline-end-width",
"border-inline-end-style",
"border-inline-end-color",
"border-block-end",
"border-block-end-width",
"border-block-end-style",
"border-block-end-color",
"border-inline-start",
"border-inline-start-width",
"border-inline-start-style",
"border-inline-start-color",

"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-right-radius",
"border-bottom-left-radius",
"border-image",
"border-image-source",
"border-image-slice",
"border-image-width",
"border-image-outset",
"border-image-repeat",

"background",
"background-color",
"background-image",
"background-repeat",
"background-attachment",
"background-position",
"background-position-x",
"background-position-y",
"background-clip",
"background-origin",
"background-size",

"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"margin-block-start",
"margin-block-end",
"margin-inline-start",
"margin-inline-end",


"direction",
"unicode-bidi",
"orphans",
"widows",


"outline",
"outline-width",
"outline-style",
"outline-color",
"outline-offset",

"box-decoration-break",
"box-shadow",

"opacity",
"filter",
"transition",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"transform",
"transform-origin",
"animation",
"animation-name",
"animation-duration",
"animation-play-state",
"animation-timing-function",
"animation-delay",
"animation-iteration-count",
"animation-direction",
"cursor",
"user-select",
"pointer-events"
]
}
}
11 changes: 7 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform

* What steps will reproduce the issue? (i.e. The minimum amount of code that shows the problem)
* What browser(s) and OS experience the problem? (i.e. Browsers and operating systems with exact version numbers )
* What would you expect to be the outcome and what _is_ the outcome? (i.e. "was expecting `font-size` to e `17px`, it is `21px` )
* What would you expect to be the outcome and what _is_ the outcome? (i.e. "was expecting `font-size` to be `17px`, it is `21px` )

All these details will help people to fix any potential bugs.

Expand Down Expand Up @@ -135,8 +135,11 @@ If you have commit access, please follow this process for merging patches, minor
Semver is a widely accepted method for deciding how version numbers are incremented in a project. Versions are written as MAJOR.MINOR.PATCH.
Any change to CSS rules is considered backwards-breaking and will result in a new major release. No changes to CSS _rules_ can add functionality in a backwards-compatible manner, therefore no changes are considered minor.
Almost any change to CSS rules is considered backwards-breaking and will result in a new major release. No changes to CSS _rules_ can add functionality in a backwards-compatible manner, therefore almost no changes are considered minor.
_Adding_ CSS Variables (without applying them to any rules) is considered a minor release. Changes to documentation or the test.html file also qualify as a minor release.
The only exceptions are:
Corrections to documentation count as a patch.
- _Adding_ CSS Variables (without applying them to any rules). This considered a minor release.
- Changes to documentation or the test.html file. This qualifies as a minor release.
- Changes to the linter or tester. This qualifies as a minor release.
- _Corrections_ to documentation count as a patch.
Loading

0 comments on commit 00423e5

Please sign in to comment.