Skip to content

c-content-main.cssのファイル分割を行う#820

Merged
yusasa16 merged 10 commits into
v6from
feature/separate-c-content-main
May 14, 2026
Merged

c-content-main.cssのファイル分割を行う#820
yusasa16 merged 10 commits into
v6from
feature/separate-c-content-main

Conversation

@yusasa16

Copy link
Copy Markdown
Collaborator

close #805

Split c-content-main.css into multiple files:
- element.css: basic element styles
- bge.css: Burger Editor related styles
- cc-form.css: form related styles
- index.css: imports all separated files

Update import paths in bge_style.css and style.css to use the new
index.css file.

Update stylelint config to apply special rules to c-content-main
directory files.
Update test expectations to reflect the split of c-content-main.css
into multiple files (bge.css, cc-form.css, element.css, index.css).
# Conflicts:
#	packages/@d-zero/create-frontend/index.spec.js
…ntainer

- Split bge.css into bgi-*.css and bge-container.css by data attribute
- Remove bge.css intermediary and import directly from index.css

Made-with: Cursor
- Replace bge.css with bge-container.css and bgi-*.css in expected file lists
- Align expectedBasercms4, npx, and npx --type static test cases

Made-with: Cursor
@yusasa16

Copy link
Copy Markdown
Collaborator Author

合わせてガイドラインの更新も必要

https://github.com/d-zero-dev/frontend-guidelines/blob/dev/src/css/structure.md

yusasa16 added 2 commits March 6, 2026 17:55
- Move burger-editor styles to _libs/style/burger-editor/
- Move c-content-main to _libs/style/c-content-main/
- Update bge_style.css and style.css imports in htdocs

Made-with: Cursor
- Reflect burger-editor and c-content-main move to style directory

Made-with: Cursor
yusasa16 added a commit to d-zero-dev/frontend-guidelines that referenced this pull request Mar 6, 2026
- Reflect the split of `c-content-main.css` into `c-content-main/` and `burger-editor/` directories.
- Update `style.css` import examples to include the new `main` layer.
- Add detailed descriptions for the new directory structures and their respective files.
- Add a reference link to the Burger Editor core README.

Relates to d-zero-dev/frontend-env#820

Made-with: Cursor
@yusasa16 yusasa16 marked this pull request as ready for review March 6, 2026 09:31
@yusasa16 yusasa16 requested a review from YusukeHirao as a code owner March 6, 2026 09:31
@arktds arktds self-requested a review April 21, 2026 13:40
@yusasa16 yusasa16 changed the base branch from dev to v6 April 22, 2026 02:29
@yusasa16 yusasa16 requested a review from dz-furukawa as a code owner April 22, 2026 02:29
@arktds arktds self-requested a review April 22, 2026 06:02
Rename bge-item style file to avoid implying data-bgi="base".
Alphabetize @import paths in burger-editor index.css.

Made-with: Cursor
Update expected file lists to match the bge-item filename and
generator output order after the scaffold change.

Made-with: Cursor
Order bge-item imports so bgi.css (common [data-bgi] rules) runs
before bgi-*.css for clearer cascade and intent.

Made-with: Cursor
@yusasa16 yusasa16 merged commit abbcf2f into v6 May 14, 2026
@yusasa16 yusasa16 deleted the feature/separate-c-content-main branch May 14, 2026 05:16
@yusasa16 yusasa16 added this to the frontend-env v6.0.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

c-content-main.cssのファイル分割を検討する

3 participants