Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-21 Thread Carlos Rovira
Hi Pior, I think if you could take care of ANT files as well it would be great. In this way, when I upload the new 70 theme projects, I'll be doing taking into account your work to make all work directly thanks 2018-05-21 15:57 GMT+02:00 Piotr Zarzycki : > I think

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-21 Thread Piotr Zarzycki
I think new one will be more visible, but it doesn't matter to me. I will add Moonshine files to those projects. If any user open project with Moonshine it will just work. I will try to update also VSCode files, unless someone beat me with that. Piotr 2018-05-21 15:51 GMT+02:00 Carlos Rovira

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-21 Thread Carlos Rovira
Hi Piotr, that's right, right now several people reported problems to try this. Hope as we release they'll have less problems. I want to figure if we can update blog posts with more info, or make a new post and then reference existing post to that one...I'll take a look as I have some time

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-21 Thread Piotr Zarzycki
Alex, I can confirm that this is working. When I added following compiler arguments -theme=${royalelib}/themes/Jewel-Light-NoFlat-Primary-Blue-Theme/src/main/resources/defaults.css My suggestion is that: 1) We should write blog post which describes how to setup all examples in Moonshine and

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-21 Thread Alex Harui
I'm too swamped to read this whole thread, but one note: Ant doesn't need to build CSS-only themes. The examples that use them only need to use -theme= HTH, -Alex On 5/20/18, 12:52 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-20 Thread Carlos Rovira
So great! :) as I said in the my last email, someone should contribute the ANT builds for each theme. In that way, since at some time I'll be uploading the other half of themes, those themes can go with the right ANT build. Think that all Jewel themes are about 140, and I uploaded around 70.

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-20 Thread Carlos Rovira
Hi Piotr, I never deal with ANT, I left this for others to contribute that build, as well sometimes I contribute the maven build when others only do the ANT one. I suppose that Alex make Jewel-Dark-NoFlat-Emphasized-Blue-Theme works, but only do that one, when we tried Jewel + That theme and

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-19 Thread Piotr Zarzycki
Definitely ant build for all themes is broken. There is absolutely no swcs. However I did small experiment - I build specific theme by Maven and it produces for me: */themes/Jewel-Light-NoFlat-Primary-Blue-Theme/target/Jewel-Light-NoFlat-Primary-Blue-Theme-0.9.4-SNAPSHOT-js.swc* I have added in

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-19 Thread Piotr Zarzycki
Carlos, If when I checked distribution package of Royale [1] I don't see there Jewel-Dark-NoFlat-Emphasized-Blue-Theme.swc. The only things which I'm seeing is folder frameworks/themes/ Jewel-Dark-NoFlat-Emphasized-Blue-Theme. Where those swcs are ? Have you make them build by ANT ? [1]

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-18 Thread Carlos Rovira
Great Josh!, this sounds like a solution! Hope Harbs or Piotr can try this and report if is working! :) 2018-05-19 0:38 GMT+02:00 Josh Tynjala : > Please forgive me if I'm missing some context because I'm just skimming > through here. However, I think I may be able to

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-18 Thread Josh Tynjala
Please forgive me if I'm missing some context because I'm just skimming through here. However, I think I may be able to offer a suggestion. Is the absolute path a location inside the the Royale SDK? If so, then you can use the ${royalelib} token to refer to the path relative to the SDK's

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-18 Thread Carlos Rovira
what was the way FlashBuilder or IntelliJ work about this? I assume that if Maven is using this is since the compiler supports it, so -theme should work, and IDEs should leverage that compiler argument. Hope Alex could throw some light on this, I remember he tries Jewel some weeks ago successfully

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-18 Thread Harbs
No. Specifying the themes seems to be a major problem. It’s possible to specify a theme using additional compiler options in asconfig, but I’m not prepared to specify an absolute path. This needs a solution… Harbs > On May 18, 2018, at 3:56 PM, Piotr Zarzycki wrote:

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-18 Thread Piotr Zarzycki
Hi Harbs, Were you able to setup project in IDE ? Thanks, Piotr 2018-05-17 15:13 GMT+02:00 Carlos Rovira : > Look foro "Inject a Font" > > 2018-05-17 15:12 GMT+02:00 Harbs : > > > What was the subject? > > > > > On May 17, 2018, at 4:08 PM,

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
Look foro "Inject a Font" 2018-05-17 15:12 GMT+02:00 Harbs : > What was the subject? > > > On May 17, 2018, at 4:08 PM, Carlos Rovira > wrote: > > > > Hi, > > > > I think seems something valid, maybe we should think more about possible > >

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
What was the subject? > On May 17, 2018, at 4:08 PM, Carlos Rovira wrote: > > Hi, > > I think seems something valid, maybe we should think more about possible > colateral issue of that method. You should look as well at a thread where > Alex proposed as well some valid

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
Hi, I think seems something valid, maybe we should think more about possible colateral issue of that method. You should look as well at a thread where Alex proposed as well some valid options 2018-05-17 15:04 GMT+02:00 Harbs : > I just had another thought which might be

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
I just had another thought which might be even more flexible: Maybe the compile could parse @includes from CSS and insert them as links in the header HTML automatically. Thanks, Harbs > On May 17, 2018, at 3:52 PM, Carlos Rovira wrote: > >> >> Another angle on this

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
Hi Harbs 2018-05-17 14:40 GMT+02:00 Harbs : > Interesting. > > Why is deferred loading a problem? Adding the font to the header should > have the same effect. Shouldn’t it? > No, this way seems to end with the browser capability to load resources in parallel. > > I

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
Interesting. Why is deferred loading a problem? Adding the font to the header should have the same effect. Shouldn’t it? I don’t think we want font flicker anyway. FWIW, the @import can be added to the theme files by a script too. I’d be interested in knowing what kind of performance hit

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
we have a bug: https://github.com/apache/royale-compiler/issues/28 but as well @import is something we should run away from [1] "You shoud avoid the use of @import because it will defer the loading of the included resource until the file is fetched." [1]

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
Thanks. FWIW, the compiler option seems to be “theme”. If the full path needs to be specified, this is a problem. Is there any way to specify a theme by just the theme name? (Question for however might know the answer.) Harbs > On May 17, 2018, at 3:11 PM, Carlos Rovira

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
Font should be easily configurable by the user and I think we have a problem in the compiler to use that kind of css in that article, (I'm recheck this) 2018-05-17 14:04 GMT+02:00 Harbs : > Why not just include the font in the CSS file?[1] > >

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
More specifically, I believe including this in the css would negate the need for an HTML template: @import url('https://fonts.googleapis.com/css?family=Lato:400,700’); > On May 17, 2018, at 3:04 PM, Harbs wrote: > > Why not just include the font in the CSS file?[1] > >

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
I think it should be theme_arg=-theme= (not tested by be) 2018-05-17 14:02 GMT+02:00 Harbs : > What compiler option is used to specify a theme? (Assuming the command > line is being used — not Maven, ant or what-have-you.) > > > On May 17, 2018, at 2:57 PM, Carlos Rovira

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
Why not just include the font in the CSS file?[1] [1]https://css-tricks.com/snippets/css/using-font-face/ > On May 17, 2018, at 2:57 PM, Carlos Rovira wrote: > > One more thing, we have as in MDL the use of an html

Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Harbs
What compiler option is used to specify a theme? (Assuming the command line is being used — not Maven, ant or what-have-you.) > On May 17, 2018, at 2:57 PM, Carlos Rovira wrote: > > Hi, > > (renaming to this thread since is not related directly to the old one and > is

How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)

2018-05-17 Thread Carlos Rovira
Hi, (renaming to this thread since is not related directly to the old one and is more a "doc" email) To setup a theme in jewel, the best is look at JewelExample's pom.xml. I think Alex already make the ANT's files needed to this. IDE should have some way to achieve this like in Flex. I think