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

feat: Add document-level classes and guidelines #1136

Merged
merged 19 commits into from
Mar 26, 2024

Conversation

VincentSmedinga
Copy link
Contributor

@VincentSmedinga VincentSmedinga commented Mar 20, 2024

Our prototyping environment taught us that we need some base styling at the document level to ensure a correct context for our CSS and layout.

This adds a class to remove the default browser margin from the body element and sets 100% height and a white background colour (which can later depend on light and dark mode).

It also uses our extra bold font weight for strongly emphasised text, scoped to our theme class.

Our typography system expects 1rem to be 16px; we explain that the root font size must not be overridden.

@VincentSmedinga VincentSmedinga requested a review from dlnr March 20, 2024 06:53
# Conflicts:
#	packages/css/src/components/index.scss
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 20, 2024 10:31 Destroyed
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/src/components/document/document.scss Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 21, 2024 09:44 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 24, 2024 22:13 Destroyed
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 25, 2024 10:01 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 25, 2024 10:30 Destroyed
# Conflicts:
#	packages/css/src/components/screen/screen.scss
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 25, 2024 14:33 Destroyed
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/README.md Outdated Show resolved Hide resolved
packages/css/documentation/coding-conventions.md Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 26, 2024 11:09 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 26, 2024 11:21 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 26, 2024 12:20 Destroyed
packages/css/README.md Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to demo-DES-559-document-classes-and-docs March 26, 2024 12:57 Destroyed
@alimpens alimpens merged commit c13d91d into develop Mar 26, 2024
4 checks passed
@alimpens alimpens deleted the DES-559-document-classes-and-docs branch March 26, 2024 13:00
@github-actions github-actions bot mentioned this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants