question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RTL] The icons are not inverted in RTL version

See original GitHub issue

When I set rtl: true in semantic.json and make a build using gulp build the icons like arrows are not inverted

semantic v 2.2.13 gulp v 3.9.1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TarekAlQaddycommented, Sep 13, 2017

@MohammadYounes That helped a lot , Thanks .

1reaction
MohammadYounescommented, Sep 9, 2017

Hi,

Yes, for LTR-first approach, Icons should be renamed. The build at semantic.rtlcss.com is made with autoRename enabled.

Semantic build system runs RTLCSS with the default options. However, gulp-rtlcss uses the same config loader used by RTLCSS CLI.

You can easily set the configuration by:

  1. Putting RTLCSS config into your projects package.json file under the rtlcssConfig property. OR
  2. Placing a special file .rtlcssrc or .rtlcssrc.json at the root of your project or user profile/home directory. (Default .rtlcssrc can be found here).

Another alternative would be to wrap semantic css inside rename directive.

Let me know if you need further assistance.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bidirectionality - Material Design
RTL content also affects the direction in which some icons and images are displayed, particularly those depicting a sequence of events. In general,...
Read more >
In RTL mode do icons need to be mirrored?
Icons that contain representations of text need careful mirroring. Text is right-aligned in RTL.
Read more >
95574 – "numbering on/off" icon in RTL mode is just mirrored ...
MRU->OS: in Chrystal or industrial icon design, the "Numbering on/off" button for RTL mode is just mirrored - the numbers in it are...
Read more >
Right to left - Foundations - Human Interface Guidelines - Design
Right-aligned content in the RTL context. Align a paragraph based on its language, not on the current context. When the alignment of a...
Read more >
70102 – RTL: Flipped toolbar button icons dont always look suitable
No, separate LTR and RTL versions are needed only for a few select icons -- those dependent on text direction. For example: undo,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found