Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to share html/css versions of the logo? #13

Open
argyleink opened this issue Nov 12, 2024 · 8 comments
Open

how to share html/css versions of the logo? #13

argyleink opened this issue Nov 12, 2024 · 8 comments

Comments

@argyleink
Copy link
Contributor

gotta be some good ways to distribute these as native css/html. the repo currently hosts files, should we host html/css/js files, or link out, or?

@raymondsowden
Copy link

css version would be nice :)

@argyleink
Copy link
Contributor Author

here's the CSS version, awaiting a good sharing mechanism https://codepen.io/argyleink/pen/qBegwRB

@Que-tin
Copy link
Contributor

Que-tin commented Nov 13, 2024

If me move them into the folders introduced by the new asset build we need to adjust the build to not recursively remove the whole folder.

@Que-tin
Copy link
Contributor

Que-tin commented Nov 13, 2024

Opinions on a web component?

@romainmenke
Copy link
Contributor

Opinions on a web component

I think it would be unfortunate if we need JavaScript to render a logo for CSS.
So I'd rather not have it be a web component :)

@argyleink
Copy link
Contributor Author

https://codepen.io/argyleink/pen/qBegwRB

should remove all the other logo junk and try to reduce to the smallest amount possible. also change the element name to <css-logo>

Opinions on a web component?

the codepen is a custom element, no js required, but decently self contained. we could provide an example where the CSS is in a tag inside the custom element so it's like a single file?

@itsjavi
Copy link
Collaborator

itsjavi commented Nov 14, 2024

what about adding html and css files here (a simplified version of the codepen), and publish that as Github Pages as well? that can be easily shared.

In the HTML I would also preview the code needed to recreate the logo.

@villepreux
Copy link

Looking at the codepen (and this is very subjective), it seems to me that, at small sizes (let say for a favicon for example), the bottom-right padding could benefit from a bit more space between the logo border and the "css" text.

Would'nt it be an opportunity for a responsive logo ?
Aren't we talking about CSS after all ?

(Even quick'n'dirty mini "hacks to the Pen like margin-block-end: calc(min(2px, 10%) - .2ex); margin-inline-end: calc(min(2px, 5%) - .05ch); make it more readable to me at small sizes while nearly unaffecting the logo at bigger scales (also maybe some alteration on font weight or letter spacing would be cool))

--
My non-professional 2 cents ;)

@rol4nd909 rol4nd909 mentioned this issue Nov 15, 2024
5 tasks
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

No branches or pull requests

6 participants