mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
chore(scss): remove injected global styles (#26469)
this commit removes a globally injected style, `ionic.skip-warns.scss`, from the project. this stylesheet was used to set a variable, `$Ionic`, that would turn on/off deprecation warnings in (the also removed) `ionic.deprecation.scss`. any file using either of the aforementioned files have been updated. this change is occurring while the stencil team is looking to improve the size of generated components that use >1 mode. this deprecation was a part of an initiative to remove sass source files from artifact published to npm. while that was completed, this deprecation was not removed (until now) Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../components/menu/menu.ios.vars";
|
||||
@import "../components/menu/menu.md.vars";
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../components/slides/slides.ios.vars.scss";
|
||||
|
||||
// Slides
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
@import "../themes/ionic.skip-warns.scss";
|
||||
@import "../themes/ionic.globals";
|
||||
@import "../themes/ionic.mixins";
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
$IONIC: false !default;
|
||||
|
||||
@if not $IONIC {
|
||||
@warn "[DEPRECATED] SCSS within ionic/core should not be imported. Next major release will remove all scss support.";
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
@import "./ionic.deprecation";
|
||||
|
||||
// Gets the active color's css variable from a variation. Alpha is optional.
|
||||
// --------------------------------------------------------------------------------------------
|
||||
// Example usage:
|
||||
|
@ -1,5 +1,3 @@
|
||||
@import "./ionic.deprecation";
|
||||
|
||||
// String Utility Functions
|
||||
// --------------------------------------------------------------------------------
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
@import "./ionic.deprecation";
|
||||
|
||||
@mixin input-cover() {
|
||||
@include position(0, null, null, 0);
|
||||
@include margin(0);
|
||||
|
@ -1 +0,0 @@
|
||||
$IONIC: true;
|
@ -1,5 +1,3 @@
|
||||
@import "./ionic.deprecation";
|
||||
|
||||
// Ionic Theme
|
||||
// -------------------------------------------------------------------------------------------
|
||||
// This file contains the theme variables shared
|
||||
|
@ -58,9 +58,7 @@ export const config: Config = {
|
||||
{ components: ['ion-breadcrumb', 'ion-breadcrumbs'] },
|
||||
],
|
||||
plugins: [
|
||||
sass({
|
||||
injectGlobalPaths: ['src/themes/ionic.skip-warns.scss']
|
||||
})
|
||||
sass(),
|
||||
],
|
||||
outputTargets: [
|
||||
reactOutputTarget({
|
||||
|
Reference in New Issue
Block a user