-
Notifications
You must be signed in to change notification settings - Fork 184
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
refactor(axis): use css-classes instead of style #1897
refactor(axis): use css-classes instead of style #1897
Conversation
All contributors have signed the DCO. |
✅ Deploy Preview for carbon-charts-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-charts-angular ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-charts-core ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-charts-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
af35ca7
to
4bc8a04
Compare
I have read the DCO document and I hereby sign the DCO. |
recheck |
@@ -32,6 +32,14 @@ | |||
g.tick text { | |||
fill: theme.$text-secondary; | |||
font-family: var(--#{globals.$prefix}-charts-font-family-condensed); | |||
|
|||
&.primary-tick-label { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&.primary-tick-label { | |
&.tick-label--primary { |
}) | ||
ticks.attr('class', (tick: number, i: number) => | ||
isTickPrimary(tick, i, axis.tickValues(), timeInterval, showDayName) | ||
? 'primary-tick-label' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? 'primary-tick-label' | |
? 'tick-label--primary' |
* adds css-classes to ticks to make them more accessible from outside Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com>
c1d8130
to
99e7ea0
Compare
fix(docs): switch fonts to s81c cdn (carbon-design-system#1898) chore(release): publish 1.22.1 chore(deps): bump (carbon-design-system#1906) chore(deps): bump test(svelte): replace deprecated svelte:component chore(deps): bump chore(deps): bump chore(deps): bump chore(deps): bump chore(deps): bump chore(deps): bump chore(deps): bump chore(svelte): peers chore(deps): lock chore(telemetry): update endpoint for main (carbon-design-system#1905) * chore(telemetry): update endpoint * fix(telemetry): update angular README refactor(axis): use css-classes instead of style (carbon-design-system#1897) * refactor(axis): use css-classes instead of style * adds css-classes to ticks to make them more accessible from outside Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com> * refactor(axis): rename css class --------- Signed-off-by: Max Jonas <maximilian.jonas@dedalus.com> skip-release fix(yarn): make local to CI fix(yarn): bundle because CI lacks corepack (carbon-design-system#1911) chore(release): publish 1.22.2
Updates