From fe300419460109c32abd2d17d3ee73957d548a6f Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 24 Apr 2010 16:33:27 -0700 Subject: [PATCH] Deprecate the misc stylesheet and unobtrusive-logo mixin. --- CHANGELOG.markdown | 5 +++++ doc-src/content/reference/compass/misc.haml | 15 --------------- .../stylesheets/compass/_misc.sass | 3 +-- .../stylesheets/compass/_misc.scss | 1 + 4 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 doc-src/content/reference/compass/misc.haml rename frameworks/{compass => _compass_deprecated_imports}/stylesheets/compass/_misc.scss (90%) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 8eca819c..d811be48 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,5 +1,10 @@ COMPASS CHANGELOG ================= + +0.10.0.rc4 (Unreleased) +----------------------- +* The `unobtrusive-logo` mixin is deprecated and will be removed. If you use this, please move the source to your project. + 0.10.0.rc3 (April 13, 2010) --------------------------- * This release addresses several bugs in rc2. diff --git a/doc-src/content/reference/compass/misc.haml b/doc-src/content/reference/compass/misc.haml deleted file mode 100644 index d07eb35a..00000000 --- a/doc-src/content/reference/compass/misc.haml +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Compass Misc -crumb: Misc -framework: compass -stylesheet: compass/_misc.scss -meta_description: Cute stuff you probably don't need. -layout: core -classnames: - - reference - - core - - misc ---- -- render 'reference' do - %p - This mixin lets you style an Unobtrusive CSS logo obtrusively. diff --git a/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass b/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass index cd1f9769..69cd2dec 100644 --- a/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +++ b/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass @@ -1,2 +1 @@ -@warn "DEPRECATED: Please change your @import of compass/misc.sass to: @import \"compass/misc\"" -@import compass/misc.scss \ No newline at end of file +@import "misc.scss" \ No newline at end of file diff --git a/frameworks/compass/stylesheets/compass/_misc.scss b/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.scss similarity index 90% rename from frameworks/compass/stylesheets/compass/_misc.scss rename to frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.scss index 569797e2..b005f0ac 100644 --- a/frameworks/compass/stylesheets/compass/_misc.scss +++ b/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.scss @@ -5,6 +5,7 @@ // Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. @mixin unobtrusive-logo($size: 1em) { + @warn "DEPRECATED: unobtrusive-logo will be removed in a future release." font-family: Monaco, Courier, "Lucida Sans Unicode", monospace; font-size: $size; color: #888;