Comments (9)
Awesome, thanks very much for doing that :)
from listed.
Hi @Lissy93 !
Ohhh yes! You're right, I searched for #
in the code and forgot about the places that use $
, thank you for the heads up! I'll fix that ASAP
from listed.
Hi @Lissy93! Thanks for taking the time to report this. I'll forward this to one of our devs who is currently working on Listed.
from listed.
Thank you :)
I'd be happy to help out with a PR if you'd like
from listed.
Hi @Lissy93 ! How are you?
I just created a PR so you don't have to worry about that
Thank you for reporting this!
Have a nice day
from listed.
That was quick- thank you very much
It might be good in the future to have all components using CSS variables, so that users can easily theme their blogs?
from listed.
Hi @Lissy93 !
From what I can see, almost every component that has color uses CSS variables (I think there are only two places that use hardcoded colors, I will change that ASAP).
You can theme your blog with custom CSS and you can change the blog layout on Settings -> Appearance
Let me know if there's anything else I can help you with!
from listed.
From what I can see, almost every component that has color uses CSS variables (I think there are only two places that use hardcoded colors, I will change that ASAP).
Hi @daianaszwimer thanks for you're reply
#author-profile
background inShow.scss
.footer--blog-page
background inFooter.scss
.page-header__container--post
background inHeaderContainer.scss
#single-post-footer
background inShow.scss
.callout
background inapplication.scss
.scroll-to-top__container
and.button.scroll-to-top__button
background inScrollToTopButton.scss
This is because, in these instances the app is using SASS/ SCSS variables ($color
) for colors (as opposed to CSS var(--color)
), and SCSS is compiled at build time, which means the variables cannot be modified by the user in the production application. e.g. take a look at the gradient background for .button--primary
in application.scss
- it has two colors: the second is a CSS variable (and it is easily modifiable by the user), but the first value is a SASS variable (so appears as a hex code in the built app)
So for the user to apply custom colors, they must target elements individually by their selectors, and override the existing styles. Not the end of the world at all, but it makes things a little harder for the user, and may mean that any changes in the markup or class names could break the users theme.
from listed.
Hi @Lissy93 !
Here's the PR with almost all of the missing variables. It will soon be deployed to production!
#164
Thank you!
from listed.
Related Issues (20)
- [Help Wanted] [Listed] Custom CSS for individual posts? HOT 4
- Og tags for LinkedIn HOT 2
- [Listed.to] Reference to "Extended" plan in Custom domain settings HOT 2
- [Listed.to] Can't see caret on <input>s when dark mode is enabled HOT 1
- Support SSL certificate with Subject Alternative Names HOT 1
- Listed.to session cookie doesn't have Secure flag set HOT 1
- Double x-frame-options header on Listed.to
- Listed.to server supports TLS 1.0 and 1.1
- listed.to homepage not update HOT 3
- Same-document hyperlinks support HOT 2
- Stripping out forms
- Secret passed as a param risks MITM attack HOT 3
- Request for GFM checklist suport
- Scroll position kept between main blog page and articles
- fenced code block colors difficult to see in dark mode
- Problem with Verify Subscription HOT 1
- Allow usage from self-hosted Standard Notes instances
- Disable email subscription doesn't prevent subscriptions HOT 1
- Custom css not working HOT 1
- Rust code block comment syntax is not highlited properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from listed.