Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Move all static inline styles to stylesheets #7

@emmoistner

Description

@emmoistner

I'm lazy... 😞

A lot of initial static styles weren't placed in stylesheets. All that aren't defined by config or runtime should be migrated to stylesheets.

Example

// BEFORE
<View style={{ height: 25, width: 35 }} />


// AFTER
<View style={styles.container} />

// later in the file

const styles = StyleSheet.create({
  container: {
    height: 25, 
    width: 35
  }
})

https://github.com/emmoistner/ElysiumStatusApp/blob/f19b875e971611542e83a17aef61e93c0e29ef86/app/components/stats/index.js#L20
should be moved to
https://github.com/emmoistner/ElysiumStatusApp/blob/f19b875e971611542e83a17aef61e93c0e29ef86/app/components/stats/index.js#L43

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions