Comments (7)
Exactly, that's why enforcing default
should prevent the non-privileged user from switching themes manually while preserving the auto-adjusting functionality based on browser / OS settings.
At least that's what I expected.
from server.
from server.
Ah, we should just remove default
from the example in config.sample.php.
Default is not a valid theme, enforcing it makes zero sense :)
from server.
Ah, we should just remove
default
from the example in config.sample.php. Default is not a valid theme, enforcing it makes zero sense :) <
Currently it does make sense. It is the only way to force browser based choice of theme. for me, that makes sense, as I am using a custom theme, that is designed to work in dark and light mode.
If I force either dark or light, it will overwrite the theme completely.
If I dont set any value, the users will be able to change the theme.
from server.
custom theme
as within the themes
directory of your Nextcloud root?
from server.
custom theme
as within thethemes
directory of your Nextcloud root?
<
Correct. It used to be that you could just write your theme name "my_theme" directly in "enforce_theme" to apply the theme, and disable user theming. But as always with nextcloud, admin control is slowly getting deprecated.. Now you can only use the build-in themes: dark, dark-highcontrast, default, light, light-highcontrast, opendyslexic. Where default is the current theme.
from server.
@pandusen yeah, the custom theming feature you're using is slowly getting deprecated for a few years now.
I would no rely on it on the long run, sorry :)
from server.
Related Issues (20)
- Detect changes to files (using custom hooks) HOT 2
- Array to string conversion at /var/www/nextcloud/apps/dav/lib/CalDAV/Activity/Backend.php#561 HOT 2
- CPU Utilization jumped from 1% to 3-4% on average with 28.0.6. HOT 2
- [Bug]: new name of renamed file only shown after page reload
- [Bug]: occ admin-delegation:add allows adding the same delegation multiple times HOT 2
- Please add JSON output to admin-delegation:show HOT 1
- Enable WebP preview generation without Imaginary
- [Bug]: Notifications should have an "x" button to close them
- [Bug]: Server does not utilize system CA Certificates through specified HTTP Proxy HOT 3
- [Bug]: Video preview causes crash
- [FeatureRequest] Add an option to set oAuth2 applications as trusted, for own external apps which uses oAuth2 sessions
- [Bug]: File comments broken HOT 2
- i18n: Need context for placeholders HOT 2
- [Bug]: No UserChangedEvent emitted for LDAP users that are disable via markRemnantsAsDisabled config
- [Bug]: App permission for groups - broken group list HOT 2
- [Bug]: Missing breadcrumb ellipsis -> Grid view button pushed out of view
- [Bug]: Used memory grew by more than 50 MB when executing job OCA\DAV\BackgroundJob\RefreshWebcalJob
- [Bug]: Delayed visual feedback when uploading a large folder via drag and drop HOT 1
- [Bug]: "Cannot delete the video part of a live photo" error message while deleting .mov file on server HOT 3
- [Bug]: No visual feedback for move operations
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 server.