royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: How to setup Jewel Theme in a project(Was Re: 0.9.3 Release)
Date Sat, 19 May 2018 10:18:08 GMT
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] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/

Thanks,
Piotr


2018-05-19 7:08 GMT+02:00 Carlos Rovira <carlosrovira@apache.org>:

> 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 <joshtynjala@apache.org>:
>
> > 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
> > *frameworks* directory. The Royale compiler knows how to resolve a path
> > based on this token.
> >
> > For other SDKs, there's a similar ${flexlib} token. For the example
> themes
> > included with the Feathers SDK, I've successfully used ${flexlib} to add
> a
> > SWC to my project in *asconfig.json* without needing an absolute path:
> >
> > "library-path": ["${flexlib}/themes/MetalWorksDesktopTheme/
> > MetalWorksDesktopTheme.swc"]
> >
> > A while back, I made sure that the ${royalelib} and ${flexlib} tokens
> both
> > work in VSCode.
> >
> > - Josh
> >
> > On 2018/05/18 13:05:34, Harbs <harbs.lists@gmail.com> wrote:
> > > 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 <
> piotrzarzycki21@gmail.com>
> > wrote:
> > > >
> > > > Hi Harbs,
> > > >
> > > > Were you able to setup project in IDE ?
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > 2018-05-17 15:13 GMT+02:00 Carlos Rovira <carlosrovira@apache.org>:
> > > >
> > > >> Look foro "Inject a Font"
> > > >>
> > > >> 2018-05-17 15:12 GMT+02:00 Harbs <harbs.lists@gmail.com>:
> > > >>
> > > >>> What was the subject?
> > > >>>
> > > >>>> On May 17, 2018, at 4:08 PM, Carlos Rovira <
> carlosrovira@apache.org
> > >
> > > >>> 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 options
> > > >>>>
> > > >>>> 2018-05-17 15:04 GMT+02:00 Harbs <harbs.lists@gmail.com>:
> > > >>>>
> > > >>>>> 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 <
> > carlosrovira@apache.org>
> > > >>>>> wrote:
> > > >>>>>>
> > > >>>>>>>
> > > >>>>>>> Another angle on this problem might be to allow
adding links
> via
> > the
> > > >>>>>>> compiler automatically. Not sure exactly what
form that might
> > take
> > > >>>>> though.
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>> This was something Alex propose, something in the
line of @media
> > > >>>>>> -royale-swf, but with fonts, I think that is the right
way.
> > > >>>>>> For now we can stick with the html template but that
should be
> > > >>> temporal.
> > > >>>>>
> > > >>>>>
> > > >>>>
> > > >>>>
> > > >>>> --
> > > >>>> Carlos Rovira
> > > >>>> http://about.me/carlosrovira
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Carlos Rovira
> > > >> http://about.me/carlosrovira
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > > <https://www.patreon.com/piotrzarzycki>*
> > >
> > >
> >
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message