Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Add breakpoints to theming initialization #1388

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

pascalwengerter
Copy link
Contributor

Description

Technically a bugfix but since we haven't communicated the theme-ability of breakpoints it can count as a feature 👹

Motivation and Context

We have breakpoint CSS props and the ability to set custom CSS props via theming but were missing out on initializing (possibly present) breakpoint variables from a theming config passed by a ODS user

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@LukasHirt
Copy link
Collaborator

Something to keep in mind - css custom props cannot be used in media queries as those are not part of the :root

@pascalwengerter pascalwengerter merged commit 47d3e1f into master Jun 16, 2021
@delete-merged-branch delete-merged-branch bot deleted the 16062021_enhancement-theme-abe-breakpoints branch June 16, 2021 22:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants