tcmulder / aquamin

Aquamin WordPress Theme
3 stars 1 forks source link

Consider renaming components folder #47

Closed tcmulder closed 1 year ago

tcmulder commented 1 year ago

Things like normalize and global styles don't really fit here, semantically. Options:

  1. Create a root-level directory for these called "global," "common," or "theme."
  2. Rename "components" to "theme" or "assets" or something. The name "assets" might make most sense, so it's reasonable to have utilities and images in there (even if reaching out from "blocks" directory). Then, within "assets" there would still be a "component-library" directory to match the "block-library" concept used by WordPress for its own bock library. Note that components/assets would need to be renamed, maybe to "static" or "static-assets" (and the functionality updated for the new directory name).