wip
This commit is contained in:
		| @@ -56,9 +56,7 @@ export default Vue.extend({ | ||||
| </script> | ||||
|  | ||||
| <style lang="stylus" scoped> | ||||
|  | ||||
|  | ||||
| root(isDark) | ||||
| .ui-switch | ||||
| 	display flex | ||||
| 	margin 32px 0 | ||||
| 	cursor pointer | ||||
| @@ -99,7 +97,7 @@ root(isDark) | ||||
| 		margin 3px 0 0 0 | ||||
| 		width 34px | ||||
| 		height 14px | ||||
| 		background isDark ? rgba(#fff, 0.15) : rgba(#000, 0.25) | ||||
| 		background var(--switchTrack) | ||||
| 		outline none | ||||
| 		border-radius 14px | ||||
| 		transition inherit | ||||
| @@ -125,18 +123,11 @@ root(isDark) | ||||
| 		> span | ||||
| 			display block | ||||
| 			line-height 20px | ||||
| 			color isDark ? #c4ccd2 : rgba(#000, 0.75) | ||||
| 			color currentColor | ||||
| 			transition inherit | ||||
|  | ||||
| 		> p | ||||
| 			margin 0 | ||||
| 			//font-size 90% | ||||
| 			color isDark ? #78858e : #9daab3 | ||||
|  | ||||
| .ui-switch[data-darkmode] | ||||
| 	root(true) | ||||
|  | ||||
| .ui-switch:not([data-darkmode]) | ||||
| 	root(false) | ||||
| 			opacity 0.7 | ||||
|  | ||||
| </style> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo