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

Feature/core branding v7 #344

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5ee65e5
Gulp v5
TriangleJuice Dec 10, 2024
655385e
Updated crucial outdated packages
TriangleJuice Dec 10, 2024
a452b9d
Upgraded to the latest dart-sass spec
TriangleJuice Dec 13, 2024
d7cbe0a
Fixed build script
TriangleJuice Dec 13, 2024
342b69b
Npm audit (WIP)
TriangleJuice Dec 13, 2024
4c32539
* NPM audit (WIP)
TriangleJuice Dec 16, 2024
9fa3030
* Removed stylelint
TriangleJuice Dec 16, 2024
ceb2880
* Changed THEME properties to BRAND
TriangleJuice Dec 19, 2024
e87579c
* Fixed most console errors by removing some minimal functionality
TriangleJuice Jan 8, 2025
f95fe59
* [BREAKING] Removed Sass variables except for colors, breakpoints an…
TriangleJuice Jan 10, 2025
6389f6b
Fixed AUI components to work with the new Dart Sass setup
TriangleJuice Jan 10, 2025
d023085
* Changed z-index handling
TriangleJuice Jan 13, 2025
8733fd2
* Tweaked the design of the pagination
TriangleJuice Jan 13, 2025
ba23aa7
* Added contrast colors for background utility classes
TriangleJuice Jan 14, 2025
7f00060
* Fixed all theme colors for molecules
TriangleJuice Jan 14, 2025
03171d8
Docs build
TriangleJuice Jan 14, 2025
38bb9f5
v7.0.0-beta.1
TriangleJuice Jan 14, 2025
5b83a9f
v7.0.0-beta.1 - upload fix
TriangleJuice Jan 14, 2025
8a0c2b0
v7.0.0-beta.1 - Node 20
TriangleJuice Jan 14, 2025
bdb07f5
v7.0.0-beta.1 - Retention
TriangleJuice Jan 14, 2025
74cabc1
v7.0.0-beta.1 - Async await
TriangleJuice Jan 15, 2025
83cf399
Fixed checkbox animation
TriangleJuice Jan 16, 2025
c86230c
* Changed .woff2 to .woff since the former isn't yet natively support…
TriangleJuice Jan 16, 2025
3da83f3
7.0.0-beta.2
TriangleJuice Jan 16, 2025
9eebd57
v7.0.0-beta.3
TriangleJuice Jan 16, 2025
abfdcee
Fixed faulty build script
TriangleJuice Jan 16, 2025
8a325e4
* Many link-related fixes
TriangleJuice Jan 23, 2025
d24c03c
v7.0.0-beta.7
TriangleJuice Jan 23, 2025
d678e63
Fixed docs script
TriangleJuice Jan 24, 2025
49298e6
Improved mark and kbd element
TriangleJuice Jan 24, 2025
9071bfe
* Tweaked the copyright animation in an image
TriangleJuice Jan 28, 2025
1d2ad50
v7.0.0-beta.8
TriangleJuice Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node 20.x
- name: Use Node 22.x
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build library
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node 20.x
- name: Use Node 22.x
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build documentation
Expand Down
1 change: 0 additions & 1 deletion .stylelintignore

This file was deleted.

37 changes: 0 additions & 37 deletions .stylelintrc

This file was deleted.

40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@

## Unreleased

## [7.0.0] - 2025-xx-xx

### Added

- Added the possibility for a third brand color
- Added info color to utility classes
- Added info color to buttons
- Added CSS variable for selection color
- Added CSS variables for z-index
- Added more variants for existing colors to enhance accessibility across all components
- Added more variants for background and text utilities

### Changed

- [BREAKING] Changed color naming to provide a better wat to build up themes
- Changed THEME to BRAND
- Changed gray to neutral
- Realigned Sass color naming
- [BREAKING] Added better state colors
- Tweaked some colors to better match their other variants
- Optimized font loading by only offering woff2 format which should be enough for all modern browsers
- Tweaked the design of the avatar
- Tweaked the design of the breadcrumb
- Tweaked the copyright animation in an image
- Tweaked the design of the pagination
- Tweaked the design of the range slider
- Tweaked the design of the upload

### Fixed

- [BREAKING] Fixed breakpoint variables

### Removed

- [BREAKING] Removed `.u-bg-light` in favor of `.u-bg`
- [BREAKING] Removed Sass variables except for colors and breakpoints
- [BREAKING] Removed Sass helper functions
- [BREAKING] Removed all Twitter related components

## [6.6.6] - 2024-06-20

### Fixed
Expand Down Expand Up @@ -944,6 +983,7 @@

- Initial release.

[7.0.0]: https://github.com/a-ui/core_branding_scss/tree/v7.0.0
[6.6.6]: https://github.com/a-ui/core_branding_scss/tree/v6.6.6
[6.6.5]: https://github.com/a-ui/core_branding_scss/tree/v6.6.5
[6.6.4]: https://github.com/a-ui/core_branding_scss/tree/v6.6.4
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This project contains Antwerp's digital styling and styling guidelines. It is th
In its simplest form you can just include the following line in the `<head>` section of your app.

```
<link rel="stylesheet" href="https://cdn.antwerpen.be/core_branding_scss/6.6.6/main.min.css">
<link rel="stylesheet" href="https://cdn.antwerpen.be/core_branding_scss/7.0.0-beta.1/main.min.css">
```

You can even import it directly in your (S)CSS:

```
@import url("https://cdn.antwerpen.be/core_branding_scss/6.6.6/main.min.css");
@import url("https://cdn.antwerpen.be/core_branding_scss/7.0.0-beta.1/main.min.css");
```

> We adopt semantic versioning. If you want to use another version of the Core Branding you can do so by adjusting the version in the URL address. See the changelog for all available versions.
Expand Down
Binary file removed docs/fonts/Antwerpen-Regular.woff
Binary file not shown.
Binary file removed docs/fonts/AntwerpenSmallCaps-Regular.woff
Binary file not shown.
Binary file removed docs/fonts/AntwerpenTall-Tall.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_300.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_300_italic.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_500.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_500_italic.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_700.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_700_italic.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_800.woff
Binary file not shown.
Binary file removed docs/fonts/SunAntwerpen_800_italic.woff
Binary file not shown.
2,016 changes: 814 additions & 1,202 deletions docs/index.html

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions docs/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

document.addEventListener('DOMContentLoaded', () => {
// Set indeterminate state of some checkboxes
const accordions = document.querySelectorAll(".m-accordion__header");

for (let index = 0; index < accordions.length; index++) {
const accordionEl = accordions[index];

accordionEl.onclick = () => {
if (accordionEl.getAttribute("aria-expanded") == "true") {
accordionEl.setAttribute("aria-expanded", "false");
} else {
accordionEl.setAttribute("aria-expanded", "true");
}
}
}

const checkboxes = document.querySelectorAll("#checkbox-indeterminate, #table-checkbox1");

for (let index = 0; index < checkboxes.length; index++) {
Expand Down Expand Up @@ -40,6 +54,20 @@ document.addEventListener('DOMContentLoaded', () => {
}
}

const toggles = document.querySelectorAll(".a-toggle__button");

for (let index = 0; index < toggles.length; index++) {
const toggleEl = toggles[index];

toggleEl.onclick = () => {
if (toggleEl.getAttribute("aria-expanded") == "true") {
toggleEl.setAttribute("aria-expanded", "false");
} else {
toggleEl.setAttribute("aria-expanded", "true");
}
}
}

const tags = document.querySelectorAll("button.m-tag");

for (let index = 0; index < tags.length; index++) {
Expand Down
Loading