summaryrefslogtreecommitdiffstats
path: root/.stylelintrc
Commit message (Collapse)AuthorAgeFilesLines
* Update JS dependencies (#17611)silverwind2021-11-111-1/+16
| | | | | | | | | - Update monaco, adapting to breaking changes - Update dropzone, adapting to breaking changes - Update linters, fix new issues, disable opinionated stylelint rules - Rebuild SVGs and images - Tested Dropzone and Monaco Replaces: https://github.com/go-gitea/gitea/pull/17574
* Use light/dark theme based on system preference (#17051)Gwyneth Morgan2021-09-271-0/+1
| | | | | | | | Add a new default theme `auto`, which will automatically switch between `gitea` (light) and `arc-green` (dark) themes depending on the user's operating system settings. Closes: #8183
* Fix tooltips and issue dependency styles (#13458)silverwind2020-11-101-1/+1
| | | | | | | | | - Convert all tooltips to JS-based ones, fixing overflow issues - Restyle issue dependencies/dependants - Move popup styles to base style - CSS Helper tweaks - Unify pseudo element selectors and lint for it Fixes: https://github.com/go-gitea/gitea/issues/13400
* File header tweaks, add CSS helpers (#12635)silverwind2020-09-081-0/+1
| | | | | | | | | - replace two instances of fontawesome with octicons - add new "class" optional argument to "svg" helper - add many new CSS helpers and move their import to the end for increaseed precedence Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Reindent Less to 2-space (#12602)silverwind2020-08-251-1/+1
| | | Reindent and unify codebase to 2-space indentation.
* Render the git graph on the server (#12333)zeripath2020-08-061-3/+0
| | | | | | | | | | | | | Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation. * This implementation provides a 16 limited color selection * The uniqued color numbers are also provided * And there is also a monochrome version *In addition is a hover highlight that allows users to highlight commits on the same flow. Closes #12209 Signed-off-by: Andrew Thornton art27@cantab.net Co-authored-by: silverwind <me@silverwind.io>
* Enable stylelint's shorthand-property-no-redundant-values (#11436)silverwind2020-05-201-0/+1
| | | | | Enabled the rule and --fix'ed issues. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Disallow leading zeroes in Less (#10407)silverwind2020-02-231-0/+1
|
* Reorganize frontend files and tooling (#10168)silverwind2020-02-071-0/+4
| | | | | | | | | | | | - move "vendor" files to js/vendor and less/vendor - move swagger to js/standalone (meant for standalone pages) - move gitgraph to features and streamline its loading - add linting configs to webpack dependencies in make - set ignored files for eslint/stylelint directly in their configs Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* replace lesshint with stylelint (#7305)silverwind2019-06-271-0/+11
New CSS linter which is much more powerfull than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors. More importantly, the linter will exit with code 1 on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.