You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Docs] Use consistent casing when outputting hex values #5287
👋 Hi @davidylee . I've talked this over with @miukimiu and we've actually decided that we should stick with uppercase because all our source code and our sass-linter is uppercase. The main issue here is in the functions that we use to output them in our docs.
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
Activity
davidylee commentedon Oct 21, 2021
Hi @cchaos , would this just entail changing them all to lowercase? I can take it up! :-) relatively new to open source contribution..
cchaos commentedon Oct 21, 2021
👋 Hi @davidylee . I've talked this over with @miukimiu and we've actually decided that we should stick with uppercase because all our source code and our sass-linter is uppercase. The main issue here is in the functions that we use to output them in our docs.
For example
We pull in these values from the JSON files here: https://github.com/elastic/eui/tree/master/src-docs/src/views/theme/_json which are compiled from our Sass via this script https://github.com/elastic/eui/blob/master/scripts/compile-scss.js. For some reason the script returns a lowercased version of the hex values. We should find a way to convert them to uppercase.
These are actually hard-coded directly in the examples found in this file: https://github.com/elastic/eui/blob/7a130d52c9dfc7633e94e3f2978dd413e16bfe8e/src-docs/src/views/theme/computed.tsx
github-actions commentedon Apr 19, 2022
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.