Pitch: Replacement of Reference Application Style Guide with one based on TwitterBootstrap

Great! Thanks for the quick response too.

Hey @ssmusoke,

After some good ā€˜poking’ on how to best customize bootstrap I would recommend @darius’ option c shared on this post

( c) leverage bootstrap-sass and rewrite the existing uicommons styles to use bootstrap’s mixins. This requires actual thinking, whereas the other two options are pretty brute-force.

It actually is the theming approach for bootsrap4 as stated in the documentation.

From the discussions that have been going on, I get the impression that the starting point of the integration is the Reference Application (please correct me if I am wrong). I’m having a bit of a challenge locating the ref app repo as my search returns 6 different repos.

cc: @dkayiwa

1 Like

@nagadya I think you may be looking to:

  1. UI Commons https://github.com/openmrs/openmrs-module-uicommons which is where the base libraries and stylesheets are

  2. Reference Application - https://github.com/openmrs/openmrs-module-referenceapplication

2 Likes

Thanks @ssmusoke. How do I get to test out the changes I make to my locally cloned versions of any of the above repos? Unfortunately neither has a readme.

@ssmusoke @nagadya thanks for working on this!

fyi, to minimize any hiccups when upgrading, I’d love to test out how the new changes (when ready) affect the PIH EMR (which using the uicommons stylesheets and it’s own custom stylesheets, but not anything defined in the reference application).

When you have any committed to a branch of uicommons or whatever, please let me know, so I can test (and give feedback!).

Thanks, Mark

1 Like