Search
Items tagged with: dev
RE: mastodon.social/@anatudor/1106ā¦
Nowadays, we can do better:
```
box-shadow: 0 1px 2px
rgb(from currentcolor r g b/ .65)
```
Cross-browser since September 2024.
#tinyCSStip #CSS #code #coding #frontend #web #dev #webDev #webDevelopment
Ana Tudor šÆ (@anatudor@mastodon.social)
Attached: 1 image #tinyCSStip Want the shadow of an element or some other visual to be a semitransparent version of the `currentColor`? Use `color-mix()`! Cross-browser, btw. š¼ #css #coding #frontend #webDev #webDevelopmentAna Tudor šÆ (Mastodon)
A suggestion for Mastodon to use relative URLs and UUIDs for assets (images, etc.) in profiles and posts instead of linking directly to object storage.
github.com/mastodon/mastodon/iā¦
This would:
⢠Simplify things for third-party apps and simplify the API (if implemented for assets in profiles)
⢠Help in migrations (if implemented for assets in posts)
⢠Make it possible to switch object storage backends without losing all assets (eg., move away from AWS)
Thoughts?
#mastodon #dev #API #migrations
Asset links should be aliases from the mastodon server domain not direct links to the object storage
Pitch Profile assets Currently assets (e.g., profile images, etc.) link directly to object storage. These links are returned by API calls but change whenever the person updates their image. For suc...aral (GitHub)
