mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00

* chore(build): WIP getting ionic working with app-scripts the tsconfig file change is just for testing, this will need to be undone * chore(demos): update tsconfig and gitignore for demos update tsconfig and gitinogre for demos * chore(build): WIP check in progress with building with app-scripts this only works with demos/action-sheet currently * refactor(demos): add custom copy config add custom copy config * chore(tsconfig): revert root tsconfig * chore(demos): change import paths * chore(demos): move sass config, add new tsconfig, update template * chore(scripts): update demos tasks to use app scripts with folder name tweak the createTempTsConfig function to include a path to read from, move getFolderInfo into util to share at this point you should be able to run `gulp demos.prod` with a folder e.g. `--f=alert` and open the index of that test to see it. Doesn’t work yet with all of the tests at once. Need to have ran `gulp release.prepareReleasePackage` first. * chore(build): WIP working on getting all of the demos building * chore(demos): update demos task for app-scripts build * chore(demos): fix tslint errors thrown by app-scripts * chore(demos): get the demos working with fonts and variable file * chore(demos): add watch task to the new prod task * chore(demos): remove old demos.prod file and rename new one to it * chore(npm): remove build npm script * chore(demos): only log component name in url if one was passed
77 lines
2.1 KiB
SCSS
77 lines
2.1 KiB
SCSS
// Ionic Variables and Theming. For more info, please see:
|
|
// http://ionicframework.com/docs/v2/theming/
|
|
|
|
// Font path is used to include ionicons,
|
|
// roboto, and noto sans fonts
|
|
$font-path: "../../fonts";
|
|
|
|
@import "ionic.globals";
|
|
|
|
|
|
// Shared Variables
|
|
// --------------------------------------------------
|
|
// To customize the look and feel of this app, you can override
|
|
// the Sass variables found in Ionic's source scss files.
|
|
// To view all the possible Ionic variables, see:
|
|
// http://ionicframework.com/docs/v2/theming/overriding-ionic-variables/
|
|
|
|
|
|
// Named Color Variables
|
|
// --------------------------------------------------
|
|
// Named colors makes it easy to reuse colors on various components.
|
|
// It's highly recommended to change the default colors
|
|
// to match your app's branding. Ionic uses a Sass map of
|
|
// colors so you can add, rename and remove colors as needed.
|
|
// The "primary" color is the only required color in the map.
|
|
|
|
$colors: (
|
|
primary: #327eff,
|
|
secondary: #32db64,
|
|
danger: #f53d3d,
|
|
light: #f4f4f4,
|
|
dark: #222,
|
|
);
|
|
|
|
|
|
// App iOS Variables
|
|
// --------------------------------------------------
|
|
// iOS only Sass variables can go here
|
|
|
|
|
|
|
|
// App Material Design Variables
|
|
// --------------------------------------------------
|
|
// Material Design only Sass variables can go here
|
|
|
|
|
|
// App Windows Variables
|
|
// --------------------------------------------------
|
|
// Windows only Sass variables can go here
|
|
|
|
|
|
|
|
// App Theme
|
|
// --------------------------------------------------
|
|
// Ionic apps can have different themes applied, which can
|
|
// then be future customized. This import comes last
|
|
// so that the above variables are used and Ionic's
|
|
// default are overridden.
|
|
|
|
@import "ionic.theme.default";
|
|
|
|
|
|
// Ionicons
|
|
// --------------------------------------------------
|
|
// The premium icon font for Ionic. For more info, please see:
|
|
// http://ionicframework.com/docs/v2/ionicons/
|
|
|
|
@import "ionicons";
|
|
|
|
|
|
// Fonts
|
|
// --------------------------------------------------
|
|
// Roboto font is used by default for Material Design. Noto sans
|
|
// is used by default for Windows.
|
|
|
|
@import "roboto";
|
|
@import "noto-sans"; |