Skip to content

Conversation

@devanshijoshi9
Copy link
Contributor

@devanshijoshi9 devanshijoshi9 commented Aug 19, 2022

Description

  • Added some description/hint regarding the theme in read me and style css file as per my understanding.

Checklist

  • Add some details in readme file
  • Add table of content in style.css file

To-do

  • Let me know if any point is missing to add in readme file.

Fixes/Covers issue

Fixes #82

@devanshijoshi9 devanshijoshi9 marked this pull request as ready for review August 24, 2022 12:18
@RahiDroid RahiDroid changed the title #82 Hint the origin of the theme Hint the origin of the theme Aug 30, 2022
robicse11127
robicse11127 previously approved these changes Dec 29, 2022
Copy link
Contributor

@robicse11127 robicse11127 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

const replaceFileContent = (files, chunksToReplace, newChunk) => {
files.forEach((file) => {

if(path.basename(file) === 'init.js' && (chunksToReplace === 'Blank theme' || chunksToReplace === 'underscore theme' || chunksToReplace === 'blankTheme')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

If we are not supposed to make any replacement in init.js, other checks are not needed.

Suggested change
if(path.basename(file) === 'init.js' && (chunksToReplace === 'Blank theme' || chunksToReplace === 'underscore theme' || chunksToReplace === 'blankTheme')) {
if(path.basename(file) === 'init.js') {

@@ -1,4 +1,4 @@
# Copyright (C) 2021 Blank Theme
# Copyright (C) 2022 Blank Theme
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this auto generated?

Blank Theme is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Blank Theme is based on Blank theme https://github.com/rtCamp/blankTheme
Copy link
Contributor

Choose a reason for hiding this comment

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

Blank Theme is also distributed under the same license, want to retain the license string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hint the origin of the theme

5 participants