Advertisement Β· 728 Γ— 90

Posts by Bryan Bemis

It’s been a very hard year - Andy Bell Unlike a lot of places in tech, my company, Set Studio/Piccalilli has no outside funding. Bootstrapped is what the LinkedIn people say, I think. It’s been a hard year this year. A very hard year...

A bit of a vulnerable post by me but we need your help to get us through what has been a more difficult period than 2020.

It would be really appreciated if you could read and share in your networks too πŸ’›

bell.bz/its-been-a-v...

4 months ago 287 172 27 29
Video

Design tokens app update: preview styleguide for all your tokens or select to filter any group.

5 months ago 4 3 2 0
Preview
How to have the browser pick a contrasting color in CSS Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?

Have you ever wished the browser would look at a background color and pick black or white for the text β€”Β whichever one provides more contrast?

Now, the `constrast-color()` function in CSS does just that.

webkit.org/blog/16929/c...

11 months ago 504 98 16 17

Gotta love the transparency of Open Source

1 year ago 1 0 0 0
Screenshot of adding a global variable named "year" in Webstudio

Screenshot of adding a global variable named "year" in Webstudio

Screenshot of referencing our global variable "year" in a paragraph in Webstudio

Screenshot of referencing our global variable "year" in a paragraph in Webstudio

Playing with the newly released global variables in @webstudio.is

πŸͺ„ Create on the Global Root
πŸ‘€ Reference on all pages and inside Slots

1 year ago 2 0 1 0
Screenshot of the Webstudio code editor dialog, showing a JavaScript script that replaces the year placeholder text (a span with Id = year) with the current year

Screenshot of the Webstudio code editor dialog, showing a JavaScript script that replaces the year placeholder text (a span with Id = year) with the current year

Simpler yet, use the getElementById() method in the script to target the placeholder.

1 year ago 2 1 0 0
Post image

4. Add an HTML Embed and enter the script code shown in the image.

See our year placeholder's ID (i.e., πš’πšŽπšŠπš›) in the script? Make sure they match.

And presto πŸ‡! No more manual year updates or zombie site vibes.

3/3

1 year ago 1 0 1 0
Post image

1. In your copyright text, include a placeholder for the year. Anything will do.
2. Wrap the year placeholder in a span.
3. Give the span an ID (e.g., πš’πšŽπšŠπš›) so we can target it with a script... πŸ‘‰

2/3

1 year ago 0 1 1 0
Advertisement
Video

That "2022" in a website's copyright credits? It says "zombie site." πŸ§Ÿβ€β™‚οΈ

Bots to the rescue! πŸ€–

Let's make a dynamically updating year in @webstudio. πŸ§΅πŸ‘‰

1/3

1 year ago 4 1 2 0
Video

The @webstudio.is style guide starts with a dark theme πŸŒ™.

Been there, done that? πŸ•ΆοΈ

Start with a light theme instead πŸ”†:

1. Add the Craft Style Guide
2. Copy the CSS variables for the light theme
3. Select the Global Root element
4. Paste the copied CSS variables

docs.webstudio.is/university/c...

1 year ago 2 0 0 0
Video

Love how @webstudio.is now lets you easily edit long CSS values:

🚁 Hover to auto-scroll the value in the field
πŸ‘† Click to open a code editor dialog

1 year ago 3 1 0 0