aboutsummaryrefslogtreecommitdiff
path: root/devtools/cmd/css
AgeCommit message (Collapse)Author
2026-03-26all: run go fix -stringsbuilderHana Kim
Change-Id: I839e47c2b39ee592909f7ecb03603d4fb1d1954b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/753430 Reviewed-by: Jonathan Amsterdam <jba@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2022-06-17many: re-enable staticcheck and fix problemsJonathan Amsterdam
Most of the checks were about io/ioutil. There were a couple of other minor ones. I didn't address the check for strings.Title; instead, I turned off that check globally with a staticcheck.conf file. Change-Id: I286a6894fb1fd891818ab9e451c891f52a3828fc Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/412675 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com>
2021-08-23devtools,static: move generated readme styles to unit directoryJamal Carvalho
Change-Id: Iaad83f816f3080fce9a689de8a0f726b5c08cacd Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/344395 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
2021-01-08content: remove postcss processed stylesJamal Carvalho
Removes PostCSS cli dependency and minified CSS files. Reverts the changes from https://golang.org/cl/281772 to simplify the development process for CSS files. We may revisit minifying and bundling CSS with a Go package in the future. Change-Id: I34936eefc0d9aced9a13badace2c950f53ac84da Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/282376 Reviewed-by: Julie Qiu <julie@golang.org> Trust: Jamal Carvalho <jamal@golang.org>
2021-01-05content/static: transform unit page css with postcssJamal Carvalho
This change moves pkgsite page styles to lib/css directory and writes processed and minified css to static/css. For golang/go#43360 Change-Id: I42d61f4a270e3cde5016c6063555eb037f35c302 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/281772 Trust: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2020-11-02content,devtools: update readme.css for goldmark stylesJamal Carvalho
Updates css generator and creates new readme.css file that preserves github heading styles when using the goldmark parser. Change-Id: Iddd2ea99711ffe11c14f6e9e2087b023b7d73325 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/266580 Trust: Jamal Carvalho <jamal@golang.org> Reviewed-by: Julie Qiu <julie@golang.org>
2020-10-07devtools/cmd/css: generate github styles in separate fileMiguel Acero
This change modifies the script used to generate github styles to save to a separate css file while converting the px values to rem. Note thatthe generated styles is formatted properly after run with prettier. Change-Id: I860e4512a5ff281a6d53210293cb310d5c5e074c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/258257 Trust: Miguel Acero <acero@google.com> Reviewed-by: Julie Qiu <julie@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2020-09-18devtools/cmd/css: update incorrect relative pathMiguel Acero
Change-Id: I8331a06e4f5d0dfb3b9dee1e9b6d8de2add25bc6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/255967 Reviewed-by: Julie Qiu <julie@golang.org> Trust: Miguel Acero <acero@google.com>
2020-09-09devtools/cmd/css: various fixesJulie Qiu
Package documentation is added to devtools/cmd/css and the css filepath is fixed since being moved from content/static/css. Change-Id: I4f12513a26c273e605a57c8101a1ed06f72e1b23 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/253609 Reviewed-by: Jamal Carvalho <jamal@golang.org>
2020-09-09devtools/cmd/css: moved from content/static/cssJulie Qiu
content/static/css is moved to devtools/cmd/css (pure code in motion). Change-Id: I7b48bf017edffb1b4c3c571ed44bac7e09e37918 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/253608 Reviewed-by: Jamal Carvalho <jamal@golang.org>