فهرست منبع

Redhill: Rename `_dsgnsystm` strings to `varia`

Allan Cole 6 سال پیش
والد
کامیت
b22b15711e
6فایلهای تغییر یافته به همراه19 افزوده شده و 19 حذف شده
  1. 1 1
      redhill/functions.php
  2. 2 2
      redhill/package.json
  3. 4 4
      redhill/sass/style-child-theme-editor.scss
  4. 10 10
      redhill/sass/style-child-theme.scss
  5. 1 1
      redhill/style-rtl.css
  6. 1 1
      redhill/style.css

+ 1 - 1
redhill/functions.php

@@ -134,7 +134,7 @@ add_action( 'after_setup_theme', 'redhill_theme_content_width', 0 );
 function redhill_theme_scripts() {
 
 	// dequeue parent styles
-	wp_dequeue_style( '_dsgnsystm-style' );
+	wp_dequeue_style( 'varia-style' );
 
 	// enqueue child styles
 	wp_enqueue_style( 'redhill-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));

+ 2 - 2
redhill/package.json

@@ -3,9 +3,9 @@
   "version": "1.0.0",
   "description": "redhill",
   "bugs": {
-    "url": "https://github.com/Automattic/_dsgnsystm/issues"
+    "url": "https://github.com/Automattic/themes/issues"
   },
-  "homepage": "https://github.com/Automattic/_dsgnsystm#readme",
+  "homepage": "https://github.com/Automattic/themes/varia#readme",
   "devDependencies": {
     "@wordpress/browserslist-config": "^2.2.2",
     "autoprefixer": "^9.5.1",

+ 4 - 4
redhill/sass/style-child-theme-editor.scss

@@ -6,7 +6,7 @@
  * Abstracts
  * - Mixins, variables and functions
  */
-@import "../../_dsgnsystm/sass/abstracts/imports";
+@import "../../varia/sass/abstracts/imports";
 
 /**
  * Child Theme Deep
@@ -17,7 +17,7 @@
  * Base
  * - Reset the browser
  */
-@import "../../_dsgnsystm/sass/base/editor";
+@import "../../varia/sass/base/editor";
 
 // Reset the font-family override on html to make editor fonts match front-end
  html {
@@ -28,11 +28,11 @@
  * Elements
  * - Styles for basic HTML elemants
  */
-@import "../../_dsgnsystm/sass/elements/editor";
+@import "../../varia/sass/elements/editor";
 
 /**
  * Blocks
  * - These styles replace key Gutenberg Block styles for fonts, colors, and
  *   spacing with CSS-variables overrides
  */
-@import "../../_dsgnsystm/sass/blocks/editor";
+@import "../../varia/sass/blocks/editor";

+ 10 - 10
redhill/sass/style-child-theme.scss

@@ -8,7 +8,7 @@ Requires at least: WordPress 4.9.6
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
-Template: _dsgnsystm
+Template: varia
 Text Domain: redhill
 Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
 
@@ -26,7 +26,7 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
  * Abstracts
  * - Mixins, variables and functions
  */
-@import "../../_dsgnsystm/sass/abstracts/imports";
+@import "../../varia/sass/abstracts/imports";
 
 /**
  * Child Theme Deep
@@ -37,19 +37,19 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
  * Base
  * - Reset the browser
  */
-@import "../../_dsgnsystm/sass/base/imports";
+@import "../../varia/sass/base/imports";
 
 /**
  * Layout
  * - Structral and responsive styles
  */
-@import "../../_dsgnsystm/sass/layout/imports";
+@import "../../varia/sass/layout/imports";
 
 /**
  * Elements
  * - Styles for basic HTML elemants
  */
-@import "../../_dsgnsystm/sass/elements/imports";
+@import "../../varia/sass/elements/imports";
 
 /**
  * Blocks
@@ -58,31 +58,31 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
  * - In the future the Block styles may get compiled to individual .css
  *   files and conditionally loaded
  */
-@import "../../_dsgnsystm/sass/blocks/imports";
+@import "../../varia/sass/blocks/imports";
 
 /**
  * Components
  * - Similar to Blocks but exist outside of the "current" editor context
  */
-@import "../../_dsgnsystm/sass/components/imports";
+@import "../../varia/sass/components/imports";
 
 /**
  * Site Pages
  * - Page specific styles
  */
-@import "../../_dsgnsystm/sass/pages/imports";
+@import "../../varia/sass/pages/imports";
 
 /**
  * Responsive Logic
  * - Loading this last to respect cascaing rules
  */
-@import "../../_dsgnsystm/sass/abstracts/responsive-logic";
+@import "../../varia/sass/abstracts/responsive-logic";
 
 /**
  * Vendors
  * - Styles for 3rd party plugins and WP extensions
  */
-@import "../../_dsgnsystm/sass/vendors/imports";
+@import "../../varia/sass/vendors/imports";
 
 /**
  * Child Theme Extra Styles

+ 1 - 1
redhill/style-rtl.css

@@ -9,7 +9,7 @@ Requires at least: WordPress 4.9.6
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
-Template: _dsgnsystm
+Template: varia
 Text Domain: redhill
 Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
 

+ 1 - 1
redhill/style.css

@@ -9,7 +9,7 @@ Requires at least: WordPress 4.9.6
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
-Template: _dsgnsystm
+Template: varia
 Text Domain: redhill
 Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready