Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Why are some of my Graphic Styles renamed to .cls-1, .cls-2, etc., instead of retaining their names?

New Here ,
Apr 17, 2024 Apr 17, 2024

I am using AI 28.2 I name my Graphic Styles with specific hexidecimal colors for 50 artboards I've created. When I export the files to SVG, the code will show only some styles I created with their proper hex color as I named them, but others are re-named as .cls-1 or .cls-2, and so on. Such as,

.cls-1 {
fill: #dcddde;
}

.mySpeficColor {
fill: #78b5d8;
}

The class, .cls-1 has the right fill but the name is changed. How do I prevent this? Simply doing a find and replace in an editer isn't an option either because sometimes .cls-1 has a fill of a different color in the other 49 open files.

335
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 17, 2024 Apr 17, 2024

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from using the community">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2024 Apr 17, 2024
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 04, 2024 Jul 04, 2024
LATEST

I have exactly the same problem.

 

The export of SVG has been completely changed since the last version.


Changing the graphic style names is really annoying! This worked better in previous versions.


I don't know what Adobe was trying to do with this change.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines