Skip to content

Refactor SCSS - #158

Merged
gonX merged 6 commits into
OpenTabletDriver:mainfrom
gonX:refactor-scss
Mar 11, 2024
Merged

gonX merged 6 commits into
OpenTabletDriver:mainfrom
gonX:refactor-scss

Conversation

@gonX

@gonX gonX commented Jan 27, 2024

Copy link
Copy Markdown
Member

Darkly is still a predominantly dark-theme skin, but has small variations between dark and light mode.

A lot of color and pixel-specific settings have been removed as the stock theme is actually surprisingly close what we want.
Additionally, having these was hindering correct light/dark mode display.
Removing these also allows us to be more flexible with which Bootswatch themes we can use.

Many definitions have been moved around to better fit the nesting of SCSS, reducing clutter and
increasing readability.

Supersedes #157
Supersedes #154
Fixes #33
Fixes #151

@gonX

This comment was marked as outdated.

@gonX gonX added enhancement New feature or request wiki Improvements or additions to the wiki styling Affects CSS or layouts plugin Affects an internal Jekyll plugin and removed wiki Improvements or additions to the wiki labels Jan 27, 2024
gonX added 4 commits March 11, 2024 08:35
This will help keeping the styleheets updated, and allows us some flexibility in customizing SCSS further
This should help content to render faster for the user
Darkly is still a predominantly dark-theme skin, but has small variations between dark and light mode.

A lot of color and pixel-specific settings have been removed as the stock theme is actually surprisingly close what we want.
Additionally, having these was hindering correct light/dark mode display.
Removing these also allows us to be more flexible with which Bootswatch themes we can use.

Many definitions have been moved around to better fit the nesting of SCSS, reducing clutter and
increasing readability.

Supersedes OpenTabletDriver#154
Fixes OpenTabletDriver#33
Fixes OpenTabletDriver#151
gonX added 2 commits March 11, 2024 08:38
Otherwise we lose some of the styling we had previously
@gonX

gonX commented Mar 11, 2024

Copy link
Copy Markdown
Member Author

Fixed table backgrounds, gonna look into the other stuff now and then merge once the styling looks (mostly) similar

@gonX

gonX commented Mar 11, 2024

Copy link
Copy Markdown
Member Author

New images! New on left / old on right:

Linux FAQ

image

Tablets page

Looks basically identical, so no image attached

Plugins

Minor color difference in saturated colors

image

Windows Install Guide

image

Linux FAQ mobile view

image

I personally think the sizing changes are fine and can be worked with down the line if we end up not liking them. For now, the award is that we have less custom (S)CSS to manage.

@gonX
gonX marked this pull request as ready for review March 11, 2024 08:11
@gonX
gonX merged commit 5751bf7 into OpenTabletDriver:main Mar 11, 2024
@gonX
gonX deleted the refactor-scss branch March 11, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request plugin Affects an internal Jekyll plugin styling Affects CSS or layouts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wiki Table of Contents has wrong h3 indices Auto dark/light mode

1 participant