Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Capitalized type selectors stopped working in 0.4 #4

@martinluetke

Description

@martinluetke

With the 0.4 update and probably its TypeName component change, it is no longer possible to write selectors like

Text {
   font-size: ...
}

or

#main-menu > Button {
   ...
}

They need to be lower-case now.

text {
   font-size: ...
}

#main-menu > button {
   ...
}

Is that intentional? Why did it work until 0.3 before? I would really like to have selectors matching component names to make them stick out in css and findable via global text searches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions