Files
ionic-framework/packages/core
Ross Gerbasi 7e50219d24 fix(theme-builder): update theme builder and core styles (#13997)
* theme-builder wip

* Theme Builder updates
- new CSS variable support
- realtime color updating with alpha support (rgb generation)
- auto tint/shade/contrast generation
- auto step generation
- CSS variable highlighting (forward and backwards)
- Colourlovers Palette search (via local proxy)

* Theme Builder Updates
- Settings for auto generation
- updated to 10 steps per background/ext
- general cleanup
- added instructions
- re-worked shade/tint to mix black and white instead of lighten/darken
- scoped cssText into component
- apply theme to theme builder also to style internal buttons

SCSS Updates
- added 10 steps to reach platform
- updated SCSS to use same mix and color methods as theme builder

* material design color step fix

* readme files

fixes #13985 fixes #13986
2018-02-09 16:13:08 -05:00
..
2017-08-03 08:44:14 -05:00
2018-02-09 15:51:53 +01:00
2018-02-09 15:51:53 +01:00
2017-09-17 23:04:02 +02:00

@ionic/core

This contains the core stencil components for ionic based applications.

Let's get started

1. Install global dependencies

  • stencil
  • np
  • jest
  • tsc
  • tslint
npm i -g stencil np jest tsc tslint

2. Clone your ionic fork

git@github.com:ionic-team/ionic.git
cd ionic

3. Run npm install

npm install
cd packages/core
npm install

Notice that ionic-core lives in packages/core.

4. Run npm run dev

Make sure you are inside packages/core

How to contribute

  1. npm run dev allows you to modify the components and have live reloading, just like another ionic app.

  2. When everything looks good, run npm run validate to verify the tests linter and production build passes.

More commands

  • npm run build: build ionic-core for production.
  • npm run dev: live reloading server for ionic developement,
  • npm run test: runs unit tests.
  • npm run clean: cleans dist folder.
  • npm run lint: runs typescript linter.
  • npm run lint-fix: tries to auto-fix linter issues.
  • npm run validate: runs tests, linter and production build.
  • npm run deploy: publishes a new version to NPM.