GlobalQuran / mobile-app

Mobile app for any device.
MIT License
15 stars 14 forks source link

surah list design #12

Closed Ashraf-Ali-aa closed 8 years ago

Ashraf-Ali-aa commented 8 years ago

added CSS design for surah list view

Ashraf-Ali-aa commented 8 years ago

@iBasit the image sizes are auto generated using the ionic CLI tool, regarding colours I can get that changed, but the only reason I referenced the colour names into the global CSS colour was due to I can't remember the colour just by looking at the current global names. From the doc's it says we only need the primary colour and we can add custom names, what we can do is move the colour names into the global colour names, what do you think?

// The "primary" color is the only required color in the map.
iBasit commented 8 years ago

you can add more color names, but use it as global names.. rather then color specific names..

primary  == gold
danger == red

light == gray or white

secondary == ....

primary-light == gold (lighter shade)
Ashraf-Ali-aa commented 8 years ago

@iBasit do you know how to get the ionic global colours into SCSS, previously I was using SCSS variables i.e $black: #000 but I can't use the ionic colour names directly i.e use $light variable in other SCSS files.

Ashraf-Ali-aa commented 8 years ago

@iBasit what do you think of this implementation http://erskinedesign.com/blog/friendlier-colour-names-sass-maps/

iBasit commented 8 years ago

to get primary use map-get($colors, 'primary') https://scotch.io/tutorials/aesthetic-sass-2-colors

don't use friendlier-coloru-names, use how ionic and twitter-bootstrap has already used, which is standard way for frontend developers.

always go with what is already been getting used by hundred of thousands of users.

Ashraf-Ali-aa commented 8 years ago

@iBasit has this passed C/R.

iBasit commented 8 years ago

some images were little different to previous ones.. like this one:

image

Ashraf-Ali-aa commented 8 years ago

@iBasit this is what I used to create the splash screens http://ionicframework.com/docs/cli/icon-splashscreen.html