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(theme): css variables support #1257

Merged
merged 6 commits into from
Mar 21, 2019
Merged

feat(theme): css variables support #1257

merged 6 commits into from
Mar 21, 2019

Conversation

nnixaa
Copy link
Collaborator

@nnixaa nnixaa commented Feb 21, 2019

Closes #46

BREAKING CHANGES:
- calendar - use primary button in cosmic theme
- checkbox - `opacity` instead of `lightning`
- context-menu, popover, datepicker - `calc` instead of `round` and scss calculations
- input - `opacity` for placeholder instead of `lightning`
- tabs - remove gradient for tab bottom separator in cosmic theme
- toastr - use `background-color` instead of gradient in cosmic theme
- text colors are now used from success/primary/warning/etc colors
- add color palett instead of generating colors using scss-functions, example for `primary`
`color-primary-200`
`color-primary-300`
`color-primary-400`
`color-primary-600`
`color-primary-700`

and create-colors-palette() scss function that can be used during theme installation process to generate palette automatically
@nnixaa nnixaa marked this pull request as ready for review February 25, 2019 08:56
@nnixaa nnixaa requested review from Tibing and yggg February 28, 2019 08:30
@nnixaa nnixaa added this to In progress in Nebular via automation Feb 28, 2019
@nnixaa nnixaa moved this from In progress to Needs review in Nebular Feb 28, 2019
src/framework/theme/styles/_theming.scss Outdated Show resolved Hide resolved
}
}
}

// TODO: we hide :host inside of it which is not obvious
@mixin nb-install-component() {
@mixin nb-install-component-new() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to change new to with-css-props-support? Same for old and following nb-install-global-new and nb-install-global-old mixins.

@nnixaa nnixaa changed the base branch from feat/theme-css-system-new to feat/4.0 March 21, 2019 13:57
# Conflicts:
#	src/app/playground-components.ts
#	src/framework/theme/components/button/_button-heroes.scss
#	src/playground/with-layout/typography/typography-showcase.component.html
#	src/playground/with-layout/with-layout-routing.module.ts
Nebular automation moved this from Needs review to Reviewer approved Mar 21, 2019
@nnixaa nnixaa merged commit 74654d2 into feat/4.0 Mar 21, 2019
Nebular automation moved this from Reviewer approved to Done Mar 21, 2019
yggg pushed a commit that referenced this pull request Mar 28, 2019
nnixaa added a commit that referenced this pull request Apr 1, 2019
brannon-darby pushed a commit to brannon-darby/nebular that referenced this pull request Apr 5, 2019
brannon-darby pushed a commit to brannon-darby/nebular that referenced this pull request Apr 5, 2019
brannon-darby pushed a commit to brannon-darby/nebular that referenced this pull request Apr 5, 2019
yggg pushed a commit that referenced this pull request Apr 17, 2019
yggg pushed a commit that referenced this pull request May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Nebular
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants