New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @media queries support #893
Comments
@DaveDavenport ah my bad I didn't copy/paste the whole text from vim :). If you need more informations on that feature request let me know. |
Interesting use-case. Can see the use of this. Not sure how feasible this is in the current architecture, will need to investigate. |
Initial implementation on separate branch |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This feature is to discuss about the possibility of adding CSS Media Queries support in Rasi Theming. Feel free to suggest, critic and expose other use cases you can think about. I'll update the use cases section accordingly.
Version
1.5.1
Configuration
https://gist.github.com/dannycolin/fe02588d5bf65bbade2573a3a439ab31
Launch Command
rofi -show drun
Steps to reproduce
~/.config/rofi/themes/
What behavior you see
At the moment, we can't change the theme appearance based on the screen resolution. I got a syntax error since it's not yet implemented.
What behavior you expect to see
I would expect the possibility to change theme depending on
screen resolutiona media query (see the list below) based on the CSS Media Queries syntax.Media queries
prefers-color-scheme
Change to dark/light theme based on OS and/or user config settings
{min, max}-width, {min, max}-height, portrait
Change CSS according to screen size and orientation
mode: mode-name
Give the ability to apply different CSS rules depending on the active mode
The text was updated successfully, but these errors were encountered: