Skip to content

Instantly share code, notes, and snippets.

@Mottie
Last active March 18, 2024 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mottie/32acd89f2df44aaba94db367933cffdf to your computer and use it in GitHub Desktop.
Save Mottie/32acd89f2df44aaba94db367933cffdf to your computer and use it in GitHub Desktop.
Stylus update error test
[
{
"enabled": true,
"updateUrl": "https://gist.github.com/Mottie/32acd89f2df44aaba94db367933cffdf/raw/5b291b59208ffbf1b74057e07923d0cd3cdc0fce/test.user.css",
"md5Url": null,
"originalMd5": null,
"installDate": 1542676678468,
"sourceCode": "/* ==UserStyle==\n@name _test\n@namespace github.com/openstyles/stylus\n@version 0.1.0\n@description A new userstyle\n@author Me\n@var color bg \"background\" #000\"\n@updateURL https://gist.github.com/Mottie/32acd89f2df44aaba94db367933cffdf/raw/5b291b59208ffbf1b74057e07923d0cd3cdc0fce/test.user.css\n==/UserStyle== */\n@-moz-document domain(\"google.com\") {\n body {\n background: var(--bg) !important;\n }\n}",
"sections": [
{
"code": ":root {\n --bg: rgb(0, 0, 0);\n}\nbody {\n background: var(--bg) !important;\n }",
"start": 38,
"domains": [
"google.com"
]
}
],
"usercssData": {
"name": "_test",
"namespace": "github.com/openstyles/stylus",
"version": "0.1.0",
"description": "A new userstyle",
"author": "Me",
"vars": {
"bg": {
"type": "color",
"label": "background",
"name": "bg",
"value": null,
"default": "rgb(0, 0, 0)",
"options": null
}
},
"updateURL": "https://gist.github.com/Mottie/32acd89f2df44aaba94db367933cffdf/raw/5b291b59208ffbf1b74057e07923d0cd3cdc0fce/test.user.css"
},
"author": "Me",
"description": "A new userstyle",
"name": "_test",
"id": 1
}
]
/* ==UserStyle==
@name _test
@namespace github.com/openstyles/stylus
@version 0.1.0
@description A new userstyle
@author Me
@var color bg "background" #000"
@updateUrl https://gist.github.com/Mottie/32acd89f2df44aaba94db367933cffdf/raw/5b291b59208ffbf1b74057e07923d0cd3cdc0fce/test.user.css
==/UserStyle== */
@-moz-document domain("google.com") {
body {
background: var(--bg) !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment