-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated theming mechanics with oklch colors and reworked css pr…
…operties (#662) * let's begin * ui-size -> uc-size and other changes in common.css * common.css done * ActivityHeader done * TEMPORARY add Inter to font-family * FileItem done * almost * modal * ProgressBar * CloudImageEditorActivity * ProgressBarCommon * UploadList * SourceBtn * DropArea intermediate * DropArea * Copyright * CameraSource * Color * ConfirmationDialog * EditableCanvas * ExternalSource * Icon * Range * Select * SimpleBtn intermediate * Tabs * UploadList error colors * UrlSource * Video * cleanup * increase dialog corner radius * remove --ui-size * minimal intermediate * fix add-more icon * fix copyright in inline * added --uc-preview-size, minimal intermediate * fix transparency issues in minimal * minimal done * minor changes * Copyright: fix more transparency issues * separate variables for simplebtn * simplify SimpleBtn * prepare button to switch to lr-basic * intermediate commit * slider recolored * intermediate commit * keep colors together * dark theme * controls coloring done * color the crop guides * minor * fix operation control active state * filter-control icon coloring * rm some hardcode * color errors * rm old variables from theme * dark mode with media query * demo background with theme media query * cleanup CloudImageEditor's common.css * editor icons update * edit icon is a pencil now * StartFrom: hide DropArea on phones * make primary colors derive from one value * use system-ui as a default font-family * make chroma and hue uniform across grays * stop forcing `lr` prefix * make theme forceable with classes * rm rules from stylelintrc.cjs * add rgb fallback * remove dakrmode css custom property * prevent link styles external override * fix typo * remove unused css config properties * remove editor host selectors * remove unnecessary styles from inline * do not apply ltr direction style * remove unnecessary styles * fix cloud image editor solution styles * fix(cloud-image-editor): supress wheel passive handler warning * fix editor icons size styles * fix editor initial flashing * fix editor demo page * remove unused components * update icons sprite * rgb fallback * Styling selectors via attrs * Rename custom property * Hide close button for inline mode * Fix not-image icon color * Refactor CloudImageEditorSolution solution * Add cursor pointer to the copyright link * Fix theme colors specificity * Fix cloud image editor solution styles * Add some comments * Simplify uc-dark/light selectors * Move all the theme variables to the :root scope * independent vars for simple-btn, rgb fallback fix * darker color for dark demos * Fix modal content width * Move theme variables back to lr-wgt-common scope * desaturated all grays * brighten simple-btn * fix destructive-dark * fix potential color notation problems * detach simplebtn font values * another syntax mistake fixed * rm comments in fallback * dark demo background again * Better social sources theming * rm uc-light from raw-regular demo * social sources button title `Done` * remove unneeded icons * svg sprite rebuild * replaced image in readme * rm theme readme * rm fullscreen icons * fix error line height * Restore edit-file icon * Rebuild sprites * Add `--uc-line-height` css property * Update thumb generation observer options to fix inline mode * Specifiy file item height, add some optimizations to rendering, specify transition properties * Fix drop-area icon transition --------- Co-authored-by: nd0ut <[email protected]>
- Loading branch information
1 parent
18aac85
commit ee90e66
Showing
106 changed files
with
1,078 additions
and
3,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,14 @@ | ||
lr-activity-header { | ||
display: flex; | ||
gap: var(--gap-mid); | ||
justify-content: space-between; | ||
padding: var(--gap-mid); | ||
color: var(--clr-txt); | ||
gap: var(--uc-padding); | ||
padding: var(--uc-padding); | ||
color: var(--uc-foreground); | ||
font-weight: 500; | ||
font-size: 1em; | ||
line-height: var(--ui-size); | ||
} | ||
|
||
lr-activity-header lr-icon { | ||
height: var(--ui-size); | ||
} | ||
|
||
lr-activity-header > * { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
lr-activity-header button { | ||
display: inline-flex; | ||
align-items: center; | ||
justify-content: center; | ||
color: var(--clr-txt-mid); | ||
} | ||
|
||
lr-activity-header button:hover { | ||
background-color: var(--clr-background); | ||
} | ||
|
||
lr-activity-header button:active { | ||
background-color: var(--clr-background-dark); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.