&Yes - Devlog 3 - Styling
Credit: Midjourney - Prompt: "meme of a llama styling an app"

&Yes - Devlog 3 - Styling

Previously: Product Board and Ideas

UI Styling

I am not going to spend energy on styling for the time being. The reason for this is that I am not sure exactly what I am building yet, meaning each feature might evolve as I work on them. Requiring too much parallel rework of design stencils etc.

Watching some designers talk about how to do styling in a simple way for developers. One thing has come up multiple times, keep it simple. Try and only have 3 colours. For easy mode, white and black can be your first two colours. Leaving you one colour to use as an accent colour to highlight key actions. I don't remember the exact distribution suggestion but on the top of my head something like 60/30/10. So let's say I go with blue as an accent my system would have this colour scheme.

No alt text provided for this image

The methodology looks very appealing and requires little effort on my side right now. So I am going to try it out. Hopefully, it will have a better result than my past hobby projects that have suffered from my poor taste in colours.

I will also have to review fonts at some point, but not going to worry too much about that right now.

Check out these two videos for a more in-depth explanation:

Dark Mode

I am a heavy user of dark mode, so I do want to have support for it. The template did come with a framework to handle dark mode, so I am going to try and keep it.

Have heard from fellow developers about the pains of retroactively adding support for dark mode. It is easy to think that all you have to do is invert the colour scheme, but this strategy will give multiple surprises. Borders might not be visible enough, colours will clash in a bad way or not be accented enough. These stories make me want to include this from the beginning.

This is another reason for me fancying the simple 3 colour palette approach, as my two main colours are easily invertible. I might adjust the accent colour, according to the modes to ensure it pops enough.

Code Styling

As a developer, it is of course not all about what the user can see, but also what I have to look at when developing.

Since last time I have been spending some time getting comfortable with the template that I installed with the Expo client. The folder structure was a bit different than what I was used to, but also some familiarities from when I was working with Android development.

I did a bit of clean-up on the elements that I don't think I will be needing and restructured some of the components that I like but with a bit of personal styling.

For example, I wanted to be able to import all my standard UI components with import shorthand. So that I can write imports like this:

import {Icon, Text, View} from "fire-llama"        

To do this in React Native with Typescript, I had to add a dev dependency to "babel-plugin-module-resolver", the end config looks like this:

No alt text provided for this image

Another minor personal touch is that I killed the semicolons. I have worked on repos both with and without. The first time I worked on a repo without semicolons, it did mess with me for a few days. But it was very easy to adapt to once your brain adjusts its pattern matching. The other way however, oh it looks so messy.

No alt text provided for this image

How does it look?

So for now, this is what the app's home screen looks like. No accent colours for now and placeholders for the first couple of features I will be working on, a timer (based on feedback from my last post), and the feedback tracker.

No alt text provided for this image

Very humble beginnings, but this will hopefully grow organically into a swiss army improv app!

Stay fresh and remember to enjoy life!

要查看或添加评论,请登录

?? Adam Kvist Lamaa的更多文章

  • &Yes - Devlog 2 - Product Board & Ideas

    &Yes - Devlog 2 - Product Board & Ideas

    Previously: Setting Up Environment Trello I enjoy using a board when I work. The ability to garbage collect all the…

    2 条评论
  • &Yes - Devlog 1 - Setting Up Environment

    &Yes - Devlog 1 - Setting Up Environment

    Previously: The Beginning React Native Research So to get me off the ground, I am a big fan to have a quick glance at a…

  • &Yes - Devlog 0 - The Beginning

    &Yes - Devlog 0 - The Beginning

    TL:DR I want to make an app, this article sketches out the reason and scope of it, more articles will follow! The Why…

    3 条评论
  • Fixing broken help.sap.com links

    Fixing broken help.sap.com links

    If you search for information about SuccessFactors online, I am sure that you have come across this screen more than…

    7 条评论
  • How to manage access in SAP SuccessFactors - Part 3

    How to manage access in SAP SuccessFactors - Part 3

    When it comes to IT systems that stores sensitive information, access is a hot topic these days. An HR system like SAP…

  • How to manage access in SAP SuccessFactors - Part 2

    How to manage access in SAP SuccessFactors - Part 2

    When it comes to IT systems that stores sensitive information, access is a hot topic these days. An HR system like SAP…

  • How to manage access in SAP SuccessFactors - Part 1

    How to manage access in SAP SuccessFactors - Part 1

    When it comes to IT systems that stores sensitive information, access is a hot topic these days. An HR system like SAP…

    3 条评论
  • Extending your SuccessFactors Cloud

    Extending your SuccessFactors Cloud

    For more than 10 years, GP Strategies has helped clients implement the full SAP SuccessFactors HCM suit, guiding our…

社区洞察

其他会员也浏览了