Hugo Granström

Results 161 comments of Hugo Granström

I fixed another thing that has been a bit ugly: overflowing outputs! Penguins looks really slick now: https://c8ca2d62fa794955ee68--nimib.netlify.app/penguins

> I was looking on how to improve borders of dark theme and I am able to get to this: That looks much better! Thanks for looking in to this...

> it means we keep using the background value defined by the overall theme - water.css or another coming from nimitheme We have a problem, I picked a few random...

> Well we can use the current values as fallback values: Ohh, good find! But we still have problems. We can only set ***one*** fallback value. So we are back...

And I have checked, there seems to be no way of doing "if this variable doesn't exist, use the previously defined value". It can only be a specific value, or...

> Well our default is light and dark is set by useDark, maybe something can be done taking advantage of that? Not sure tbh, it's only the default water.css themes...

One problem we discussed in a past Speaking Hour is the fact that we must be able to serialize all our objects to JSON. The problem being that we don't...

Here is a solution that works: ```nim import jsony, tables type Nimib = ref object of RootObj a, b, c: int typename: string NimibChild = ref object of Nimib d,...

And here the template version is: ```nim import jsony, tables type Nimib = ref object of RootObj a, b, c: int typename: string NimibChild = ref object of Nimib d,...

With this, I think we might actually be able to start working for real on a refactoring of Nimib.