More Semantic Markup #398
matthewlarkin
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi Matthew, I'm all for it ! Can you open some small pull requests ? This should be a footer element, agreed: https://github.com/lovasoa/SQLpage/blob/v0.23.0/sqlpage/templates/shell.handlebars#L111 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @lovasoa and SQLPagers,
I wonder if there's interest in making default components in SQLPage more semantic in regards to element, class names, and IDs.
I recently found myself wanting more padding in the footer, so I wrote CSS that felt fragile and maybe unintuitive for future reference:
I could also adjust the
shell
component, but that seems like overkill.I'm inspired by the natural semantic-ness of web components and their use of meaningful slot names (see Shoelace (soon to be Web Awesome), etc). It'd be nice to have a similar level of semantic code to latch onto and build with in SQLPage.
If you think this is worth pursuing, @lovasoa, I'd like to contribute some light touch (but semantic) class names, change of elements, IDs, etc where warranted in the default SQLPage components. For instance, I think the footer example above would be an easy place to start.
--
Have you considered this yourself or have any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions