Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

General cleanup #118

Closed
wants to merge 6 commits into from
Closed

General cleanup #118

wants to merge 6 commits into from

Conversation

carolinan
Copy link
Contributor

For #44

Removes unused CSS for the site footer, two unused files, and one unused package.json script.

Updates the style.scss table of content to match the current file structure better.

Changes some of the comment styles in the scss files.

@luminuu For the SCSS structure, I think the code for the following are still in the wrong files and needs to be moved here:

ELEMENTS
Headings.............H1–H6
Links................Default links.
Lists................Default lists.

UTILITIES
Color Palette........Classes for the color palette colors.
Editor Font Sizes....Editor Font Sizes.

carolinan and others added 6 commits September 21, 2020 11:03
Updates the style.scss table of content to match the current file structure better.
Change comment style in the scss files to reduce out of context comments in the css files.
Removes unused CSS, two unused files, and one unused package.json script.
@@ -1,13 +0,0 @@
html {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -11,7 +11,7 @@ Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: twentytwentyone
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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flexible-header was removed because the theme does not comply with the requirements for using this tag.
See https://make.wordpress.org/themes/handbook/review/required/theme-tags/

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the block-patterns tag while we're here, or we'll do a pass at the end to ensure the theme has accurate tags?

Copy link
Member

@aristath aristath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a few small comments, thanks!

@@ -1,4 +1,5 @@
// Button Placeholder style
/* Button extends */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these comments need to make it into the compiled CSS?

Suggested change
/* Button extends */
// Button extends

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without them in the css file the code felt out of place because there is no heading or explaination to why the button styles are loaded this early.

word-wrap: break-word;
}
*/
/* Mixins */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* Mixins */
// Mixins

@@ -11,7 +11,7 @@ Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: twentytwentyone
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the block-patterns tag while we're here, or we'll do a pass at the end to ensure the theme has accurate tags?

@kjellr kjellr mentioned this pull request Sep 23, 2020
@carolinan carolinan closed this Sep 24, 2020
carolinan added a commit that referenced this pull request Sep 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants