fedibird-fe/app/javascript/styles
Shin Kojima e7c0d87d98 Fix embedded SVG fill attribute (#4086)
* Fix embedded SVG fill attribute

SCSS darken/lighten functions may not return a color value, but a color
name like "white".  See following example:

https://www.sassmeister.com/gist/c41da93b87d536890ddf30a1f42e7816

This patch will normalize $color argument to FFFFFF style.

I also changed the function name from "url-friendly-colour" to
"hex-color", Because...

1. The name "url-friendly" is not meaningful enough to describe what it
   does.

2. It is familier to me using "color" rather than "colour"

    kojima:kojiMac mastodon[master]$ git grep -l colour
    app/javascript/styles/boost.scss
    spec/fixtures/files/attachment.jpg

    kojima:kojiMac mastodon[master]$ git grep -l color
    .rspec
    .scss-lint.yml
    Gemfile.lock
    app/javascript/mastodon/features/status/components/action_bar.js
    app/javascript/styles/about.scss
    app/javascript/styles/accounts.scss
    app/javascript/styles/admin.scss
    app/javascript/styles/basics.scss
    app/javascript/styles/boost.scss
    app/javascript/styles/compact_header.scss
    app/javascript/styles/components.scss
    app/javascript/styles/containers.scss
    app/javascript/styles/footer.scss
    app/javascript/styles/forms.scss
    app/javascript/styles/landing_strip.scss
    app/javascript/styles/reset.scss
    app/javascript/styles/stream_entries.scss
    app/javascript/styles/tables.scss
    app/javascript/styles/variables.scss
    app/views/admin/subscriptions/_subscription.html.haml
    app/views/layouts/application.html.haml
    app/views/layouts/error.html.haml
    app/views/manifests/show.json.rabl
    bin/webpack-dev-server
    config/initializers/httplog.rb
    public/500.html
    public/emoji/1f1e6-1f1e8.svg
    public/emoji/1f1ec-1f1f8.svg
    public/emoji/1f1f3-1f1ee.svg
    public/emoji/1f1fb-1f1ec.svg
    spec/fixtures/requests/idn.txt
    yarn.lock

* Add semicolon
2017-07-06 15:27:02 +02:00
..
fonts Fix local fonts and change font-face values (#2877) 2017-05-07 15:23:06 +02:00
_mixins.scss Show boosted user's avatar (#2518) 2017-05-03 11:43:37 +02:00
about.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
accounts.scss Add missing background center on public profile headers (#3340) 2017-05-27 00:54:00 +02:00
admin.scss Fix #3910 - Require OTP authentication to disable 2FA (#3935) 2017-06-25 23:51:46 +02:00
application.scss Show boosted user's avatar (#2518) 2017-05-03 11:43:37 +02:00
basics.scss Replace onboarding elephant with friendlier graphic, shorter animation (#3337) 2017-05-27 00:53:25 +02:00
boost.scss Fix embedded SVG fill attribute (#4086) 2017-07-06 15:27:02 +02:00
compact_header.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
components.scss Fix height issue in report modal 2017-07-01 14:50:10 +02:00
containers.scss Fix style regressions (#3062) 2017-05-15 01:23:58 +02:00
footer.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
forms.scss Fix #3910 - Require OTP authentication to disable 2FA (#3935) 2017-06-25 23:51:46 +02:00
landing_strip.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
lists.scss Fix #3910 - Require OTP authentication to disable 2FA (#3935) 2017-06-25 23:51:46 +02:00
reset.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
rtl.scss Fix #3658 - Update RTL styles (#3669) 2017-06-09 19:46:25 +02:00
stream_entries.scss Improve scss color variables (#2912) 2017-05-08 15:57:49 +02:00
tables.scss Add overview of active sessions (#3929) 2017-06-25 16:54:30 +02:00
variables.scss Allow SCSS variables to be overridden (#2987) 2017-05-12 19:22:50 +02:00