status-im / status-fiddle

Online UI editor for status-react
10 stars 9 forks source link

Generate styles #12

Open flexsurfer opened 6 years ago

flexsurfer commented 6 years ago

It should be possible to generate styles ns and move styles in this ns

for example, we have next code in the editor

[react/view {:style {:prop1 1 :prop2 2}}]
  [react/text {:style {:prop3 3}}
     "text"]]

There should be button "generate styles", and panel with next code should be opened

(ns styles
(def view-style1  {:prop1 1 :prop2 2})
(def text-style1  {:prop3 3})
)

[react/view {:style styles/view-style1}]
  [react/text {:style styles/text-style1}
     "text"]]
StatusSceptre commented 5 years ago

@flexsurfer is this still relevant to bounty?

flexsurfer commented 5 years ago

yes would be nice to have

lng50k commented 5 years ago

Hi, I am interested in this issue. Would you assign it to me?

StatusSceptre commented 5 years ago

ok, I'll create a bounty and reserve it for you @Git-R-Goin.

lng50k commented 5 years ago

Awesome!

StatusSceptre commented 5 years ago

@Git-R-Goin I need to check with devs to make sure this is still relevant, and figure out how much if it is still there.

lng50k commented 5 years ago

Ok No problem.

StatusSceptre commented 5 years ago

It appears as this is no long available for bounties. I am removing from the board. CCs, please re-add the bounty-awaiting-approval if you'd like it to be reconsidered later on.

lng50k commented 5 years ago

Ok. No problem. And would you assign me a new bounty issue?