- Replace Normalize.css with sanitize.css as sanitize.css is being actively developed on compared to Normalize.css. Plus, sanitize.css contains many useful opinionated styles, and in general, it's a more modern CSS library. Adopting sanitize.css also meant that quite a few of the backpack.css styles got removed. To see exactly what backpack.css uses from sanitize.css visit the library's entry point
src/index.css
file. (#70). - In keeping with backpack.css's philosophy of starting on an even playing field when it comes to styling, the following changes got made:
- Remove all print styles as backpack.css is an opinionated CSS foundation that is best suited to applications. Therefore, the need for print styles isn't there compared to a content-heavy site, such as a blog (#74).
- Introduce a
postcss.config.js
file considering two PostCSS plugins are used and maybe more in the future (#72). - Turn off margins, paddings, and borders on only the elements that need it instead of the prior
*:not(input)
selector. - Remove all IE related CSS and update the Browserslist query as backpack.css moves to a more modern support policy. See the "Browser support" section in the
README.md
(#62). - Began work on the new test suite; this will be a work-in-progress for a while. In the meantime, to test for visual regressions when adding new styles to backpack.css, or to see your changes, use the HTML5 Test Page which can be accessed in the browser when running
yarn test
(is available at http://localhost:3000/html5-test-page.html) (#20). See the "Testing" section inCONTRIBUTING.md
. - Add ESLint as there are a few JS files now, mainly configuration files. Plus, JS linting is needed for the new test suite mentioned in the preceding bullet point (#65). Also, add linting for HTML files (#66).
- Introduce logical properties and values where applicable.
- Apply a pointer cursor to labels with a
for
attribute to indicate that a label will shift focus to its associated control (#59). - Bring back the license comment in the library's entrypoint
src/index.css
file (#63). - Apply a more readable underline for links using
text-decoration-skip-ink: auto;
. - Change the built CSS file from
backpack.css
toindex.css
. - Move any tooling configuration applied in
package.json
to specific config files. For example,lint-stage
andhusky
. - Add to the
.vscode
settings and extensions. - Bump dependencies.
- It's possible a few updates got missed. However, the library's
.css
files are very well-documented if more information is needed.
- Improve the publishing experience (#22).
- Set up linting (#9).
- Update the
CODE_OF_CONDUCT.md
to the latest version. - Grammar and punctuation fix applied across the board.
- Change the build branch name from
lib
todist
. - Add
.vscode
folder with appropriate settings and extensions for VS Code contributors.
- Make backpack.css available on CDN's (#15).
- Add GitHub Templates (#23).
- Make
button
elements usecursor: pointer
(#26). - Make the
video
element responsive (same asimg
element) (#35). - Remove
outline
for pointers that don't need it (#36). - Remove deprecated
text-decoration-skip: ink
rule (#38). - Remove animations, smooth scrolling, and transitions when the
prefers-reduced-motion: reduce
media query is set (#39). - Remove
system-ui
and declare a new font-stack for the system font (#41). - Set the
tab-size
property to "4" (#42). - Remove the gap between specific elements and the bottom of their containers (#43).
- Remove the bottom margin for
p
elements inprint.css
(#45). - Set a system font for elements that use a monospace font (#46).
- Add new sections to the
README.md
andCONTRIBUTING.md
docs (#49). - Restructure source files (#50).
- Add Autoprefixer to the build (#51).
- Only include
backpack.css
in the lib. As in, remove modular usage. It was becoming awkward to document and when giving it more thought I couldn't see any compelling use-cases for modular use. Size wise, the entire thing is ~1.3kb gzipped. - Remove
cursor: pointer
rule forlabel
elements with afor
attribute (see discussion). - Add html5-test-page.
- Bump dependencies.
- Remove JS module export for now.
- Add missing CSS to package (
inline-text-semantics.css
). - Bump dependencies.
- Add a JS module export.
- Add ESLint.
- Add a Prettier ignore file.
- Add contributing guidelines (see
CONTRIBUTING.md
). - Add a code of conduct (see
CODE_OF_CONDUCT.md
). - Various minor updates to
README.md
. - Minor comment update to
content-sectioning.css
.
- Make
npm publish
execute beforeyarn clean
so thatlib
actually makes it into the NPM package 🤪.
- Version 1! 😃